---
title: "Get a run's trace"
method: GET
path: "/test_framework/v1/runs/{id}/trace/"
tags: ["test_framework"]
---

# Get a run's trace

`GET /test_framework/v1/runs/{id}/trace/`

## Request

- Base URL: `https://api.cekura.ai`
- URL: `https://api.cekura.ai/test_framework/v1/runs/{id}/trace/`
- Auth: one of:
  - API key in header `X-CEKURA-API-KEY`
  - HTTP bearer
  - HTTP bearer
  - API key in header `X-VOCERA-SHAREABLE-LINK-TOKEN`
  - HTTP bearer

Retrieve the raw OpenTelemetry trace associated with a simulation run.

Before calling this tool, retrieve the run with `runs_bulk_retrieve` and confirm that its `trace_id` is non-empty; an empty `trace_id` means no trace is available. Pass the run's integer `id`, not its provider call identifier or its `trace_id`.

## Path parameters

- `id` integer, required

## Response `200`

- RunTraceResponse
  - `trace_id` string, required: OpenTelemetry trace ID associated with the run.
  - `spans` unknown, required

## Other responses

- `404`: The run does not exist, has no trace ID, or its trace was not found.

## Changes

- **2026-11-03** `a6fb6a739212`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/cekura/apis/cekura-api/changes/test_framework/v1/runs/:id/trace/get.md)

---

[API](https://skmtc.dev/cekura/apis/cekura-api.md) - [All operations](https://skmtc.dev/cekura/apis/cekura-api/llms.txt) - [OpenAPI document](https://skmtc.dev/cekura/apis/cekura-api/revisions/a6fb6a739212?raw)
