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

# Create trace

> Store a production agent turn and its conversation history for later review

## Usage

```python theme={null}
from calibrate import Calibrate, TraceOutput

client = Calibrate(
    api_key="your_api_key",
)

client.traces.create(
    agent_id="agent_id",
    input="input",
    output=TraceOutput(),
)
```

## API endpoint

See **POST /traces** in the [API reference](/api-reference/introduction) tab.
