POST
/
api
/
gateway
/
v1
/
audio
/
transcriptions
curl --request POST \
  --url http://localhost:3000/api/gateway/v1/audio/transcriptions \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: multipart/form-data' \
  --form model=openai/gpt-4o-mini \
  --form 'metadata={
  "waystone": "{\n\t\t\t\t\t\t\"user\": {\n\t\t\t\t\t\t\t\"id\": \"user123\",\n\t\t\t\t\t\t\t\"metadata\": { \"email\": \"user@example.com\", \"name\": \"John Doe\" }\n\t\t\t\t\t\t}\n\t\t\t\t\t}"
}' \
  --form store=false \
  --form 'language=<string>' \
  --form 'prompt=<string>' \
  --form response_format=json \
  --form stream=false
[
  {
    "delta": "<string>",
    "type": "<string>",
    "logprobs": [
      {
        "bytes": [
          "<any>"
        ],
        "logprob": 123,
        "token": "<string>"
      }
    ]
  }
]

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

multipart/form-data

Response

200 - application/json

Stream of transcription events

The response is of type object[].