Skip to content

Now open source · Learn more

DocsStop the microphone and keep no transcript

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

  • okboolean

  • recordingRecordingState

    State of the live recorder. Linux only.

    • is_recordingboolean

      True for the recording state only.

    • statestring

      one of "idle", "recording", "stopping", "transcribing", "retrying", "completed", "cancelled", "failed"

The whole spec is openapi.yaml.