What is an Execution?
An execution represents a single run of an assistant’s processing pipeline. When an event triggers an assistant — such as a document upload, a channel message, or a scheduled job — the platform creates an execution that processes the event through the assistant’s configured pipeline steps. Each execution tracks the full lifecycle from trigger to completion, including which steps ran, how long they took, and whether they succeeded or failed.Execution Statuses
| Status | Value | Description |
|---|---|---|
PENDING | 0 | Created and waiting for the scheduler to plan it |
RUNNING | 1 | Pipeline steps are being executed |
SUCCEEDED | 2 | All steps completed successfully |
FAILED | 3 | One or more steps failed or timed out |
REQUESTED | 4 | Execution was requested but not yet created |
SKIPPED | 5 | Execution was skipped (e.g., deduplication) |
CANCELLING | 6 | Cancel was requested, waiting for running steps to stop |
CANCELLED | 7 | Execution was cancelled |
PENDING_REPROCESSING | 8 | Awaiting reprocessing |
REPROCESSED | 9 | Reprocessing complete |
Common Operations
List Executions for an Assistant
Get Execution Details
Retrieve an execution with its pipeline configuration, context, and status:Cancel a Running Execution
Stop a running execution. Any in-progress steps will be cancelled:List Executions for a Document Family
Find all executions that processed a specific document:Filter by Status
List only failed executions:Execution Context
The execution context contains metadata about the triggering event and is available to modules during processing:| Field | Description |
|---|---|
eventType | The event that triggered the execution |
documentFamilyId | The document family being processed |
contentObjectId | The specific content object that triggered the event |
storeId | The document store ID |
channelId | The channel ID (for channel events) |
taskId | The task ID (for task events) |
taxonomyRefs | Taxonomy references from the assistant configuration |
completeLabel | Label to apply when processing completes |
Reprocessing Documents
To reprocess a document family through one or more assistants, use the document family reprocess endpoint:PENDING status for each specified assistant.
Execution Priority
Executions are processed in priority order. Higher priority values are scheduled first. Within the same priority, older executions are processed first (FIFO). Event types are assigned default priorities — for example, content events are typically higher priority than scheduled job events.Related
- Execution Pipeline Concepts — detailed explanation of the execution lifecycle and pipeline architecture
- Assistants — how assistants trigger executions
- Data Flow Step Conditionals — conditional step execution
