Skip to main content
DELETE
Ends a translation session. If the WebSocket is connected, it receives a final session_ended control message and is closed. Pending sessions (created but never connected) are also cleaned up — useful for releasing a concurrency slot you no longer need. Terminating an already-ended session is a no-op and returns the session’s final state.

Authentication

authorization
string
required
Your API key for authentication

Path Parameters

session_id
string
required
The session UUID returned by POST /v1/translation/sessions

Body Parameters

reason
string
Optional context (max 200 characters) recorded with the session’s end_reason as api_terminated:<reason>.

Response

Returns the same session object as Get Translation Session, with status and end_reason reflecting the termination.