Skip to content

Agents API

Agents are AI-powered automations that execute playbooks against your contacts. The Agents API lets you create, configure, trigger, and monitor them.

GET /v1/agents

Required scope: agents:read

ParameterTypeDefaultDescription
enabledbooleanFilter by enabled/disabled status.
playbook_templatestringFilter by playbook template.
limitnumber20Results per page (1–100).
offsetnumber0Pagination offset.
{
"status": "success",
"agents": [ /* agent objects */ ],
"total": 5,
"limit": 20,
"offset": 0
}

POST /v1/agents

Required scope: agents:write

FieldTypeRequiredDescription
namestringyesAgent display name.
descriptionstringnoHuman-readable description.
playbook_templatestringnoPredefined playbook template.
capabilitiesstring[]noList of capabilities.
identity_idstringnoIdentity used for outreach.
playbookobjectnoCustom playbook configuration.
monitoringobjectnoMonitoring configuration.
llm_configobjectnoLLM provider/model configuration.
enabledbooleannoWhether the agent is active.
{
"status": "success",
"agent": { /* agent object */ }
}

GET /v1/agents/:id

Required scope: agents:read


PATCH /v1/agents/:id

Required scope: agents:write

Send only the fields you want to update.


DELETE /v1/agents/:id

Required scope: agents:write

Deleting an agent also removes all of its associated runs.


GET /v1/agents/:id/runs

Required scope: agents:read

ParameterTypeDefaultDescription
limitnumber20Results per page (1–100).
offsetnumber0Pagination offset.
statusstringFilter by run status.

GET /v1/agents/runs/:runId

Required scope: agents:read

Returns the run enriched with contact details.


POST /v1/agents/:id/trigger

Required scope: agents:trigger

FieldTypeRequiredDescription
contact_idsstring[]noSpecific contacts to target. If omitted, the agent uses its default targeting.
{
"status": "success",
"job_id": "job_xyz789"
}

POST /v1/agents/runs/:runId/contacts/:contactId/actions/:actionIndex/approve

Required scope: agents:approve


POST /v1/agents/runs/:runId/contacts/:contactId/actions/:actionIndex/reject

Required scope: agents:approve