curl --request GET \
--url https://api.avidoai.com/v0/traces \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"timestamp": "2025-01-05T12:34:56.789123Z",
"referenceId": "123e4567-e89b-12d3-a456-426614174000",
"metadata": {
"userId": "123",
"source": "chatbot"
},
"testId": "<string>",
"steps": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"traceId": "610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2",
"timestamp": "2025-01-05T12:34:56.789123Z",
"type": "llm",
"modelId": "gpt-4o-2024-08-06",
"event": "start",
"input": "Tell me a joke.",
"name": "Moderation",
"group": "inputModeration",
"params": {},
"metadata": {}
}
]
}
],
"pagination": {
"skip": 0,
"limit": 25,
"total": 100,
"totalPages": 4
}
}Retrieve threads with associated traces, filtered by application ID and optional date parameters.
curl --request GET \
--url https://api.avidoai.com/v0/traces \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"timestamp": "2025-01-05T12:34:56.789123Z",
"referenceId": "123e4567-e89b-12d3-a456-426614174000",
"metadata": {
"userId": "123",
"source": "chatbot"
},
"testId": "<string>",
"steps": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"traceId": "610adba1-7cc0-4fa7-9e2b-8bd2fdf281b2",
"timestamp": "2025-01-05T12:34:56.789123Z",
"type": "llm",
"modelId": "gpt-4o-2024-08-06",
"event": "start",
"input": "Tell me a joke.",
"name": "Moderation",
"group": "inputModeration",
"params": {},
"metadata": {}
}
]
}
],
"pagination": {
"skip": 0,
"limit": 25,
"total": 100,
"totalPages": 4
}
}Your unique Avido API key
Your unique Avido Application ID
Number of items to skip before starting to collect the result set.
x >= 00
Number of items to include in the result set.
1 <= x <= 10025
Filter traces by application ID
"789e4567-e89b-12d3-a456-426614174000"
Start date (ISO8601) for filtering traces.
"2025-01-09T14:47:56Z"
End date (ISO8601) for filtering traces.
"2025-01-09T14:47:56Z"
Successfully retrieved traces with steps
Paginated response containing traces
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"
Pagination metadata returned in a paginated response.
Show child attributes
Number of items skipped.
x >= 00
Number of items per page.
x >= 125
Total number of items available.
x >= 0100
Total number of pages available.
x >= 04