List executions
⚠️
Preview — this feature is being built; the design below is the spec.
GET https://app.syntic.ai/v1/agents/executionsReturn AI agent runs, newest first, as summaries without traces. Filter by state, agent, session or start time to feed monitoring and alerting.
For how this fits into a full workflow, see Executions.
Headers
| Header | Required | Value |
|---|---|---|
Authorization | Yes | Bearer <key>: a private inference key (sk_live_...). See Authentication. |
syntic-beta | Yes, while in preview | agents-2026-11-01. Without it the call fails with 400 beta_required. See Versioning. |
Query parameters
| Parameter | Type | Default | Description |
|---|---|---|---|
state | string | in_progress, finished, error, timeout, stopped or terminated. Repeat for several. | |
agent_id | string | Runs of one agent. | |
session_id | string | Runs one session triggered. | |
started_after | RFC 3339 time | Lower bound on start time. | |
started_before | RFC 3339 time | Upper bound. | |
limit | integer | 25 | 1 to 100. |
after_id | string | Next page: the previous page’s last_id. | |
before_id | string | Previous page. |
Response
200 OK, Content-Type: application/json
{
"data": [
{
"id": "exec_01JC7N0Q8S2U4W6Y8A0C",
"type": "agent_execution",
"agent_id": "agt_01JC4R8W6Q2N9X3T5V7Y",
"agent_name": "refund-desk",
"agent_version": 4,
"session_id": "sesn_01JC7M2K4P6R8T0V2X4Z",
"state": "error",
"started_at": "2026-11-05T10:00:01Z",
"ended_at": "2026-11-05T10:00:19Z",
"duration_ms": 18234,
"error": "Tool lookup_order returned an error: order not found",
"usage": {
"input_tokens": 9120,
"cached_input_tokens": 6400,
"output_tokens": 412,
"cost_usd": "0.0294"
},
"trace_count": 7
}
],
"has_more": false,
"first_id": "exec_01JC7N0Q8S2U4W6Y8A0C",
"last_id": "exec_01JC7N0Q8S2U4W6Y8A0C"
}Examples
curl -sS "https://app.syntic.ai/v1/agents/executions?state=error&started_after=2026-11-04T10%3A00%3A00Z" \
-H "Authorization: Bearer $SYNTIC_API_KEY" \
-H "syntic-beta: agents-2026-11-01"Errors
Errors use the error envelope and carry a request_id. Codes specific to this operation:
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request_error | beta_required | The syntic-beta header is missing. |
| 400 | invalid_request_error | invalid_filter | Unknown state or malformed time. |
| 401 | authentication_error | invalid_api_key | The key is missing, unknown, revoked or expired. |
| 429 | rate_limit_error | rate_limited | Too many requests; wait for Retry-After. See Rate-limit headers. |
Related
Was this page helpful?