curl --location 'https://api.withblast.com/projects/550e8400-e29b-41d4-a716-446655440000/benchmarks/7d9c8f90-1234-5678-9abc-def012345678/tests?offset=0&limit=2' \
--header 'Authorization: Bearer YOUR_JWT_TOKEN'
{
"tests": [
{
"test_id": 1234,
"benchmark_id": "7d9c8f90-1234-5678-9abc-def012345678",
"prompt": "How do I reset my password?",
"last_scores": {
"response_style": false,
"language_detection": true,
"knowledge_retrieval": true
},
"run_count": 1,
"last_run_at": "2024-01-23T10:30:00Z",
"project_id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2024-01-20T14:30:00Z"
},
{
"test_id": 1235,
"benchmark_id": "7d9c8f90-1234-5678-9abc-def012345678",
"prompt": "My order hasn't arrived yet, what should I do?",
"last_scores": {
"response_style": true,
"language_detection": true,
"knowledge_retrieval": true
},
"run_count": 12,
"last_run_at": "2024-01-23T09:15:00Z",
"project_id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2024-01-20T14:35:00Z"
}
],
"total": 25
}
Get a paginated list of tests for a specific benchmark
curl --location 'https://api.withblast.com/projects/550e8400-e29b-41d4-a716-446655440000/benchmarks/7d9c8f90-1234-5678-9abc-def012345678/tests?offset=0&limit=2' \
--header 'Authorization: Bearer YOUR_JWT_TOKEN'
{
"tests": [
{
"test_id": 1234,
"benchmark_id": "7d9c8f90-1234-5678-9abc-def012345678",
"prompt": "How do I reset my password?",
"last_scores": {
"response_style": false,
"language_detection": true,
"knowledge_retrieval": true
},
"run_count": 1,
"last_run_at": "2024-01-23T10:30:00Z",
"project_id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2024-01-20T14:30:00Z"
},
{
"test_id": 1235,
"benchmark_id": "7d9c8f90-1234-5678-9abc-def012345678",
"prompt": "My order hasn't arrived yet, what should I do?",
"last_scores": {
"response_style": true,
"language_detection": true,
"knowledge_retrieval": true
},
"run_count": 12,
"last_run_at": "2024-01-23T09:15:00Z",
"project_id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2024-01-20T14:35:00Z"
}
],
"total": 25
}
Show Test Object
curl --location 'https://api.withblast.com/projects/550e8400-e29b-41d4-a716-446655440000/benchmarks/7d9c8f90-1234-5678-9abc-def012345678/tests?offset=0&limit=2' \
--header 'Authorization: Bearer YOUR_JWT_TOKEN'
{
"tests": [
{
"test_id": 1234,
"benchmark_id": "7d9c8f90-1234-5678-9abc-def012345678",
"prompt": "How do I reset my password?",
"last_scores": {
"response_style": false,
"language_detection": true,
"knowledge_retrieval": true
},
"run_count": 1,
"last_run_at": "2024-01-23T10:30:00Z",
"project_id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2024-01-20T14:30:00Z"
},
{
"test_id": 1235,
"benchmark_id": "7d9c8f90-1234-5678-9abc-def012345678",
"prompt": "My order hasn't arrived yet, what should I do?",
"last_scores": {
"response_style": true,
"language_detection": true,
"knowledge_retrieval": true
},
"run_count": 12,
"last_run_at": "2024-01-23T09:15:00Z",
"project_id": "550e8400-e29b-41d4-a716-446655440000",
"created_at": "2024-01-20T14:35:00Z"
}
],
"total": 25
}