cURL
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 \ --form file=@example-file
[ { "delta": "<string>", "type": "<string>", "logprobs": [ { "bytes": [ "<any>" ], "logprob": 123, "token": "<string>" } ] } ]
Transcribes audio into the input language.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Stream of transcription events
The response is of type object[].
object[]