GET
/
whatsapp_conversations
/
{conversation_id}
/
agent_executions
curl --request GET \
  --url https://app.kapso.ai/api/v1/whatsapp_conversations/{conversation_id}/agent_executions \
  --header 'X-API-Key: <api-key>'
{
  "data": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "active": true,
      "handoff_reason": "<string>",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "agent_execution": {
        "id": "execution-789ghi",
        "agent_id": "agent-123abc",
        "thread_id": "thread-101jkl",
        "status": "running",
        "started_at": "2023-11-07T05:31:56Z",
        "ended_at": "2023-11-07T05:31:56Z",
        "duration": 123
      }
    }
  ],
  "meta": {
    "page": 123,
    "per_page": 123,
    "total_pages": 123,
    "total_count": 123
  }
}

Authorizations

X-API-Key
string
header
required

API key required for all endpoints

Path Parameters

conversation_id
string
required

Query Parameters

page
integer
default:1
Required range: x >= 1
per_page
integer
default:20
Required range: 1 <= x <= 100

Response

200
application/json

A list of agent execution associations

The response is of type object.