Skill v1.0.0
currentAutomated scan100/100version: "1.0.0" name: dochia-list description: > List available Dochia resources including playbooks, mutators, OpenAPI paths, formats, and profiles. Use when the user wants to discover what test playbooks are available, inspect OpenAPI contract paths, see available mutators and formats, or explore what Dochia can test. Also use before running dochia test or dochia fuzz to help the user pick specific playbooks, paths, or methods. metadata: triggers: | list dochia playbooks what playbooks are available show API paths list mutators what can dochia test show available tests inspect openapi contract list endpoints examples: | dochia list --playbooks dochia list --playbooks --json dochia list --mutators dochia list --paths -c openapi.yml
Overview
dochia list displays available playbooks, mutators, OpenAPI paths, formats, profiles, and fuzzing strategies.
Basic Usage
# List all available playbooksdochia list --playbooks# List all playbooks in JSON formatdochia list --playbooks --json# List all mutatorsdochia list --mutators# List all registered profilesdochia list --profiles# List supported OpenAPI formatsdochia list --formats# List paths from an OpenAPI contractdochia list --paths -c openapi.yml# List details for a specific pathdochia list --paths -c openapi.yml --path /api/users# List paths filtered by tagdochia list --paths -c openapi.yml --tag users
Common Options
| Option | Description | |
|---|---|---|
-f, --playbooks | List all registered playbooks | |
-m, --mutators | List all registered mutators | |
--profiles | List all registered profiles | |
--formats | List supported OpenAPI formats | |
-p, --paths | List paths from an OpenAPI contract | |
-c, --contract | OpenAPI contract file (required for --paths) | |
--path | Show details for a specific path | |
--tag | Filter paths by OpenAPI tag | |
-j, --json | Output in JSON format |
Understanding Resource Dependencies
Use --paths to inspect the API structure before running tests. This helps identify resource dependencies that require a specific testing order:
# List all paths to understand the resource hierarchydochia list --paths -c openapi.yml# Inspect a specific path to see its query parameters, http headers, response codes, and methodsdochia list --paths -c openapi.yml --path /pet/{petId}
Look for patterns like:
POST /resource(creates) →GET/PUT/DELETE /resource/{id}(needs the created ID)POST /resource/{id}/subresource(needs parent resource ID first)
This is important because Dochia is stateless. When testing endpoints that require existing resource IDs, you should first create resources using the HappyPath playbook on creation endpoints, then supply the IDs via -R or --reference-data. See the dochia-test skill for the full stateful testing workflow.
Documentation
Full reference: https://docs.dochia.dev/cli/list