curl --request GET \
--url https://api.example.com/api/v2/projects/{project_id}/evaluation-criteria/id/{criteria_id}/versions \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"question": "<string>",
"llm_question": "<string>",
"llm_eval_enabled": true,
"type": "1-5",
"rubric": {},
"multi_select_labels": [
"<string>"
],
"version_number": 123,
"is_deployed": true,
"created_at": 123,
"sample_rate": 123,
"target": {
"target_type": "prompt",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"created_by_user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email_address": "<string>",
"roles": [
"<string>"
],
"first_name": "<string>",
"last_name": "<string>",
"signup_source": "<string>",
"profile_picture": null,
"profile_color": null
},
"alignment_score": {
"number_correct": 123,
"number_incorrect": 123,
"ratio": 123,
"average_cost": 123
},
"options": [
"<string>"
],
"model_id": null,
"position": null,
"is_enabled": true,
"generate_insights": true,
"criteria_description": null,
"references": null,
"allow_multiple_categories": false,
"categories": null,
"eval_code": null
}
],
"pagination": {
"page": 123,
"page_size": 123,
"has_next": true
}
}Retrieve all versions of an evaluation criteria. Use to view version history or compare changes over time.
curl --request GET \
--url https://api.example.com/api/v2/projects/{project_id}/evaluation-criteria/id/{criteria_id}/versions \
--header 'Authorization: Bearer <token>'{
"data": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"version_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"question": "<string>",
"llm_question": "<string>",
"llm_eval_enabled": true,
"type": "1-5",
"rubric": {},
"multi_select_labels": [
"<string>"
],
"version_number": 123,
"is_deployed": true,
"created_at": 123,
"sample_rate": 123,
"target": {
"target_type": "prompt",
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>"
},
"created_by_user": {
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"email_address": "<string>",
"roles": [
"<string>"
],
"first_name": "<string>",
"last_name": "<string>",
"signup_source": "<string>",
"profile_picture": null,
"profile_color": null
},
"alignment_score": {
"number_correct": 123,
"number_incorrect": 123,
"ratio": 123,
"average_cost": 123
},
"options": [
"<string>"
],
"model_id": null,
"position": null,
"is_enabled": true,
"generate_insights": true,
"criteria_description": null,
"references": null,
"allow_multiple_categories": false,
"categories": null,
"eval_code": null
}
],
"pagination": {
"page": 123,
"page_size": 123,
"has_next": true
}
}Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
EvaluationCriteriaVersionListResponse(data: list[server.evaluations.evaluations.EvaluationCriteriaVersionInfo], pagination: server.api_routes.api_v2_common.PaginationInfo)