Transcribe audio
API key as a bearer token: Authorization: Bearer sk-ollm-<public_id>-<secret>. Required on the dev gateway; the prod gateway is open and ignores this header.
In: header
The audio file to transcribe.
Model name as registered in the gateway config.
ISO-639-1 language code.
Optional context string.
"json""json" | "text" | "srt" | "verbose_json" | "vtt"float0 <= value <= 1Response Body
application/json
application/json
application/json
curl -X POST "https://api.gateway.orgn.com/v1/audio/transcriptions" \ -F file="string" \ -F model="string"{
"text": "string"
}{
"error": {
"message": "string",
"type": "string",
"code": "string",
"param": "string"
}
}{
"error": {
"message": "string",
"type": "string",
"code": "string",
"param": "string"
}
}{
"error": {
"message": "string",
"type": "string",
"code": "string",
"param": "string"
}
}Rerank documents POST
Rank a list of documents by relevance to a query (Cohere-compatible shape). The gateway proxies the request to the model's first provider, which must be an OpenAI-type provider exposing a `/rerank` endpoint.
Health check GET
Returns the availability of backing services (Postgres, ClickHouse, Valkey). Returns 200 when healthy, otherwise a non-2xx status with per-service detail. Never requires authentication.