---
title: "Get Trace"
method: GET
path: "/traces/{trace_id}"
tags: ["review"]
---

# Get Trace

`GET /traces/{trace_id}`

## Request

- Base URL: `https://api.os3robotics.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.os3robotics.com/traces/{trace_id}`
- Auth: one of:
  - HTTP bearer
  - HTTP bearer

## Path parameters

- `trace_id` string, required

## Response `200`

Successful Response

- TraceDetail
  - `trace_id` string, required
  - `workspace_id` string, uuid, nullable, required
  - `created_at` string, date-time, required
  - `model_vendor` string, required
  - `model_id` string, required
  - `route_kind` string, nullable, required
  - `latency_ms` number, nullable, required
  - `tokens_in` integer, nullable, required
  - `tokens_out` integer, nullable, required
  - `cost_usd` string, nullable, required
  - `task_id` string, uuid, nullable, required
  - `task_label` string, nullable, required
  - `status` integer, nullable, required
  - `parsed` boolean, required
  - `path` string, nullable, required
  - `stop_reason` string, nullable, required
  - `label_count` integer, required
  - `robot_ref` string, nullable, required
  - `episode_id` string, nullable, required
  - `step_index` integer, nullable, required
  - `artifact_id` string, uuid, nullable, required
  - `trace` object, required
  - `raw` object, nullable, required
  - `body_expired` boolean, required
  - `completion` object, nullable, required
  - `thinking` string, nullable, required
  - `key_name` string, nullable, required
  - `upstream_name` string, nullable, required
  - `upstream_owner` string, nullable, required
  - `labels` LabelOut[], required
    - `id` integer, required
    - `trace_id` string, required
    - `queue_id` string, uuid, nullable, required
    - `label` string, required
    - `note` string, nullable, required
    - `actor_kind` string, required
    - `actor_id` string, required
    - `actor_name` string, nullable, required
    - `created_at` string, date-time, required
  - `audit` AuditEvent[], required
    - `action` string, required
    - `actor_kind` string, required
    - `actor_id` string, nullable, required
    - `actor_name` string, nullable, required
    - `request_id` string, nullable, required
    - `at` string, date-time, required

## Other responses

- `422`: Validation Error

---

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