Skip to main content
POST
cURL

Authorizations

Authorization
string
header
required

API Key authentication for programmatic access. Include your API key in the Authorization header as: Bearer your_api_key_here

Body

application/json
files
object[]
required

The files to validate. Post one to check it on its own, or a whole directory to also catch cross-file issues. Include any SKILL.md files (under skillsPath) that agents reference, and any prompt .md files referenced by systemPrompt.file; a skill reference whose SKILL.md is not in the request is a warning, not a failure.

Minimum array length: 1
skillsPath
string

Directory holding standalone SKILL.md skill definitions (default "cotool/skills"). Must match your sync config's skills path so skill files in the request are discovered.

Minimum string length: 1

Response

Successful response

valid
boolean
required

True when every returned result validated with no errors.

fileCount
number
required

Number of validation result rows returned.

agentCount
number
required

Number of schema-valid, graph-clean agents found.

results
object[]
required