Executions
An execution is the saved record of one run: an AI agent working through a task, or a workflow running from its trigger to its last node. Executions answer the two questions you have after anything automated happens: did it run, and did it work.
You find them under Executions in the Activity group of the Console sidebar. The page itself is titled Runs because it covers agents and workflows in one list.
Today, executions are read and managed in the Console by signed-in members and are not available through API keys. For runs you drive from your own code, log the x-syntic-request-id header of each API response instead. An API-key read path is being built; its design is in Executions API below.
What an execution records
| Field | What it holds |
|---|---|
| State | Where the run is now, or how it ended. See States. |
| Workflow | The workflow or agent flow that ran. For a workflow run this is the workflow’s name. |
| Session | The session the run belongs to, when it was triggered by a conversation. |
| Started | When the run began. |
| Duration | How long it took, once it has ended. |
| Input | What the run was given. For a workflow run this includes the trigger type (for example manual) and the trigger payload. |
| Output | What the run produced, if anything. |
| Error | The error message, if the run failed. |
| Cost | For workflow runs, the model cost of the run is kept with the record. |
Traces
Every execution carries an ordered list of traces, one per step. A trace records:
| Trace field | Meaning |
|---|---|
| Step number | Position in the run, starting at 0. |
| Step type | What kind of step it was, such as a model call, a tool call or an event. |
| Label | A short human-readable name for the step. |
| Node | For workflow runs, the node in the workflow graph that produced the step. |
| Input / Output | What went into the step and what came out. |
| Error | Why the step failed, if it did. |
| Started / Ended / Duration | Timing for that one step. |
Read the traces top to bottom to follow the agent’s reasoning: which tool it chose, the arguments it sent, what came back and what it decided next. When a run fails, the last trace with an error usually tells you why.
States
The State filter on the Runs page offers these values:
| State | Meaning |
|---|---|
| Pending | Queued and not started yet. |
| Running | In progress now. Only running rows can be terminated. |
| Completed | Ended normally. |
| Failed | Ended with an error. Open it and read the Error tab and the last traces. |
| Suspended | Paused part-way and not currently running. |
| Cancelled | Stopped before it finished. |
Runs recorded by the agent runtime use a finer set of end states, which you may see on AI Agent runs:
| Value | Meaning |
|---|---|
in_progress | Still running. |
finished | Completed normally. |
error | Stopped because of an error. |
timeout | Ran out of time. |
stopped | Stopped before completing. |
terminated | Ended by an administrator. |
Find a run
Choose the run type
At the top of the page pick Workflow runs (the default) or AI Agent runs.
Narrow the list
Use any of the filters, then select Apply:
- State
- Start date and End date
- Workflow: matches part of the workflow name
- Session ID: shown for AI Agent runs only; paste a session ID to see every run a conversation triggered
Reset clears them all. The applied filters appear as chips above the results.
Open a run
Results are listed newest first, 50 at a time; Load more fetches the next page. Select a row to open its detail panel on the right with Traces, Input, Output and, when present, Error.
Runs are scoped to the project you have selected. Switch project to see another project’s runs.
Stop or delete runs
These actions need the administrator or owner role, and none of them can be undone.
| Action | Where | Effect |
|---|---|---|
| Terminate | Row actions (hover a running row) | Stops the run. An agent run ends as terminated. |
| Delete | Row actions (hover any row) | Permanently removes the run and all its traces. |
| Delete matching | Above the list, for AI Agent runs | Permanently removes every run that matches the applied filters in the current project, not only the page you can see. The confirmation shows how many runs will go. |
Delete matching is not offered for workflow runs. Delete those one at a time from the row actions.
If a bulk delete reports that nothing was deleted, your role in the organization is probably not high enough.
Debugging a failed run
- Start from the end. Open the Error tab, then the last few traces. Most failures are a tool that returned an error or a model step that ran out of room.
- Check the input. A surprising answer often comes from a surprising input. Compare the Input tab with what you expected the channel or trigger to send.
- Look at the tool calls. Check the arguments the agent sent. Wrong arguments usually mean the tool’s description or the agent’s instructions are unclear.
- Compare with a good run. Filter by the same workflow or session and open a run that worked.
- Watch it live. Reproduce the problem with the agent’s Live activity panel open (see Sessions) to see each step as it happens.
- Change one thing at a time. After editing instructions, skills or tools, run the same input again and compare the traces.
Executions API
The Executions API gives API keys read access to the same run records the Console shows: AI agent runs with their traces, inputs, outputs, errors and cost. Use it to pull run history into your own monitoring, alert on failures, or attach a run’s traces to a support ticket automatically.
It covers AI agent runs. Workflow runs stay in the Console for now.
Endpoints
| Method | Path | Purpose |
|---|---|---|
GET | /v1/agents/executions | List runs, newest first, with filters. |
GET | /v1/agents/executions/{execution_id} | One run, including its traces. |
GET | /v1/agents/executions/{execution_id}/traces | Traces only, paginated, for very long runs. |
POST | /v1/agents/executions/{execution_id}/terminate | Stop a run that is in_progress. |
DELETE | /v1/agents/executions/{execution_id} | Delete a run and its traces. |
Base URL https://app.syntic.ai/v1 (the paths above already include /v1). Authenticate with a private key and send syntic-beta: agents-2026-11-01 while in preview. Reads work with any key in the workspace. Terminate and delete follow the Console rule: the key’s creator must be an Administrator or Owner, otherwise 403 role_required.
List runs
GET /v1/agents/executions
| Query parameter | Type | Notes |
|---|---|---|
state | string | in_progress, finished, error, timeout, stopped or terminated. Repeat the parameter for several. |
agent_id | string | Runs of one agent. |
session_id | string | Every run one session triggered. |
started_after, started_before | RFC 3339 time | Time window on the run’s start. |
limit | integer | 1 to 100, default 25. |
after_id, before_id | string | Cursor pagination. |
The list returns run summaries without traces:
{
"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": true,
"first_id": "exec_01JC7N0Q8S2U4W6Y8A0C",
"last_id": "exec_01JC7MZ7R1T3V5X7Z9B1"
}Read one run
GET /v1/agents/executions/{execution_id} returns the summary fields plus input, output and traces. Each trace is one step:
| Field | Type | Meaning |
|---|---|---|
step | integer | Position in the run, from 0. |
step_type | string | model_call, tool_call, approval, memory or event. |
label | string | Short readable name, such as the tool name. |
input, output | object | What went into the step and what came out. Large values are cut at 32 KB with "truncated": true. |
error | string or null | Why the step failed. |
started_at, ended_at, duration_ms | Timing. | |
usage | object or null | Tokens and cost, for model_call steps. |
Runs with more than 200 traces return the first 200 and "traces_truncated": true; page through the rest with /traces?after_step=199.
# Every failed run in the last day
curl -sS -G https://app.syntic.ai/v1/agents/executions \
-H "Authorization: Bearer $SYNTIC_API_KEY" \
-H "syntic-beta: agents-2026-11-01" \
--data-urlencode "state=error" \
--data-urlencode "state=timeout" \
--data-urlencode "started_after=2026-11-04T10:00:00Z"Terminate and delete
POST /v1/agents/executions/{id}/terminateends a run inin_progresswith stateterminatedand returns the updated summary. On any other state:409 execution_not_running.DELETE /v1/agents/executions/{id}removes the run and its traces permanently and returns{"id": "...", "type": "agent_execution_deleted"}. Bulk deletion stays in the Console.
Both actions write an audit event with the key id as the actor.
Errors
Errors use the error envelope.
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request | invalid_filter | Unknown state value or a malformed time. |
| 403 | permission | role_required | Terminate or delete without Administrator or Owner. |
| 404 | not_found | execution_not_found | No such run in this workspace. |
| 409 | invalid_request | execution_not_running | Terminate on a run that has already ended. |
| 429 | rate_limit | rate_limited | Too many requests. |
Limits
| Limit | Value |
|---|---|
| Page size | Up to 100 runs |
| Traces returned inline | 200 per run |
Size of one trace’s input or output | 32 KB before truncation |
| Rate limit | 600 reads per minute per workspace |
Reading executions is free.
Build notes for the platform team
- This is the quick win from the roadmap: add an API-key auth path to the existing
agent-executionsfunction’slist,get,terminateanddeleteactions, scoped to the key’s workspace, and switch offset paging to cursors. - Map the Console’s workflow-run state names only in the Console; the API uses the agent-run states listed above.
Related
- Sessions: the conversations that trigger runs.
- Tools & skills: what an agent may do during a run, and approvals.
- Audit logs: who changed what in the organization.