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
Agent Executions
Get agent execution details
Returns details for a specific agent execution
GET
/
agents
/
{agent_id}
/
executions
/
{execution_id}
Copy
curl --request GET \
--url https://app.kapso.ai/api/v1/agents/{agent_id}/executions/{execution_id} \
--header 'X-API-Key: <api-key>'
Copy
{
"data": {
"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
}
}
Authorizations
API key required for all endpoints
Response
200
application/json
Agent execution details
The response is of type object
.
Copy
curl --request GET \
--url https://app.kapso.ai/api/v1/agents/{agent_id}/executions/{execution_id} \
--header 'X-API-Key: <api-key>'
Copy
{
"data": {
"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
}
}
Assistant
Responses are generated using AI and may contain mistakes.