---
title: "Retrieve Trace"
method: GET
path: "/api/traces/{trace_unique_id}/"
tags: ["traces"]
---

# Retrieve Trace

`GET /api/traces/{trace_unique_id}/`

Retrieve a single trace by trace_unique_id.

Public path (unique_organization_id in kwargs): checks ch_trace_metadata.is_public.
Authenticated path: gets org from auth context.

## Path parameters

- `trace_unique_id` string, required

## Headers

- `Authorization` string, required

## Response `200`

No response body

- TracesRetrieveTraceResponse200 — Empty response body

## Changes

- **2026-07-31** `c26d550029f8` — 30 warning, 4 info
  - deleted the `query` request parameter `end_time`
  - deleted the `query` request parameter `start_time`
  - removed the optional property `customer_identifier` from the response with the `200` status
  - removed the optional property `duration` from the response with the `200` status
  - …30 more

[Change history](https://skmtc.dev/keywordsai/apis/api-reference/changes/api/traces/:trace_unique_id/get.md)

---

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