GET
/
calls
curl --request GET \
  --url https://api.prod.usesimple.ai/api/v1/calls \
  --header 'Authorization: <api-key>'
{
  "calls": [
    {
      "id": 123,
      "simple_uuid": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "record": true,
      "language": "en",
      "from_number": "<string>",
      "to_number": "<string>",
      "status": "<string>",
      "started_at": "2023-11-07T05:31:56Z",
      "ended_at": "2023-11-07T05:31:56Z",
      "duration": 123,
      "created_at": "2023-11-07T05:31:56Z",
      "prompt": {
        "prompt_text": "<string>",
        "created_at": "2023-11-07T05:31:56Z"
      },
      "transcripts": [
        {
          "text": "<string>",
          "role": "<string>",
          "timestamp": "2023-11-07T05:31:56Z",
          "function_name": "<string>",
          "arguments": {}
        }
      ],
      "recording_presigned_url": "<string>",
      "call_prompt": "<string>",
      "answered_by": "voicemail",
      "analyzers": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "prompt": "<string>",
          "output_config": {
            "type": "string",
            "properties": {}
          }
        }
      ],
      "analysis_results": [
        {
          "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "analyzer_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
          "prompt": "<string>",
          "output_config": {},
          "result": {}
        }
      ]
    }
  ],
  "total_count": 123,
  "page": 123,
  "page_size": 123,
  "total_pages": 123
}

Authorizations

Authorization
string
header
required

Query Parameters

page
integer | null
default:1
page_size
integer | null
default:20

Response

200
application/json
Successful Response
calls
object[]
required
total_count
integer
required
page
integer
required
page_size
integer
required
total_pages
integer
required