Skip to main content
POST
Finish an API-chat run

Authorizations

X-CEKURA-API-KEY
string
header
required

API Key Authentication. It should be included in the header of each request.

Path Parameters

id
integer
required

A unique integer value identifying this run.

Body

Request body for POST /runs/{run_id}/end-chat/ (finish the chat).

reason
string

Optional end reason, e.g. 'main_agent_ended_call'.

Response

200 - application/json

Response for POST /runs/{run_id}/end-chat/.

run_id
integer
required
result_id
integer
required
status
string
required