Agents

Execute agent

Executes an agent with optional content.

post/agents/execute

Request body

agentIdstring

Optional - the backend will automatically get or create an agent.

queueIdstring

Optional queue ID. When provided, the execution is enqueued onto that queue: it is admitted against the queue concurrency limit (starting immediately or waiting in line), prefixed with the queue default message, and runs on the queue Kaizen version. When omitted, the execution starts immediately under the organization concurrency limit. When set and no agentId is given, the agent is resolved from the queue (the agent already running work on it, else the organization most recent agent).

archiveSessionFilesboolean

When true, request a background archive of the thread session files after the execution reaches a terminal state.

summarySchemaobject

Optional JSON Schema for per-execution summary extraction. Overrides the agent-level result schema for this execution only.

kaizenVersion'Full' | 'Lite'

Kaizen version tier to use for this execution. Determines the default model based on your organization’s model alias configuration for the selected tier.

  • Full — Uses the model configured for Kaizen Full (typically a frontier model).
  • Lite — Uses the model configured for Kaizen Lite (typically a smaller, faster model).

When not provided, the organization’s default Kaizen version is used.

enableComputerUseboolean

Whether the computer-use tool is available for this execution. When false, computer use is disabled even if the org-level flag is on. When omitted, the org-level flag applies.

Response

Agent execution started successfully

sessionIdstring required

ID of the session started for this execution

executionIdstring nullable required

ID of the execution, or null when the work was enqueued onto a queue (a queued execution has no standalone execution record).

statusstring required

Current status of the execution. When enqueued onto a queue, this is InProgress when it started immediately or WaitingInLine when the queue was at capacity.

Changes

No recorded changes to this endpoint across all 1 revision of this API.