Start a run
Starts an agent on a task and returns the run while it initializes. Each successful request creates a separate run. The agent continues independently of your HTTP connection.
Supply an agent configuration and instructions with targets, vulnerabilityIds, or both. A base such as tcell uses that pre-built agent’s defaults; supplied configuration fields replace the corresponding exposed defaults. Vulnerability IDs are resolved within your organization. Target scope is checked before execution.
The SDK serializes the Agent object into agent and converts task vulnerabilities into vulnerabilityIds. The run retains the resolved configuration even if the registered agent changes later.
Authorizations
API key from your organization. Supply the value directly, without a Bearer prefix.
Body
An agent configuration. Supply a pre-built base, a model, or both. Omitted fields use the base configuration, or empty skills and guardrails with asset_map and human_tasks tools when no base is supplied. Supplied fields replace the corresponding values. A retrieved Agent can be passed directly; name and builtIn are response metadata and do not change execution.
- Option 1
- Option 2
- Option 1
- Option 2
Response
Created.
1creating, running, stopped, completed, failed - Option 1
- Option 2
Failure description when status is failed; otherwise null.