---
title: "List Related Traces"
method: GET
path: "/v2/trace/{trace_id}/related"
tags: ["traces"]
---

# List Related Traces

`GET /v2/trace/{trace_id}/related`

Trace thumbnails related to ``trace_id``.

## Path parameters

- `trace_id` string, uuid, required

## Query parameters

- `kind` 'job' | 'task' | 'recent' | 'discover', required
- `limit` integer
- `scope_to_job` boolean — Only meaningful with `kind=task`: further restrict to the source trace's job. Used by the info-card sibling-run squares.
- `status` string, nullable — Comma-separated status whitelist applied to ``Trace.status`` — e.g. `completed` to exclude live/cancelled rows.
- `order` 'asc' | 'desc'

## Response `200`

Successful Response

- TraceThumbnail[]
  - `id` string, uuid, required
  - `job_id` string, uuid, required
  - `job_name` string, nullable
  - `status` string, required
  - `reward` number, nullable
  - `stop_reason` 'done' | 'max_steps' | 'length' | 'timeout' | 'malformed_tool_call'
  - `is_valid` boolean
  - `error` string, nullable
  - `created_at` string, date-time, required
  - `start_time` string, date-time, nullable
  - `end_time` string, date-time, nullable
  - `views` integer
  - `task_version_id` string, uuid, nullable
  - `task_slug` string, nullable
  - `task_version_number` integer, nullable
  - `task_prompt` string, nullable
  - `thumbnail_url` string, nullable
  - `inference_llm_model_id` string, uuid, nullable
  - `metadata` object
  - `evaluation_result` object, nullable
  - `user_name` string, nullable
  - `user_avatar_url` string, nullable
  - `model` TraceThumbnailModel
    - `id` string, uuid, required
    - `name` string, required
    - `model_name` string, nullable
    - `provider_name` string, nullable
    - `icon_url` string, nullable
    - `sdk_agent_type` string, nullable

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

## Changes

- **2026-09-02** `f4d79d769332` — 1 info
  - added the optional property `items/model/anyOf[subschema #1: TraceThumbnailModel]/sdk_agent_type` to the response with the `200` status

[Change history](https://skmtc.dev/hud/apis/hud-platform/changes/v2/trace/:trace_id/related/get.md)

---

[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/f4d79d769332/schema)
