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

# Get Trace

`GET /v2/trace/{trace_id}`

Get a trace by id.

## Path parameters

- `trace_id` string, uuid, required

## Response `200`

Successful Response

- TraceResponse
  - `id` string, uuid, required
  - `job_id` string, uuid, required
  - `task_version_id` string, uuid, nullable
  - `task_slug` string, nullable
  - `instance_id` string, uuid, nullable
  - `inference_llm_model_id` string, uuid, nullable
  - `status` string, required
  - `reward` number, nullable
  - `stop_reason` 'done' | 'max_steps' | 'length' | 'timeout' | 'malformed_tool_call'
  - `views` integer
  - `error` string, nullable
  - `metadata` object
  - `start_time` string, date-time, nullable
  - `end_time` string, date-time, nullable
  - `created_at` string, date-time, required

## Other responses

- `400` — Invalid or malformed request
- `401` — Missing or invalid credentials
- `403` — Caller may not access this resource
- `404` — Referenced entity does not exist
- `409` — Resource already exists
- `422` — Validation Error

---

[API](https://skmtc.dev/hud/apis/hud-platform.md) · [All operations](https://skmtc.dev/hud/apis/hud-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/hud/hud-platform/revisions/58558fc733d9/schema)
