/api/v1/executions
const url = 'https://api.endless.zaia.app/api/v1/executions?pageNumber=1&pageSize=10';const options = {method: 'GET'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'https://api.endless.zaia.app/api/v1/executions?pageNumber=1&pageSize=10'Retrieves multiple executions.
Parameters
Seção intitulada “Parameters”Query Parameters
Seção intitulada “Query Parameters”The page number.
The page number.
The page size.
The page size.
A UUID v4 string that identifies an entity.
Responses
Seção intitulada “Responses”Retrieves all executions for the workspace.
object
A UUID v4 string that identifies an entity.
The total number of credits used by this execution.
object
The input data for this execution.
object
The output data for this execution.
object
The agent identifier.
The exact agent version identifier used by this execution.
The events that occurred during this agent execution.
object
The context usage snapshot recorded for a response breakpoint.
object
The structural character breakdown of the context.
object
The estimated conversation character count.
The estimated MCP definition character count.
The summarized conversation character count.
The system prompt character count.
The tool call character count.
The tool definition character count.
The tool result character count.
The tool result compaction summary.
object
The tool result character count after compaction.
The tool result character count before compaction.
The number of tool results compacted.
The number of tool results sliced as an overflow fallback.
The model context window limit in tokens.
Why the prepared runtime fell back to legacy behavior.
The input token count reported by the provider.
The model used for this response.
The output token reserve kept outside the input budget.
When the context usage snapshot was recorded.
The runtime that generated the response.
The tool search mode used by the prepared runtime.
The number of credits used by this event.
When this event ended.
The event identifier.
The label for this event.
The custom-provider LLM usages recorded for this event.
object
The logical LLM call category.
The input token count reported by the LLM provider.
The model key used for this LLM usage.
The output token count reported by the LLM provider.
The provider metadata associated with this LLM usage.
object
The provider ID associated with the LLM usage, when one exists.
The display name of the provider associated with the LLM usage.
The runtime that generated the LLM usage.
The output data for this event.
object
When this event started.
The status of the event.
The model key used during the iteration event.
The provider metadata associated with the iteration event.
object
The provider ID associated with the LLM usage, when one exists.
The display name of the provider associated with the LLM usage.
The event subtype represented by this payload.
object
The context usage snapshot recorded for a response breakpoint.
object
The structural character breakdown of the context.
object
The estimated conversation character count.
The estimated MCP definition character count.
The summarized conversation character count.
The system prompt character count.
The tool call character count.
The tool definition character count.
The tool result character count.
The tool result compaction summary.
object
The tool result character count after compaction.
The tool result character count before compaction.
The number of tool results compacted.
The number of tool results sliced as an overflow fallback.
The model context window limit in tokens.
Why the prepared runtime fell back to legacy behavior.
The input token count reported by the provider.
The model used for this response.
The output token reserve kept outside the input budget.
When the context usage snapshot was recorded.
The runtime that generated the response.
The tool search mode used by the prepared runtime.
The number of credits used by this event.
When this event ended.
The event identifier.
The label for this event.
The custom-provider LLM usages recorded for this event.
object
The logical LLM call category.
The input token count reported by the LLM provider.
The model key used for this LLM usage.
The output token count reported by the LLM provider.
The provider metadata associated with this LLM usage.
object
The provider ID associated with the LLM usage, when one exists.
The display name of the provider associated with the LLM usage.
The runtime that generated the LLM usage.
The output data for this event.
object
When this event started.
The status of the event.
The child execution identifier.
The type of tool called.
The event subtype represented by this payload.
object
The API key identifier.
The execution origin subtype represented by this payload.
object
The chat message identifier.
The execution identifier of the prior retry attempt.
The execution origin subtype represented by this payload.
object
The agent identifier.
The execution origin subtype represented by this payload.
object
The execution origin subtype represented by this payload.
The workflow node identifier.
object
The automation identifier.
The internal event identifier.
The internal event type.
The automation follow-up step index.
The execution origin subtype represented by this payload.
object
The source event type.
The external event identifier.
The source event provider.
The trigger identifier.
The execution origin subtype represented by this payload.
The context usage snapshots recorded for generated responses.
object
The structural character breakdown of the context.
object
The estimated conversation character count.
The estimated MCP definition character count.
The summarized conversation character count.
The system prompt character count.
The tool call character count.
The tool definition character count.
The tool result character count.
The tool result compaction summary.
object
The tool result character count after compaction.
The tool result character count before compaction.
The number of tool results compacted.
The number of tool results sliced as an overflow fallback.
The model context window limit in tokens.
Why the prepared runtime fell back to legacy behavior.
The input token count reported by the provider.
The model used for this response.
The output token reserve kept outside the input budget.
When the context usage snapshot was recorded.
The runtime that generated the response.
The tool search mode used by the prepared runtime.
The execution detail subtype represented by this payload.
object
The input data for this execution.
object
The output data for this execution.
object
The agent identifier.
The exact agent version identifier used by this execution.
The events that occurred during this squad execution.
object
The context usage snapshot recorded for a response breakpoint.
object
The structural character breakdown of the context.
object
The estimated conversation character count.
The estimated MCP definition character count.
The summarized conversation character count.
The system prompt character count.
The tool call character count.
The tool definition character count.
The tool result character count.
The tool result compaction summary.
object
The tool result character count after compaction.
The tool result character count before compaction.
The number of tool results compacted.
The number of tool results sliced as an overflow fallback.
The model context window limit in tokens.
Why the prepared runtime fell back to legacy behavior.
The input token count reported by the provider.
The model used for this response.
The output token reserve kept outside the input budget.
When the context usage snapshot was recorded.
The runtime that generated the response.
The tool search mode used by the prepared runtime.
The number of credits used by this event.
When this event ended.
The event identifier.
The label for this event.
The custom-provider LLM usages recorded for this event.
object
The logical LLM call category.
The input token count reported by the LLM provider.
The model key used for this LLM usage.
The output token count reported by the LLM provider.
The provider metadata associated with this LLM usage.
object
The provider ID associated with the LLM usage, when one exists.
The display name of the provider associated with the LLM usage.
The runtime that generated the LLM usage.
The output data for this event.
object
When this event started.
The status of the event.
The model key used during the iteration event.
The provider metadata associated with the iteration event.
object
The provider ID associated with the LLM usage, when one exists.
The display name of the provider associated with the LLM usage.
The event subtype represented by this payload.
object
The context usage snapshot recorded for a response breakpoint.
object
The structural character breakdown of the context.
object
The estimated conversation character count.
The estimated MCP definition character count.
The summarized conversation character count.
The system prompt character count.
The tool call character count.
The tool definition character count.
The tool result character count.
The tool result compaction summary.
object
The tool result character count after compaction.
The tool result character count before compaction.
The number of tool results compacted.
The number of tool results sliced as an overflow fallback.
The model context window limit in tokens.
Why the prepared runtime fell back to legacy behavior.
The input token count reported by the provider.
The model used for this response.
The output token reserve kept outside the input budget.
When the context usage snapshot was recorded.
The runtime that generated the response.
The tool search mode used by the prepared runtime.
The number of credits used by this event.
When this event ended.
The event identifier.
The label for this event.
The custom-provider LLM usages recorded for this event.
object
The logical LLM call category.
The input token count reported by the LLM provider.
The model key used for this LLM usage.
The output token count reported by the LLM provider.
The provider metadata associated with this LLM usage.
object
The provider ID associated with the LLM usage, when one exists.
The display name of the provider associated with the LLM usage.
The runtime that generated the LLM usage.
The output data for this event.
object
When this event started.
The status of the event.
The child execution identifier.
The type of tool called.
The event subtype represented by this payload.
object
The API key identifier.
The execution origin subtype represented by this payload.
object
The chat message identifier.
The execution identifier of the prior retry attempt.
The execution origin subtype represented by this payload.
object
The agent identifier.
The execution origin subtype represented by this payload.
object
The execution origin subtype represented by this payload.
The workflow node identifier.
object
The automation identifier.
The internal event identifier.
The internal event type.
The automation follow-up step index.
The execution origin subtype represented by this payload.
object
The source event type.
The external event identifier.
The source event provider.
The trigger identifier.
The execution origin subtype represented by this payload.
The context usage snapshots recorded for generated responses.
object
The structural character breakdown of the context.
object
The estimated conversation character count.
The estimated MCP definition character count.
The summarized conversation character count.
The system prompt character count.
The tool call character count.
The tool definition character count.
The tool result character count.
The tool result compaction summary.
object
The tool result character count after compaction.
The tool result character count before compaction.
The number of tool results compacted.
The number of tool results sliced as an overflow fallback.
The model context window limit in tokens.
Why the prepared runtime fell back to legacy behavior.
The input token count reported by the provider.
The model used for this response.
The output token reserve kept outside the input budget.
When the context usage snapshot was recorded.
The runtime that generated the response.
The tool search mode used by the prepared runtime.
The squad identifier.
The execution detail subtype represented by this payload.
object
The input data for this execution.
object
The output data for this execution.
object
The events that occurred during this workflow execution.
object
The context usage snapshot recorded for a response breakpoint.
object
The structural character breakdown of the context.
object
The estimated conversation character count.
The estimated MCP definition character count.
The summarized conversation character count.
The system prompt character count.
The tool call character count.
The tool definition character count.
The tool result character count.
The tool result compaction summary.
object
The tool result character count after compaction.
The tool result character count before compaction.
The number of tool results compacted.
The number of tool results sliced as an overflow fallback.
The model context window limit in tokens.
Why the prepared runtime fell back to legacy behavior.
The input token count reported by the provider.
The model used for this response.
The output token reserve kept outside the input budget.
When the context usage snapshot was recorded.
The runtime that generated the response.
The tool search mode used by the prepared runtime.
The number of credits used by this event.
When this event ended.
The event identifier.
The label for this event.
The custom-provider LLM usages recorded for this event.
object
The logical LLM call category.
The input token count reported by the LLM provider.
The model key used for this LLM usage.
The output token count reported by the LLM provider.
The provider metadata associated with this LLM usage.
object
The provider ID associated with the LLM usage, when one exists.
The display name of the provider associated with the LLM usage.
The runtime that generated the LLM usage.
The output data for this event.
object
When this event started.
The status of the event.
The child execution identifier.
The type of workflow node.
The event subtype represented by this payload.
The workflow node identifier.
object
The execution origin subtype represented by this payload.
The workflow trigger identifier.
object
The execution origin subtype represented by this payload.
The workflow trigger identifier.
object
The automation identifier.
The internal event identifier.
The internal event type.
The automation follow-up step index.
The execution origin subtype represented by this payload.
object
The source event type.
The external event identifier.
The source event provider.
The trigger identifier.
The execution origin subtype represented by this payload.
The execution detail subtype represented by this payload.
The workflow identifier.
The workflow implementation identifier.
When this execution ended.
Whether this execution is agentic.
Whether this execution belongs to a failed retry attempt.
Whether this execution has been purged.
The parent execution ID of this execution.
The responder ID of this execution.
When this execution started.
The status of the execution.
The workspace ID of this execution.
Example
[ { "detail": { "events": [ { "contextUsage": { "fallbackReason": "low-confidence", "runtime": "legacy", "toolSearchMode": "native-anthropic" }, "llmUsages": [ { "callKind": "agent", "runtime": "legacy" } ], "status": "running", "type": "iteration" } ], "origin": { "type": "api" }, "responseBreakpoints": [ { "fallbackReason": "low-confidence", "runtime": "legacy", "toolSearchMode": "native-anthropic" } ], "type": "agent-execution" }, "status": "running" }]Unauthorized.
The description of a known exception.
object
The error code.
The error call-to-action.
object
The error feedback.
object
The error message.
The error name.
Example
{ "cta": { "type": "support-contact" }}