Agents
Last updated
Was this helpful?
Last updated
Was this helpful?
Was this helpful?
GET /v1/agents HTTP/1.1
Host: api.cuppa.ai
X-API-KEY: YOUR_API_KEY
Accept: */*
[
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"agent_type": "local_news",
"site_id": "123e4567-e89b-12d3-a456-426614174000",
"status": "active",
"schedule": "weekly",
"run_count": 1,
"last_run_at": "2026-02-15T14:26:58.125Z",
"next_run_at": "2026-02-15T14:26:58.125Z",
"created_at": "2026-02-15T14:26:58.125Z"
}
]GET /v1/agents/{id} HTTP/1.1
Host: api.cuppa.ai
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"name": "text",
"description": "text",
"agent_type": "local_news",
"site_id": "123e4567-e89b-12d3-a456-426614174000",
"status": "active",
"schedule": "weekly",
"run_count": 1,
"last_run_at": "2026-02-15T14:26:58.125Z",
"next_run_at": "2026-02-15T14:26:58.125Z",
"created_at": "2026-02-15T14:26:58.125Z",
"config": {},
"sources": [
{}
],
"latest_snapshot": {},
"latest_brief": {}
}POST /v1/agents/{id}/run HTTP/1.1
Host: api.cuppa.ai
X-API-KEY: YOUR_API_KEY
Accept: */*
{
"message": "text"
}