curl --request GET \
--url https://api.avidoai.com/v0/tasks \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": [],
"pagination": {
"skip": 0,
"limit": 25,
"total": 0,
"totalPages": 0
}
}Retrieves a paginated list of tasks with optional filtering.
curl --request GET \
--url https://api.avidoai.com/v0/tasks \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": [],
"pagination": {
"skip": 0,
"limit": 25,
"total": 0,
"totalPages": 0
}
}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
Field to order by in the result set.
"createdAt"
Order direction.
asc, desc "desc"
Filter tasks by topic ID
"789e4567-e89b-12d3-a456-426614174000"
Filter tasks by status
success, warning, error, no-tests ["success", "warning"]Filter tasks by eval definition ID
"123e4567-e89b-12d3-a456-426614174000"
Filter tasks by tag ID
"789e4567-e89b-12d3-a456-426614174000"
Successfully retrieved tasks
Paginated response containing tasks
Show child attributes
The unique identifier of the task
"123e4567-e89b-12d3-a456-426614174000"
When the task was created
"2024-01-05T12:34:56.789Z"
When the task was last modified
"2024-01-05T12:34:56.789Z"
The title of the task
"Credit Card Block"
The task description
"Wants to block their credit card"
The type of task. Normal tasks have a dynamic user prompt, while adversarial tasks have a fixed user prompt.
STATIC, NORMAL "NORMAL"
The 30 day pass rate for the task measured in percentage
66
Example inputs for the task
["I want to block my credit card"]Show child attributes
When the eval definition was created
"2024-01-05T12:34:56.789Z"
When the eval definition was last modified
"2024-01-05T12:34:56.789Z"
The type of evaluation
NATURALNESS, STYLE, RECALL, CUSTOM, FACT, OUTPUT_MATCH "NATURALNESS"
Show child attributes
The criterion describes what our evaluation LLM must look for in the response. Remember that the answer to the criterion must be as a pass/fail.
1Application configuration and metadata
Show child attributes
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..."
Language of the application
"en"
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"
The date and time this task was last tested
"2024-01-01T00:00:00.000Z"
JSON schema that defines the structure for user prompts that should be generated for tests
Show child attributes
{
"type": "object",
"properties": {
"intent": { "type": "string" },
"urgency": {
"type": "string",
"enum": ["low", "medium", "high"]
}
},
"required": ["intent"]
}Task schedule schema
The ID of the topic this task belongs to
"789e4567-e89b-12d3-a456-426614174000"
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