---
title: "Get Agent Trace Tree"
method: GET
path: "/internal/agent-traces/trace/{trace_id}"
---

# Get Agent Trace Tree

`GET /internal/agent-traces/trace/{trace_id}`

## Path parameters

- `trace_id` string, required

## Headers

- `Authorization` string, nullable

## Cookies

- `session_id` string, nullable

## Response `200`

Successful Response

- AgentTraceTreeResponse
  - `trace_id` string, required
  - `project` string, required
  - `fetched_at` string, date-time, required
  - `events` AgentTraceEvent[], required
    - `id` string, required
    - `run_type` string, required
    - `name` string, required
    - `start_time` string, date-time, required
    - `end_time` string, date-time, nullable, required
    - `duration_ms` integer, nullable, required
    - `parent_run_id` string, nullable, required
    - `error` string, nullable, required
    - `total_tokens` integer, nullable, required
    - `total_cost` number, nullable, required
    - `model` string, nullable, required
    - `blocks` AgentTraceContentBlock[]
      - `type` string, required
      - `text` string, nullable
      - `tool_name` string, nullable
      - `tool_input` unknown
      - `tool_use_id` string, nullable
      - `is_error` boolean
    - `tool_input` unknown
    - `tool_output` unknown

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.dev/runconverge/apis/fastapi.md) · [All operations](https://skmtc.dev/runconverge/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/runconverge/fastapi/revisions/1452e350bd1d/schema)
