ThinLine Dynamic SolutionsTRANSCRIPTION

API documentation

ThinLine Transcription speaks the OpenAI audio transcription API, so most tools that work with OpenAI Whisper work here by changing the base URL and key. The model is Whisper large-v3, fine-tuned on public safety radio traffic.

Quick start

  1. Sign in and add credit.
  2. Create an API key on the dashboard. It starts with tlt_ and is shown once.
  3. Send audio:
curl https://transcribe.thinlineds.com/v1/audio/transcriptions \
  -H "Authorization: Bearer $THINLINE_KEY" \
  -F [email protected] \
  -F response_format=json
{"text": "Engine 4 respond to 1200 Main Street for a reported structure fire"}

Endpoint

POST https://transcribe.thinlineds.com/v1/audio/transcriptions with a multipart/form-data body.

FieldRequiredDescription
fileYesThe recording. Any common format: m4a/AAC, mp3, wav, ogg/opus, flac and others FFmpeg can read. Up to 15 minutes.
response_formatNoverbose_json (default), json or text.
languageNoDefaults to en. The model is tuned for English radio traffic.
modelNoAccepted for compatibility (for example whisper-1) and ignored.

Headers

HeaderDescription
Authorization: Bearer tlt_…Your API key. Required.
X-TLR-Call-IDOptional. Your own call ID; it appears next to the call in your usage history.
X-TLR-System, X-TLR-TalkgroupOptional labels stored with the call.

Responses

verbose_json returns the text plus one segment per 30-second window:

{
  "task": "transcribe",
  "language": "en",
  "duration": 7.42,
  "text": "Medic 12 en route",
  "segments": [{"id": 0, "seek": 0, "start": 0.0, "end": 7.42, "text": "Medic 12 en route"}]
}

Examples

Python (OpenAI SDK)

from openai import OpenAI

client = OpenAI(base_url="https://transcribe.thinlineds.com/v1", api_key="tlt_...")
with open("call.m4a", "rb") as f:
    result = client.audio.transcriptions.create(model="whisper-1", file=f)
print(result.text)

Node.js (OpenAI SDK)

import fs from "node:fs";
import OpenAI from "openai";

const client = new OpenAI({ baseURL: "https://transcribe.thinlineds.com/v1", apiKey: process.env.THINLINE_KEY });
const result = await client.audio.transcriptions.create({ model: "whisper-1", file: fs.createReadStream("call.m4a") });
console.log(result.text);

Other tools

Anything with an "OpenAI-compatible" or "custom Whisper endpoint" setting can use ThinLine Transcription. Set the base URL to https://transcribe.thinlineds.com/v1 (or the full endpoint above if the tool asks for it) and the API key to your tlt_ key.

Billing

Limits

Errors

Errors are JSON: {"detail": "…"}.

StatusMeaningWhat to do
400The audio couldn't be decoded.Check the file. Don't retry unchanged.
401Missing, wrong or revoked API key.Check the key on your dashboard.
402Not enough credit for this call.Add credit, then retry.
413Recording longer than 15 minutes.Split it.
429Too many of your calls in progress.Retry after a second or two.
503The service is busy or briefly unavailable.Retry with backoff; honour Retry-After.

Support

Email [email protected].