POST
/
agents
/
{agent_id}
/
executions
/
{execution_id}
/
resume
curl --request POST \
  --url https://app.kapso.ai/api/v1/agents/{agent_id}/executions/{execution_id}/resume \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '{
  "message": {
    "type": "user_input",
    "content": {
      "text": "I need help with my order"
    }
  }
}'
{
  "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

X-API-Key
string
header
required

API key required for all endpoints

Path Parameters

agent_id
string
required
execution_id
string
required

Body

application/json

Response

200
application/json

Execution resume accepted

The response is of type object.