The Batch API is served from
https://api.batch.slng.ai, not https://api.slng.ai like the rest of the SLNG API.- An SLNG API key
- Audio in a supported format:
wav,mp3,flac,aac,ogg,m4a,mp4,amr,mpeg
Input Methods
Method 1: File Upload
Upload the audio file directly usingmultipart/form-data.
Method 2: URL Input
Provide a publicly accessible HTTPS URL. The system downloads the file (max 1 GB). Supports presigned S3/GCS URLs for private files.| Field | Type | Required | Description |
|---|---|---|---|
input_url | string | yes | HTTPS URL of the audio file |
transcription_config | object | yes | Transcription settings |
job_id | string | no | Alphanumeric job ID (auto-generated if omitted) |
model_code | string | no | Model to use (default: slng/speechmatics/batch:15.0.0) |
metadata | object | no | Arbitrary key-value metadata |
Method 3: Presigned Upload
For large files or when you need upload progress tracking. This is a 3-step process. Step 1 — Request a presigned S3 upload URL:Job Lifecycle
After submission, a job moves through these statuses:QUEUED → IN_PROGRESS → DECODING → DONE / FAILED
Poll GET /v1/batch/jobs/{jobId} until the status reaches DONE or FAILED:
DONE, retrieve the transcript:
Transcription Config
| Field | Type | Default | Description |
|---|---|---|---|
language | string | en | Language code for the audio |
operating_point | string | standard | Accuracy level: standard or enhanced |
diarization | string | none | Speaker separation: none, speaker, or channel |
domain | string | — | Domain-specific language model |
output_locale | string | — | Locale for formatting (dates, numbers) |
enable_entities | boolean | — | Detect and format entities (dates, times, addresses) |
additional_vocab | array | — | Custom words to improve recognition |
Limits
| Limit | Value |
|---|---|
| Max file size | 1 GB |
| Presigned upload URL expiry | 30 minutes |
| Supported audio formats | wav, mp3, flac, aac, ogg, m4a, mp4, amr, mpeg |
| URL input scheme | HTTPS only |
Next Steps
Batch API reference
Endpoint details, request schemas, and response formats
Getting started
Set up your API key and make your first request