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’sprovider, 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’sPOST /audio/transcriptions.
- URL: Bluejay adds
/audio/transcriptionsto your endpoint URL. Forhttps://stt.example.com/v1, it callshttps://stt.example.com/v1/audio/transcriptions. - Auth:
Authorization: Bearer <key>. - Request:
multipart/form-datawithfile(a 16 kHz mono 16-bit WAV),model, andlanguage. - Response: status
200with a JSON body. Bluejay reads only the top-leveltextfield and ignoressegmentsandwords.
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. Forhttps://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
- Your server sends
session.created. - Bluejay sends
session.updatewith the model and language, and withturn_detectionset tonull. - Your server answers
session.updated.
Audio and transcripts
Bluejay sends 16-bit mono PCM at 24 kHz, in 20 ms frames asinput_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,
Authorizationif you leave it empty, with the secret exactly as you saved it. For a bearer token, save the secret asBearer <token>. With no secret, Bluejay sends no auth header. - Request:
multipart/form-datawithfile(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://orws://URL, called as you enter it. - Auth:
Authorization: Basicwith 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.startedandspeech.completedmark where each script line starts and ends, withdata.utterance_id. Uploaded recordings have no line timings, so they send none. - End: a
markframe withdata.nameset tostream.end. Bluejay then closes the socket without waiting for a reply.
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.
speakeris 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.