> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tracelm.ai/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Task

> Get full task details including traces and loops

## Path Parameters

<ParamField path="task_id" type="string" required>
  Task UUID.
</ParamField>

## Response

Includes task summary +:

* `metadata` (`extra_metadata` persisted on task)
* `traces[]` compact trace rows
* `loops[]` detected loop rows

```json theme={null}
{
  "id": "...",
  "status": "completed",
  "metadata": {
    "detection_results": {
      "loops": { "detected": true, "patterns": 1, "highest_severity": "medium" }
    }
  },
  "traces": [
    { "id": "...", "model": "gpt-4o-mini", "has_tool_calls": true, "tool_call_count": 1 }
  ],
  "loops": [
    { "id": "...", "loop_type": "repeated_tool", "severity": "medium", "repetition_count": 3 }
  ]
}
```
