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"
}
}
}Retrieves detailed information about a specific trace.
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"
}
}
}Your unique Avido API key
Your unique Avido Application ID
The unique identifier of the trace
"123e4567-e89b-12d3-a456-426614174000"
Successfully retrieved trace
Successful response containing a single trace object
A trace grouping related steps (e.g. a user-agent interaction or conversation).
Show child attributes
Unique Trace ID (UUID).
"123e4567-e89b-12d3-a456-426614174000"
ISO-8601 datetime with up to microsecond precision (e.g., 2025-01-05T12:34:56.789123Z). Numeric millisecond timestamps (number or numeric string) are also accepted and automatically converted.
"2025-01-05T12:34:56.789123Z"
An optional reference ID to link the trace to an existing conversation or interaction in your own database.
"123e4567-e89b-12d3-a456-426614174000"
The associated Test if this was triggered by an Avido eval
The steps associated with the trace.
Start of an LLM trace.
Show child attributes
UUID for the step.
"123e4567-e89b-12d3-a456-426614174000"
UUID referencing the parent trace's ID.
"610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2"
ISO-8601 datetime with up to microsecond precision (e.g., 2025-01-05T12:34:56.789123Z). Numeric millisecond timestamps (number or numeric string) are also accepted and automatically converted.
"2025-01-05T12:34:56.789123Z"
llm Model ID or name used for the LLM call.
"gpt-4o-2024-08-06"
start JSON input for this LLM trace event (e.g., the prompt).
"Tell me a joke."
The name of the step.
"Moderation"
Optionally, the key for a group step to group the step with.
"inputModeration"