List runs
Retrieves a paginated list of runs with optional filtering.
curl --request GET \
--url https://api.avidoai.com/v0/runs \
--header 'x-api-key: <api-key>'
{
"data": [
{
"id": "run_1",
"orgId": "org_123456",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z",
"taskId": "task_1",
"threadId": null,
"result": null,
"status": "PENDING",
"evals": []
}
],
"pagination": {
"skip": 0,
"limit": 25,
"total": 1,
"totalPages": 1
}
}
Authorizations
Your unique Avido API key
Query Parameters
Number of items to skip
x >= 0
0
Number of items per page
1 <= x <= 100
25
Field to order by
"createdAt"
Order direction
asc
, desc
"desc"
Filter by task ID
"456e4567-e89b-12d3-a456-426614174000"
Filter by trace ID
"789e4567-e89b-12d3-a456-426614174000"
Filter by evaluation status
"COMPLETED"
Filter by evaluation type
"NATURALNESS"
Response
Paginated response containing runs
A Run represents a batch of tests triggered by a single task
Unique identifier of the run
"123e4567-e89b-12d3-a456-426614174000"
When the run was created
"2024-01-05T12:34:56.789Z"
When the run was last modified
"2024-01-05T12:34:56.789Z"
Status of the evaluation/test. Valid options: PENDING, IN_PROGRESS, PASSED, COMPLETED, FAILED.
PENDING
, IN_PROGRESS
, PASSED
, COMPLETED
, FAILED
"COMPLETED"
A Test represents a single test applying all the linked evals on a Trace
Unique identifier of the run
"123e4567-e89b-12d3-a456-426614174000"
When the run was created
"2024-01-05T12:34:56.789Z"
When the run was last modified
"2024-01-05T12:34:56.789Z"
Status of the evaluation/test. Valid options: PENDING, IN_PROGRESS, PASSED, COMPLETED, FAILED.
PENDING
, IN_PROGRESS
, PASSED
, COMPLETED
, FAILED
"COMPLETED"
Array of evaluations in this run
Complete evaluation information
Unique identifier of the evaluation
"123e4567-e89b-12d3-a456-426614174000"
Organization ID that owns this evaluation
"org_123456"
When the evaluation was created
"2024-01-05T12:34:56.789Z"
When the evaluation was last modified
"2024-01-05T12:34:56.789Z"
Status of the evaluation/test. Valid options: PENDING, IN_PROGRESS, PASSED, COMPLETED, FAILED.
PENDING
, IN_PROGRESS
, PASSED
, COMPLETED
, FAILED
"COMPLETED"
Type of evaluation. Valid options: NATURALNESS, STYLE, RECALL, LLMQA.
NATURALNESS
, STYLE
, RECALL
, LLMQA
, BLACKLIST
"NATURALNESS"
Application configuration and metadata
Results of the evaluation (structure depends on eval type).
A task that represents a specific job-to-be-done by the LLM in the user application.
The unique identifier of the task
"123e4567-e89b-12d3-a456-426614174000"
The date and time the task was created
"2024-01-01T00:00:00.000Z"
The date and time the task was last updated
"2024-01-01T00:00:00.000Z"
The title of the task
"Credit Card Block"
The task description
"Wants to block their credit card"
Application configuration and metadata
Unique identifier of the application
"123e4567-e89b-12d3-a456-426614174000"
Organization ID that owns this application
"org_123456"
Title of the application
1
"Customer Support Bot"
URL-friendly slug for the application
1
"customer-support-bot"
Description of the application
"AI assistant for customer support inquiries"
Context/instructions for the application
"You are a helpful customer support assistant..."
Type of the application. Valid values are CHATBOT or AGENT.
CHATBOT
, AGENT
"CHATBOT"
Environment of the application. Defaults to DEV.
DEV
, PROD
"DEV"
When the application was created
"2024-01-05T12:34:56.789Z"
When the application was last modified
"2024-01-05T12:34:56.789Z"
Details about a single Topic
Unique identifier of the topic
"789e4567-e89b-12d3-a456-426614174000"
Organization ID that owns this topic
"org_123456"
Title of the topic
"Code Quality"
Optional baseline score for this topic
0.85
When the topic was created
"2024-01-05T12:34:56.789Z"
When the topic was last modified
"2024-01-05T12:34:56.789Z"
Type of evaluation. Valid options: NATURALNESS, STYLE, RECALL, LLMQA.
NATURALNESS
, STYLE
, RECALL
, LLMQA
, BLACKLIST
"NATURALNESS"
Application configuration and metadata
The 30 day pass rate for the task measured in percentage
66
The date and time this task was last tested
"2024-01-01T00:00:00.000Z"
Example inputs for the task
Optional ID of the trace this run is associated with
"789e4567-e89b-12d3-a456-426614174000"
Result of the run (if completed)
PASSED
, FAILED
"PASSED"
Result of the run (if completed)
PASSED
, FAILED
"PASSED"
Pagination metadata returned in a paginated response.
Number of items skipped.
x >= 0
0
Number of items per page.
x >= 1
25
Total number of items available.
x >= 0
100
Total number of pages available.
x >= 0
4
curl --request GET \
--url https://api.avidoai.com/v0/runs \
--header 'x-api-key: <api-key>'
{
"data": [
{
"id": "run_1",
"orgId": "org_123456",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z",
"taskId": "task_1",
"threadId": null,
"result": null,
"status": "PENDING",
"evals": []
}
],
"pagination": {
"skip": 0,
"limit": 25,
"total": 1,
"totalPages": 1
}
}