DocsAPI referenceExecutions

Executions

Run history for workflows and deliveries.

Credentials

Credentials stay in this browser tab (sessionStorage) and are sent only to https://api.indexone.io. They are cleared when the tab closes.

Execution history for workflows and deliveries. One execution row per operation group per fire.

List a delivery's executions

GET
/deliveries/{id}/executions

Returns the delivery's entire execution history, from the same {stage}-executions table as workflow executions and with the same row shape — deliveries and workflows are indistinguishable to the coordinator. Here {id} is the DELIVERY id. This is how you confirm a send actually happened: a completed state means the send operation returned without error.

x-api-key
Authorization: id token

Path parameters

FieldTypeDescription
idrequiredstring
Delivery id.
curl -X GET "https://api.indexone.io/deliveries/dlv_c8KtQ1rPxZ92/executions" \
-H "x-api-key: YOUR_API_KEY" \
-H "Authorization: YOUR_ID_TOKEN"

Try it

**Delivery** id.

https://api.indexone.io/deliveries/dlv_c8KtQ1rPxZ92/executions

Example response

[
{
"index_id": "dlv_c8KtQ1rPxZ92",
"execution_id": "exn_dQ4vTnRy73Lc",
"state": "completed",
"updated_at": "2026-07-18 20:06:41",
"request_context": {
"registered_time": "2026-07-18 20:05:02",
"execution_time": "2026-07-18 20:06:30",
"execution_mode": "live"
}
}
]

Errors

FieldTypeDescription
400Error
id required.
401Error
The API key is missing or invalid (invalid_api_key) or the id token is missing, invalid or expired (unauthenticated).
403Error
Caller's teams do not own this delivery.
429object
API key usage-plan rate limit exceeded.

List a workflow's executions

GET
/workflows/{workflow_id}/executions

Returns the workflow's entire execution history from the {stage}-executions table — there is no limit or cursor parameter, so for a long-running live index this response can be large. Each row is one execution group: its state, the request_context timings (registered_time, execution_time, execution_mode), next_execution_time, and last_error when it failed. Note that per-group durations are not stored — they are inferred by comparing a group's execution_time to its successor's registered_time.

x-api-key
Authorization: id token

Path parameters

FieldTypeDescription
workflow_idrequiredstring
Workflow id (here it really is the workflow, not the team).
curl -X GET "https://api.indexone.io/workflows/idx_bh7fgXWJMaa3/executions" \
-H "x-api-key: YOUR_API_KEY" \
-H "Authorization: YOUR_ID_TOKEN"

Try it

Workflow id (here it really is the workflow, not the team).

https://api.indexone.io/workflows/idx_bh7fgXWJMaa3/executions

Example response

[
{
"index_id": "idx_bh7fgXWJMaa3",
"execution_id": "exn_bhE9JoGPHwAi",
"execution_group_id": "grp_2",
"state": "completed",
"updated_at": "2026-07-18 20:04:12",
"next_execution_time": "2026-07-21 20:00:00",
"request_context": {
"registered_time": "2026-07-18 20:00:03",
"execution_time": "2026-07-18 20:00:15",
"execution_mode": "live"
}
}
]

Errors

FieldTypeDescription
400Error
id required.
401Error
The API key is missing or invalid (invalid_api_key) or the id token is missing, invalid or expired (unauthenticated).
403Error
Caller's teams do not own this workflow.
429object
API key usage-plan rate limit exceeded.

Get one execution

GET
/workflows/{workflow_id}/executions/{execution_id}

Returns a single execution row in full, including the resolved operations DAG as it was executed and each operation's output state. This is the endpoint to use when debugging a failed run — last_error on the list endpoint tells you that it broke, this one tells you where. The execution is returned wrapped: {"execution": {...}}.

x-api-key
Authorization: id token

Path parameters

FieldTypeDescription
workflow_idrequiredstring
Workflow id.
execution_idrequiredstring
Execution id from the list endpoint.
curl -X GET "https://api.indexone.io/workflows/idx_bh7fgXWJMaa3/executions/exn_bhE9JoGPHwAi" \
-H "x-api-key: YOUR_API_KEY" \
-H "Authorization: YOUR_ID_TOKEN"

Try it

Workflow id.

Execution id from the list endpoint.

https://api.indexone.io/workflows/idx_bh7fgXWJMaa3/executions/exn_bhE9JoGPHwAi

Example response

{
"execution": {
"index_id": "idx_bh7fgXWJMaa3",
"execution_id": "exn_bhE9JoGPHwAi",
"execution_group_id": "grp_2",
"state": "completed",
"updated_at": "2026-07-18 20:04:12",
"request_context": {
"registered_time": "2026-07-18 20:00:03",
"execution_time": "2026-07-18 20:00:15",
"execution_mode": "live"
},
"operations": [
{
"id": "trigger_1",
"operation": "trigger",
"state": {
"error": false,
"suspended": false
}
},
{
"id": "eod_1",
"operation": "i1_core_eod",
"state": {
"error": false,
"suspended": false
}
}
]
}
}

Errors

FieldTypeDescription
400Error
workflow id and execution_id required.
401Error
The API key is missing or invalid (invalid_api_key) or the id token is missing, invalid or expired (unauthenticated).
403Error
Caller's teams do not own this workflow.
404Error
No execution with that id under this workflow.
429object
API key usage-plan rate limit exceeded.