Skip to main content
GET
/
api
/
agents
/
{agentId}
/
calls
List calls for an agent
curl --request GET \
  --url https://api.getstrada.com/api/agents/{agentId}/calls \
  --header 'Authorization: Bearer <token>'
{
  "calls": [
    {
      "callId": "<string>",
      "agentId": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "status": "queued",
      "type": "inboundPhoneCall",
      "campaignName": "<string>",
      "startedAt": "2023-11-07T05:31:56Z",
      "recordingUrl": "<string>",
      "endedAt": "2023-11-07T05:31:56Z",
      "endedBy": "Agent ended the call",
      "customerNumber": "<string>",
      "endedReason": "<string>",
      "summary": "<string>",
      "analysis": {},
      "transcript": [
        {
          "role": "bot",
          "message": "<string>",
          "secondsFromStart": 123,
          "time": "<string>",
          "endTime": "<string>",
          "duration": 123,
          "name": "<string>",
          "result": {},
          "toolCall": {}
        }
      ],
      "url": "<string>",
      "callVariables": {},
      "phoneNumber": "<string>",
      "campaignParentCallIds": [
        "<string>"
      ],
      "transferDestination": "<string>"
    }
  ],
  "metadata": {
    "nextPage": "<string>"
  }
}

Documentation Index

Fetch the complete documentation index at: https://docs.getstrada.com/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

API Key authentication

Path Parameters

agentId
string
required

ID of the agent to list calls for

Query Parameters

campaignNames
string[]
endedReasons
string[]
customerNumbers
string[]
createdAtGt
string<date-time>
createdAtLt
string<date-time>
call
enum<string>[]
Available options:
recordingUrl,
summary

Response

Successfully retrieved calls

calls
object[]
metadata
object