Start an Agent Run
Before running an agent, check its required parameters using
GET /agents/{group}/{slug}. See the Agent Reference for all available agents.Response (202 Accepted)
Request Body
| Field | Type | Required | Description |
|---|---|---|---|
params | object | Yes | Agent-specific parameters. See each agent’s reference page. |
Poll for Status
Jobs run asynchronously. Poll the status endpoint every 5–10 seconds until the status iscompleted or failed.
Response
Get Results
Once the job status iscompleted, fetch the data:
Response
Complete Example
A full bash script that runs an agent and waits for results:complete-flow.sh