---
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}`

## Request

- Base URL: `https://app.runconverge.com/api`
- URL: `https://app.runconverge.com/api/internal/agent-traces/trace/{trace_id}`
- Auth: none declared

## 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/runconverge-api.md) - [All operations](https://skmtc.dev/runconverge/apis/runconverge-api/llms.txt) - [OpenAPI document](https://skmtc.dev/runconverge/apis/runconverge-api/revisions/f723e951cc0b?raw)
