Skip to main content
POST
Generate a capability document

Headers

x-anyreach-org
string | null

Organization ID for user PATs (pat_ prefix tokens)

Path Parameters

agent_id
string
required

Query Parameters

config_version
integer | null

The agent version to generate from. Defaults to the latest published version.

engine
string
default:one_opus

Generation mode: one_opus (the default) or question, which works capability by capability and suits a sparse configuration.

org_slug
string
default:""

Your organization's slug, used to link back to the agent in the notification email. Optional.

Response

Successful Response

agent_id
string
required
workflow_id
string
required
status
enum<string>
required
Available options:
pending,
running,
ready,
quality_failed,
failed,
ineligible