Skip to main content
GET
/
test_framework
/
v2
/
aiagents
List AI voice agents
curl --request GET \
  --url https://api.cekura.ai/test_framework/v2/aiagents/ \
  --header 'X-CEKURA-API-KEY: <api-key>'
{
  "count": 123,
  "results": [
    {
      "name": "<string>",
      "description": "<string>",
      "id": 123,
      "project": 123,
      "language": "en",
      "telephony": {
        "phone_number": "<string>",
        "inbound": false,
        "sip_uri": "<string>",
        "sip_auth": "<unknown>",
        "outbound_numbers": [
          "<string>"
        ]
      },
      "provider": {
        "agent_id": "<string>",
        "credentials": {
          "config": {
            "public_key": "<string>",
            "trigger_url": "<string>"
          }
        },
        "chat_agent_details": {
          "config": {
            "agent_id": "<string>"
          }
        },
        "auto_dial_outbound": true,
        "auto_import_calls": true,
        "auto_sync_prompt": true,
        "send_post_conversation_metadata": true
      },
      "agent_speaks_first": true,
      "knowledge_base_files": "<string>",
      "enabled_personalities": [
        123
      ],
      "webhook_url": "<string>",
      "webhook_secret": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z"
    }
  ],
  "next": "https://api.cekura.ai/example/v1/example-external/?page=4",
  "previous": "https://api.cekura.ai/example/v1/example-external/?page=3"
}

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.

project_id
integer

Filter by project ID

Response

200 - application/json
count
integer
required
Example:

123

results
object[]
required
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"