Stop the microphone and keep no transcript
POSThttp://127.0.0.1:{port}/recording/cancel
Send Authorization: Bearer <token>, with the token from the discovery file. See the Local API overview for the port, the token and the response envelope.
Works on Linux only. macOS does not serve this path. Windows answers it with ok: false and the code ENGINE_UNAVAILABLE. The route takes no request body. It stops the recorder at any point and writes no transcript.
Responses
200 Recorder state after the cancel
application/json, RecordingStateResponse
okbooleanrecordingRecordingStateState of the live recorder. Linux only.
is_recordingbooleanTrue for the
recordingstate only.statestringone of "idle", "recording", "stopping", "transcribing", "retrying", "completed", "cancelled", "failed"
The whole spec is openapi.yaml.