GET
/
v0
/
traces
/
{id}
curl --request GET \
  --url https://api.avidoai.com/v0/traces/{id} \
  --header 'x-api-key: <api-key>' \
  --header 'x-application-id: <api-key>'
{
  "data": {
    "id": "123e4567-e89b-12d3-a456-426614174000",
    "traceId": "thread_abc",
    "applicationId": "app_123",
    "timestamp": "2025-01-05T12:34:56.789Z",
    "type": "llm",
    "event": "start",
    "tokens": {
      "input": 100,
      "output": 200
    },
    "metadata": {
      "custom": "metadata"
    }
  }
}

Authorizations

x-api-key
string
header
required

Your unique Avido API key

x-application-id
string
header
required

Your unique application ID. Get this from the Connections page in Avido.

Path Parameters

id
string
required

The unique identifier of the trace

Example:

"123e4567-e89b-12d3-a456-426614174000"

Response

200
application/json
Successfully retrieved trace

Successful response containing a single trace object

data
object
required

A trace grouping related steps (e.g. a user-agent interaction or conversation).