---
title: "OpenAI audio transcriptions"
method: POST
path: "/v1/audio/transcriptions"
---

# OpenAI audio transcriptions

`POST /v1/audio/transcriptions`

## Request

- Base URL: `https://api.agentlab.cresclab.com`
- URL: `https://api.agentlab.cresclab.com/v1/audio/transcriptions`
- Auth: one of:
  - HTTP bearer
  - API key in header `x-api-key`
- TypeScript: <https://skmtc.dev/cresclab/apis/agent-lab-ai-gateway/docs/v1/audio/transcriptions/post.ts> (a function with typed inputs; its response is checked against the schema)

Relayed to a transcription model as sent, apart from model. stream is refused. Settled by the audio duration the provider reports, or a WAV or MP3 file measures, for a model priced by the minute; by the reported tokens for a model priced by tokens.

## Headers

- `Idempotency-Key` string

## Request body `multipart/form-data`

- object
  - `model` string, required: A model of this kind enabled for the workspace; auto is refused.
  - `file` string, binary, required
  - `language` string
  - `prompt` string
  - `response_format` string
  - `temperature` number

## Response `200`

The transcription, in the response format asked for.

- object

## Other responses

- `400`: Refused request. See the error catalog.
- `401`: Missing or not accepted key.
- `403`: Not allowed for this key or workspace.
- `429`: Rate limited or out of allowance. Retry-After and X-Should-Retry say whether to retry.
- `502`: The provider failed to answer.
- `503`: Gateway unavailable or settlement pending.

---

[API](https://skmtc.dev/cresclab/apis/agent-lab-ai-gateway.md) - [All operations](https://skmtc.dev/cresclab/apis/agent-lab-ai-gateway/llms.txt) - [OpenAPI document](https://skmtc.dev/cresclab/apis/agent-lab-ai-gateway/revisions/5dc08011cbe9?raw)
