---
title: "Get Workflow Execution Trace Events"
method: GET
path: "/v1/workflows/executions/{execution_id}/trace/events"
tags: ["workflows.executions"]
---

# Get Workflow Execution Trace Events

`GET /v1/workflows/executions/{execution_id}/trace/events`

Get Workflow Execution Trace Events

## Path parameters

- `execution_id` string, required

## Query parameters

- `merge_same_id_events` boolean
- `include_internal_events` boolean

## Response `200`

Successful Response

- WorkflowExecutionTraceEventsResponse
  - `workflow_name` string, required — The name of the workflow
  - `workflow_id` string, uuid, nullable — The ID of the workflow
  - `deployment_name` string, nullable — The name of the deployment that ran this execution
  - `execution_id` string, required — The ID of the workflow execution
  - `parent_execution_id` string, nullable — The parent execution ID of the workflow execution
  - `root_execution_id` string, required — The root execution ID of the workflow execution
  - `run_id` string, nullable — The unique run identifier (database UUID)
  - `user_id` string, nullable — The ID of the user who triggered the execution
  - `status` 'RUNNING' | 'COMPLETED' | 'FAILED' | 'CANCELED' | 'TERMINATED' | 'CONTINUED_AS_NEW' | 'TIMED_OUT' | 'RETRYING_AFTER_ERROR', required
  - `start_time` string, date-time, required — The start time of the workflow execution
  - `end_time` string, date-time, nullable, required — The end time of the workflow execution, if available
  - `total_duration_ms` integer, nullable — The total duration of the trace in milliseconds
  - `result` unknown, required
  - `events` union[] — The events of the workflow execution
    - union
      - WorkflowExecutionTraceEvent
        - `type` 'EVENT' | 'EVENT_PROGRESS'
        - `name` string, required — Name of the event
        - `id` string, required — The ID of the event
        - `timestamp_unix_nano` integer, required — The timestamp of the event in nanoseconds since the Unix epoch
        - `attributes` object, required — The attributes of the event
        - `internal` boolean — Whether the event is internal
      - WorkflowExecutionProgressTraceEvent
        - `type` 'EVENT' | 'EVENT_PROGRESS'
        - `name` string, required — Name of the event
        - `id` string, required — The ID of the event
        - `timestamp_unix_nano` integer, required — The timestamp of the event in nanoseconds since the Unix epoch
        - `attributes` object, required — The attributes of the event
        - `internal` boolean — Whether the event is internal
        - `status` 'RUNNING' | 'COMPLETED' | 'FAILED'
        - `start_time_unix_ms` integer, required — The start time of the event in milliseconds since the Unix epoch
        - `end_time_unix_ms` integer, nullable — The end time of the event in milliseconds since the Unix epoch
        - `error` string, nullable — The error message, if any

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/mistral/apis/mistral-ai-api.md) · [All operations](https://skmtc.dev/mistral/apis/mistral-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/mistral/mistral-ai-api/revisions/61436a496404/schema)
