Create a dictation
Transcribe audio, format raw text, or perform both operations in one multipart request.
POST
/v1/enterprise/dictateAuthorization
X-API-KeyAPI key · headerrequiredLong-lived Enterprise API credential provisioned for trusted servers.
or
AuthorizationBearer token (mlg_ent_client) · headerrequiredShort-lived token for browser, mobile, or desktop clients.
Request body
requiredmultipart/form-datasourcestringrequiredsmart transcribes and formats; transcription returns raw speech-to-text; format processes raw_text without audio.
Allowed:
smarttranscriptionformataudiostring<binary>Required for smart and transcription. M4A is recommended.
raw_textstringRequired when source is format.
contextstringSituation-specific app, screen, document, or cursor context.
dictionarystringNames, custom vocabulary, product terms, acronyms, or replacements.
extra_instructionsstringRequest-specific style, behavior, or formatting instructions.
languagestringLanguage code such as en, es, or fr. Omit for automatic detection.
audio_durationnumberClient-measured audio duration hint.
min 0
transcription_idstringClient correlation ID. The server creates one when omitted.
app_versionstringClient app version for diagnostics.
platformstringClient platform, such as server, web, desktop, or mobile.
storebooleanExplicitly opt into full request, response, and audio persistence.
default: false
Responses
200Dictation completed.
idstringrequiredServer or client-provided transcription ID.
textstringrequiredFormatted result, or normalized raw output when formatting is not requested.
raw_textstringrequiredRaw transcription before formatting.
400The request is invalid.
errorstringcodestringrequest_idstring401The credential is missing, invalid, expired, or revoked.
errorstringcodestringrequest_idstring403The request origin is not allowed.
errorstringcodestringrequest_idstring408The request was cancelled or timed out. The client may retry with backoff.
errorstringcodestringrequest_idstring413The audio upload exceeds the configured limit.
errorstringcodestringrequest_idstring429The API key request limit was exceeded.
errorstringcodestringrequest_idstring500An internal error occurred while processing the request.
errorstringcodestringrequest_idstring503Dictation processing is temporarily unavailable.
errorstringcodestringrequest_idstring504Dictation processing is temporarily unavailable.
errorstringcodestringrequest_idstringRequest
curl -X POST "https://go.monologue.to/v1/enterprise/dictate" \
-H "X-API-Key: YOUR_API_KEY" \
-H "Content-Type: multipart/form-data" \
-d '{
"source": "smart",
"audio": "<binary>",
"language": "en",
"platform": "server"
}'const response = await fetch("https://go.monologue.to/v1/enterprise/dictate", {
method: "POST",
headers: {
"X-API-Key": "YOUR_API_KEY",
"Content-Type": "multipart/form-data"
},
body: JSON.stringify({
"source": "smart",
"audio": "<binary>",
"language": "en",
"platform": "server"
})
});import requests
response = requests.post(
"https://go.monologue.to/v1/enterprise/dictate",
headers={
"X-API-Key": "YOUR_API_KEY",
"Content-Type": "multipart/form-data"
},
json={
"source": "smart",
"audio": "<binary>",
"language": "en",
"platform": "server"
},
)Response
{
"id": "string",
"text": "string",
"raw_text": "string"
}{
"error": "string",
"code": "string",
"request_id": "string"
}{
"error": "string",
"code": "string",
"request_id": "string"
}{
"error": "string",
"code": "string",
"request_id": "string"
}{
"error": "string",
"code": "string",
"request_id": "string"
}{
"error": "string",
"code": "string",
"request_id": "string"
}{
"error": "string",
"code": "string",
"request_id": "string"
}{
"error": "string",
"code": "string",
"request_id": "string"
}{
"error": "string",
"code": "string",
"request_id": "string"
}{
"error": "string",
"code": "string",
"request_id": "string"
}