Skip to main content
Use a custom endpoint to run STT benchmarks against a transcription service that is not in the model library, such as your own model or a self-hosted server. Pick the option whose format your service already speaks. None of the four receive the dataset’s vocabulary. Only the two OpenAI options receive a language, the code of the first speaker’s language, such as en.

Add the model

On the Models tab, click Add model and pick an option that starts with Your own endpoint. Bluejay stores the secret encrypted and never shows it again. To add it through the API, call Create Model Config with the option’s provider, your and , and for the OpenAI options a model. Custom HTTP takes and Custom CHIRP takes . A run keeps the endpoint URL it started with. A new secret applies at once, even to a run in progress.

OpenAI-compatible (batch)

Bluejay sends each item as one request in the format of OpenAI’s POST /audio/transcriptions.
  • URL: Bluejay adds /audio/transcriptions to your endpoint URL. For https://stt.example.com/v1, it calls https://stt.example.com/v1/audio/transcriptions.
  • Auth: Authorization: Bearer <key>.
  • Request: multipart/form-data with file (a 16 kHz mono 16-bit WAV), model, and language.
  • Response: status 200 with a JSON body. Bluejay reads only the top-level text field and ignores segments and words.
The request times out after Timeout per item, and never sooner than 60 seconds.

OpenAI Realtime-compatible (streaming)

Bluejay streams each item in real time over a WebSocket in the format of OpenAI’s Realtime transcription.
  • URL: Bluejay switches the scheme to wss:// and adds /realtime?intent=transcription. For https://stt.example.com/v1, it connects to . Do not put a query string in your endpoint URL.
  • Auth: Authorization: Bearer <key> on the upgrade request.

Session

  1. Your server sends session.created.
  2. Bluejay sends session.update with the model and language, and with turn_detection set to null.
  3. Your server answers session.updated.

Audio and transcripts

Bluejay sends 16-bit mono PCM at 24 kHz, in 20 ms frames as input_audio_buffer.append events with base64 audio. It detects speech itself and sends input_audio_buffer.commit after each phrase and at the end of the audio. Your server returns one final per commit. Bluejay reads three event types. After the last commit, Bluejay waits up to 5 seconds for the remaining finals, then closes the socket. Latency uses Bluejay’s own clock, so the timestamps you send are not used.

Custom HTTP (batch)

Bluejay posts each item’s audio to your URL. Your service answers right away and posts the transcript back when it is ready, as described in Post the transcript.
  • URL: called exactly as you enter it.
  • Auth: the header named in Auth header, Authorization if you leave it empty, with the secret exactly as you saved it. For a bearer token, save the secret as Bearer <token>. With no secret, Bluejay sends no auth header.
  • Request: multipart/form-data with file (a 16 kHz mono 16-bit WAV) and . Keep the to post the transcript.
  • Response: any 2xx. Bluejay ignores the body.
Time to transcript starts when your service responds, so time spent before the response does not count. Respond within Timeout per item.

Custom CHIRP (WebSocket)

Bluejay streams each item to your WebSocket in real time, using the same frame format as WebSocket agents with audio in one direction only. Your service posts the transcript back, as described in Post the transcript. Bluejay does not read a transcript from the socket.
  • URL: a wss:// or ws:// URL, called as you enter it.
  • Auth: Authorization: Basic with your Username and Password, sent only when both are set.
  • Headers: carries the run item ID you post the transcript for.

Frames Bluejay sends

  • Audio: binary frames of 16 kHz mono 16-bit little-endian PCM, 20 ms each (640 bytes), sent in real time and followed by 1.5 seconds of silence.
  • Events: JSON text frames shaped {"type", "id", "ts_ms", "data"}. speech.started and speech.completed mark where each script line starts and ends, with data.utterance_id. Uploaded recordings have no line timings, so they send none.
  • End: a mark frame with data.name set to stream.end. Bluejay then closes the socket without waiting for a reply.
Bluejay reads only session.error frames from your service, and only logs them.

Post the transcript

Custom HTTP and Custom CHIRP send the transcript back with one request to Post Run Item Transcript. Authenticate with a Bluejay API key that can write to the run’s workspace.
  • Every entry needs all four fields. speaker is your own label, and the offsets are whole milliseconds.
  • Put the entries in spoken order. Bluejay scores the utterances in array order, and speakers and offsets do not change the score.
  • Post the whole transcript in one request. Each post replaces the last one, and Bluejay scores the newest transcript once it has not changed for 5 seconds. A partial transcript posted early is scored as it is.
  • With no transcript by Timeout per item after the audio ends, the item fails with No transcript.

Limits

Last modified on November 24, 2026