Skip to main content
POST
/
analyze
/
live
/
{session_id}
/
control
Control session lifecycle
curl --request POST \
  --url https://api.illocution.ai/analyze/live/{session_id}/control \
  --header 'Content-Type: application/json' \
  --header 'X-API-Key: <api-key>' \
  --data '
{
  "action": "finalize"
}
'
{
  "status": "<string>"
}

Authorizations

X-API-Key
string
header
required

API key for authentication. Can also be passed as query parameter: api_key=

Path Parameters

session_id
string
required

Live session identifier

Body

application/json
action
enum<string>
required

Control action: finalize stops ingest and moves to final processing stages; cancel emits an error event; keepalive extends the TTL

Available options:
finalize,
cancel,
keepalive
reason
string

Optional reason for the action

Response

Control action successful

status
string