General Documentation
Agents
Agent Executions
Test Suites
Projects
WhatsApp Conversations
Customers
WhatsApp Configs
Agent Test Chats
Conversation Assignments
WhatsApp Templates
WhatsApp Contact Notes
Agent Snapshots
WhatsApp Conversations
List agent executions for a WhatsApp conversation
Returns all agent executions associated with a specific WhatsApp conversation
GET
/
whatsapp_conversations
/
{conversation_id}
/
agent_executions
Copy
curl --request GET \
--url https://app.kapso.ai/api/v1/whatsapp_conversations/{conversation_id}/agent_executions \
--header 'X-API-Key: <api-key>'
Copy
{
"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
API key required for all endpoints
Path Parameters
Query Parameters
Required range:
x >= 1
Required range:
1 <= x <= 100
Response
200
application/json
A list of agent execution associations
The response is of type object
.
Copy
curl --request GET \
--url https://app.kapso.ai/api/v1/whatsapp_conversations/{conversation_id}/agent_executions \
--header 'X-API-Key: <api-key>'
Copy
{
"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
}
}
Assistant
Responses are generated using AI and may contain mistakes.