GET
/
api
/
agents
/
{agentId}
/
calls
curl --request GET \
  --url https://api.getstrada.com/api/agents/{agentId}/calls \
  --header 'Authorization: Bearer <token>'
{
  "calls": [
    {
      "id": "<string>",
      "type": "<string>",
      "assistantId": "<string>",
      "phoneNumber": "<string>",
      "endedReason": "<string>",
      "startedAt": "2023-11-07T05:31:56Z",
      "endedAt": "2023-11-07T05:31:56Z",
      "analysis": {},
      "messages": [
        {
          "role": "bot",
          "message": "<string>",
          "secondsFromStart": 123,
          "time": "<string>",
          "endTime": "<string>",
          "duration": 123,
          "name": "<string>",
          "result": {},
          "toolCall": {}
        }
      ],
      "name": "<string>",
      "url": "<string>",
      "recordingUrl": "<string>",
      "summary": "<string>"
    }
  ]
}

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
createdAtLt
string
exclude
enum<string>[]
Available options:
recordingUrl,
summary

Response

200
application/json
Successfully retrieved calls
calls
object[]