Query parameters
| Param | Type | Default | Notes |
|---|---|---|---|
limit | int | 100 | Max rows to return. Hard cap: 1000. |
offset | int | 0 | For pagination. |
start_date | ISO 8601 | — | Inclusive lower bound on created_at. |
end_date | ISO 8601 | — | Exclusive upper bound on created_at. |
source | string | — | Filter by source / tenant / integration tag. |
model_id | string | — | Filter by concrete model (e.g. gpt-4o-mini). |
status | string | — | success, error, or timeout. |
Response
total is the full match count ignoring limit/offset, so you can
render pagination UI without a second query.
Curl
Full trace content
The list endpoint returns a summary row. To fetch the full prompt and response text for one trace, hit:Errors
| Status | error.code | Meaning |
|---|---|---|
400 | invalid_request | Bad date format or limit out of range. |
404 | trace_not_found | Specific request_id not in ClickHouse. |
503 | clickhouse_down | OPENTRACY_CH_ENABLED=false or connection failed. |

