v1

latestOpenAPI 3.0.32026-07-26229361630.0 KB
protocol

End Session

Finalize the session and start asynchronous processing. After this call no further audio uploads are accepted. The server collects and orders all uploaded chunks, commits the session, and queues it for transcription and template extraction. Poll GET /voice/v1/sessions/{session_id} (or use a webhook) to retrieve results once processing completes.

post/voice/v1/sessions/{session_id}/end

Path parameters

session_idstring required
Example:ses_abc123def456

Session ID returned by Create Session

Request body

audio_files_sentinteger

Optional number of audio chunks/files the client sent, used for reconciliation logging.

Example request

{
  "audio_files_sent": 3
}

Response

Session ended, processing started

session_idstring
statusstring
messagestring
audio_files_receivedinteger
audio_filesstring[]

Example response

{
  "status": "processing",
  "message": "Session ended. Processing started."
}