List eval scenarios
curl --request GET \
--url https://voice-api.onclarity.com/v1/projects/{projectId}/eval-scenarios \
--header 'Authorization: Bearer <token>'import requests
url = "https://voice-api.onclarity.com/v1/projects/{projectId}/eval-scenarios"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://voice-api.onclarity.com/v1/projects/{projectId}/eval-scenarios', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"scenarios": [
{
"id": "b2a4c6e8-0f1d-4e3b-9c5a-7e9f1b3d5c7a",
"project_id": "4f3a9b2c-1d2e-4f5a-8b6c-7d8e9f0a1b2c",
"name": "Book a table for two",
"description": null,
"simulator_config": {
"prompt": "You are Sara. You want a table for two tomorrow at 8 pm.",
"max_turns": 20
},
"test_case_ids": [
"c3d5e7f9-1a2b-4c3d-8e4f-5a6b7c8d9e0f"
],
"field_overrides": {},
"silence_modes": null,
"test_cases": [],
"created_by": "org-token:42",
"created_at": "2026-10-01T09:30:00.000Z",
"updated_at": "2026-10-01T09:30:00.000Z"
}
]
}{
"error": "Invalid or revoked token"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Eval scenarios
List eval scenarios
Returns every scenario of the project with its test cases, so you can reuse one in a suite by scenario_id. Scenarios are created and changed through the eval suite endpoints.
GET
/
v1
/
projects
/
{projectId}
/
eval-scenarios
List eval scenarios
curl --request GET \
--url https://voice-api.onclarity.com/v1/projects/{projectId}/eval-scenarios \
--header 'Authorization: Bearer <token>'import requests
url = "https://voice-api.onclarity.com/v1/projects/{projectId}/eval-scenarios"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://voice-api.onclarity.com/v1/projects/{projectId}/eval-scenarios', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"scenarios": [
{
"id": "b2a4c6e8-0f1d-4e3b-9c5a-7e9f1b3d5c7a",
"project_id": "4f3a9b2c-1d2e-4f5a-8b6c-7d8e9f0a1b2c",
"name": "Book a table for two",
"description": null,
"simulator_config": {
"prompt": "You are Sara. You want a table for two tomorrow at 8 pm.",
"max_turns": 20
},
"test_case_ids": [
"c3d5e7f9-1a2b-4c3d-8e4f-5a6b7c8d9e0f"
],
"field_overrides": {},
"silence_modes": null,
"test_cases": [],
"created_by": "org-token:42",
"created_at": "2026-10-01T09:30:00.000Z",
"updated_at": "2026-10-01T09:30:00.000Z"
}
]
}{
"error": "Invalid or revoked token"
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Authorizations
Your organization API key (it starts with anek_org_). The same key works on the Voice API and the Support API. See Authentication.
Path Parameters
Project id
Response
The project's scenarios
Show child attributes
Show child attributes