Skip to main content
GET
/
test_framework
/
v1
/
scenarios
cURL
curl --request GET \
  --url https://api.cekura.ai/test_framework/v1/scenarios/ \
  --header 'X-CEKURA-API-KEY: <api-key>'
{
  "count": 123,
  "next": "https://api.cekura.ai/example/v1/example-external/?page=4",
  "previous": "https://api.cekura.ai/example/v1/example-external/?page=3",
  "results": [
    {
      "id": 123,
      "name": "<string>",
      "personality": 123,
      "personality_name": "<string>",
      "phone_number": "<string>",
      "expected_outcome_prompt": "<string>",
      "instructions": "<string>",
      "scenario_language": "af",
      "scenario_type": "instruction",
      "tags": "<unknown>",
      "agent": 123,
      "inbound_phone_number": 123,
      "inbound_phone_number_data": "<string>",
      "metrics": [
        123
      ],
      "metric_names": "<string>",
      "first_message": "Hello",
      "tool_ids": "<unknown>",
      "test_profile": 123,
      "test_profile_data": {
        "id": 123,
        "agent": 123,
        "name": "<string>",
        "information": {}
      },
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "last_updated_by": 123
    }
  ]
}

Authorizations

X-CEKURA-API-KEY
string
header
required

API Key Authentication. It should be included in the header of each request.

Query Parameters

page
integer

A page number within the paginated result set.

page_size
integer

Number of results to return per page.

agent_id
integer

Filter evaluators by agent ID Example: 2142

project_id
integer

Filter evaluators by project ID Example: 1

assistant_id
string

Filter evaluators by assistant ID Example: asst_1234567890

Minimum string length: 1
tags
string

Comma-separated list of tags to filter evaluators by Example: tag1,tag2,tag3

Minimum string length: 1
tag_filter_type
enum<string>
default:or

Filter operation type for tags

  • and - and
  • or - or
  • not - not
Available options:
and,
or,
not
Minimum string length: 1

Response

200 - application/json
count
integer
Example:

123

next
string<uri> | null
Example:

"https://api.cekura.ai/example/v1/example-external/?page=4"

previous
string<uri> | null
Example:

"https://api.cekura.ai/example/v1/example-external/?page=3"

results
object[]