Skip to main content

Get execution history

GET 

/executions/:id/history

Returns state change events and lifecycle history for a specific execution.

WHAT YOU GET: Timeline of events showing:

  • State transitions (pending → starting → running → complete/failed)
  • Timestamps for each transition
  • Messages explaining why each transition occurred
  • System events affecting this execution

WHEN TO USE:

  • Debug execution failures (see what led to failed state)
  • Investigate slow starts (check time in pending/starting states)
  • Audit execution lifecycle for compliance
  • Understand execution behavior over time

FILTERING:

  • since: Only show events after a specific timestamp (reduces noise)

COMMON PATTERNS:

  • "Why did this execution fail?" - Review history for error messages
  • "When did this execution start running?" - Find 'running' state transition
  • "How long was it pending?" - Calculate time between created and running states

Request

Responses

OK