API referenceAgents APIExecutionsList executions

List executions

⚠️
Preview — this feature is being built; the design below is the spec.
GET https://app.syntic.ai/v1/agents/executions

Return 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

HeaderRequiredValue
AuthorizationYesBearer <key>: a private inference key (sk_live_...). See Authentication.
syntic-betaYes, while in previewagents-2026-11-01. Without it the call fails with 400 beta_required. See Versioning.

Query parameters

ParameterTypeDefaultDescription
statestringin_progress, finished, error, timeout, stopped or terminated. Repeat for several.
agent_idstringRuns of one agent.
session_idstringRuns one session triggered.
started_afterRFC 3339 timeLower bound on start time.
started_beforeRFC 3339 timeUpper bound.
limitinteger251 to 100.
after_idstringNext page: the previous page’s last_id.
before_idstringPrevious 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:

StatustypecodeWhen
400invalid_request_errorbeta_requiredThe syntic-beta header is missing.
400invalid_request_errorinvalid_filterUnknown state or malformed time.
401authentication_errorinvalid_api_keyThe key is missing, unknown, revoked or expired.
429rate_limit_errorrate_limitedToo many requests; wait for Retry-After. See Rate-limit headers.
Was this page helpful?