Skip to main content
GET
/
api
/
agents
/
{agentId}
/
chats
List chats for an agent
curl --request GET \
  --url https://api.getstrada.com/api/agents/{agentId}/chats \
  --header 'Authorization: Bearer <token>'
{
  "chats": [
    {
      "chatId": "<string>",
      "agentId": "<string>",
      "customerUniqueId": "<string>",
      "createdAt": "2023-11-07T05:31:56Z",
      "handedOffAt": "2023-11-07T05:31:56Z",
      "terminatedAt": "2023-11-07T05:31:56Z",
      "abandonedAt": "2023-11-07T05:31:56Z",
      "summary": "<string>",
      "analysis": {},
      "transcript": {
        "messages": [
          {
            "role": "bot",
            "content": "<string>",
            "toolCallId": "<string>",
            "toolCalls": [
              {}
            ]
          }
        ]
      },
      "chatVariables": {},
      "status": "active"
    }
  ]
}

Authorizations

Authorization
string
header
required

API Key authentication

Path Parameters

agentId
string
required

ID of the agent to list chats for

Query Parameters

createdAtGt
string<date-time>
createdAtLt
string<date-time>
exclude
enum<string>[]

Response

Successfully retrieved chats

chats
object[]
I