Skip to main content
GET
/
api
/
v1
/
traces
List Traces Route
curl --request GET \
  --url https://api.example.com/api/v1/traces
{
  "items": [
    {
      "trace_id": "<string>",
      "proxy_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "org_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "provider": "<string>",
      "model": "<string>",
      "request_tokens": 123,
      "response_tokens": 123,
      "latency_ms": 123,
      "policy_decision": "<string>",
      "intent_score": 123,
      "intent_action": "<string>",
      "integration_names": "<string>",
      "stream": 123,
      "status_code": 123,
      "timestamp": "2023-11-07T05:31:56Z",
      "tool_names": "<string>",
      "session_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "policy_rule": "",
      "response_body": ""
    }
  ],
  "total": 123,
  "limit": 123,
  "offset": 123
}

Headers

Authorization
string | null

Query Parameters

proxy_id
string<uuid> | null
session_id
string<uuid> | null
provider
string | null
decision
string | null
from
string<date-time> | null
to
string<date-time> | null
limit
integer
default:20
Required range: 1 <= x <= 100
offset
integer
default:0
Required range: x >= 0

Response

Successful Response

items
TraceRecord · object[]
required
total
integer
required
limit
integer
required
offset
integer
required