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

# Get Workflow Execution Trace Otel

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

Get Workflow Execution Trace Otel

## Path parameters

- `execution_id` string, required

## Response `200`

Successful Response

- WorkflowExecutionTraceOTelResponse
  - `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
  - `data_source` string, required — The data source of the trace
  - `otel_trace_id` string, nullable — The ID of the trace
  - `otel_trace_data` TempoGetTraceResponse — Trace response in OpenTelemetry format. This is the unified trace format used across all trace providers (Tempo, ClickHouse, etc.). Regardless of the underlying backend, all trace data is normalized to this Tempo-compatible OpenTelemetry format to ensure consistency in the API response structure.
    - `batches` TempoTraceBatch[] — The batches of the trace
      - `resource` TempoTraceResource, required
        - `attributes` TempoTraceAttribute[] — The attributes of the resource
          - `key` string, required — The key of the attribute
          - `value` union, required — The value of the attribute
            - TempoTraceAttributeStringValue
              - …
            - TempoTraceAttributeIntValue
              - …
            - TempoTraceAttributeBoolValue
              - …
            - TempoTraceAttributeArrayValue
              - …
      - `scopeSpans` TempoTraceScopeSpan[] — The spans of the scope
        - `scope` TempoTraceScope, required
          - `name` string, required — The name of the span
        - `spans` TempoTraceSpan[] — The spans of the scope
          - `traceId` string, required — The trace ID of the scope
          - `spanId` string, required — The span ID of the scope
          - `parentSpanId` string, nullable — The parent span ID of the scope
          - `name` string, required — The name of the scope
          - `kind` 'SPAN_KIND_INTERNAL' | 'SPAN_KIND_SERVER' | 'SPAN_KIND_CLIENT', required
          - `startTimeUnixNano` string, required — The start time of the scope in Unix nano
          - `endTimeUnixNano` string, required — The end time of the scope in Unix nano
          - `attributes` TempoTraceAttribute[] — The attributes of the scope
            - `key` string, required — The key of the attribute
            - `value` union, required — The value of the attribute
              - …
          - `events` TempoTraceEvent[] — The events of the scope
            - `name` string, required — The name of the event
            - `timeUnixNano` string, required — The time of the event in Unix nano
            - `attributes` TempoTraceAttribute[] — The attributes of the event
              - …

## 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)
