curl --request GET \
--url https://api.avidoai.com/v0/experiments/{id}/variants \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"experimentId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z",
"title": "Credit Card Block",
"description": "Wants to block their credit card",
"status": "DRAFT",
"configPatch": {
"llm": {
"model": "reasoning"
}
},
"config": {
"llm": {
"model": "reasoning"
}
},
"parentId": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"passed": 4503599627370495,
"failed": 4503599627370495,
"total": 4503599627370495,
"passRate": 50,
"averageScore": 0.5,
"evals": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "NATURALNESS",
"passed": 4503599627370495,
"failed": 4503599627370495,
"total": 4503599627370495,
"passRate": 50,
"averageScore": 0.5
}
]
},
"progress": {
"completed": 5,
"total": 10
}
}
],
"pagination": {
"skip": 0,
"limit": 25,
"total": 100,
"totalPages": 4,
"totalCount": 100
}
}Retrieves a paginated list of variants for the specified experiment.
curl --request GET \
--url https://api.avidoai.com/v0/experiments/{id}/variants \
--header 'x-api-key: <api-key>' \
--header 'x-application-id: <api-key>'{
"data": [
{
"id": "123e4567-e89b-12d3-a456-426614174000",
"experimentId": "123e4567-e89b-12d3-a456-426614174000",
"createdAt": "2024-01-05T12:34:56.789Z",
"modifiedAt": "2024-01-05T12:34:56.789Z",
"title": "Credit Card Block",
"description": "Wants to block their credit card",
"status": "DRAFT",
"configPatch": {
"llm": {
"model": "reasoning"
}
},
"config": {
"llm": {
"model": "reasoning"
}
},
"parentId": "123e4567-e89b-12d3-a456-426614174000",
"result": {
"passed": 4503599627370495,
"failed": 4503599627370495,
"total": 4503599627370495,
"passRate": 50,
"averageScore": 0.5,
"evals": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"type": "NATURALNESS",
"passed": 4503599627370495,
"failed": 4503599627370495,
"total": 4503599627370495,
"passRate": 50,
"averageScore": 0.5
}
]
},
"progress": {
"completed": 5,
"total": 10
}
}
],
"pagination": {
"skip": 0,
"limit": 25,
"total": 100,
"totalPages": 4,
"totalCount": 100
}
}Your unique Avido API key
Your unique Avido Application ID
The unique identifier of the experiment
^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"123e4567-e89b-12d3-a456-426614174000"
Number of items to skip before starting to collect the result set.
0 <= x <= 90071992547409910
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"