<< All versions

Skill v1.0.0

currentAutomated scan100/100
dochia-dev/dochia-cli/dochia-list
──Details
PublishedOctober 22, 2026 at 11:30 PM
Content Hashsha256:f6e6ec6469504539...
Git SHA1c15888cf4db
──Files
Files (1 file, 3.2 KB)
SKILL.md3.2 KBactive
SKILL.md · 96 lines · 3.2 KB

version: "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

bash
# List all available playbooks
dochia list --playbooks
# List all playbooks in JSON format
dochia list --playbooks --json
# List all mutators
dochia list --mutators
# List all registered profiles
dochia list --profiles
# List supported OpenAPI formats
dochia list --formats
# List paths from an OpenAPI contract
dochia list --paths -c openapi.yml
# List details for a specific path
dochia list --paths -c openapi.yml --path /api/users
# List paths filtered by tag
dochia list --paths -c openapi.yml --tag users

Common Options

OptionDescription
-f, --playbooksList all registered playbooks
-m, --mutatorsList all registered mutators
--profilesList all registered profiles
--formatsList supported OpenAPI formats
-p, --pathsList paths from an OpenAPI contract
-c, --contractOpenAPI contract file (required for --paths)
--pathShow details for a specific path
--tagFilter paths by OpenAPI tag
-j, --jsonOutput 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:

bash
# List all paths to understand the resource hierarchy
dochia list --paths -c openapi.yml
# Inspect a specific path to see its query parameters, http headers, response codes, and methods
dochia 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

All versions