Assistant
Transcribe recorded assistant audio.
Upload a completed audio recording for transcription without exposing provider credentials to the client.
POST
/
api
/
v1
/
assistant
/
audio
/
transcriptions
Transcribe recorded assistant audio.
curl --request POST \
--url https://api.revoengine.com/api/v1/assistant/audio/transcriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-fileconst form = new FormData();
form.append('file', '<string>');
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
options.body = form;
fetch('https://api.revoengine.com/api/v1/assistant/audio/transcriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/assistant/audio/transcriptions"
files = { "file": ("example-file", open("example-file", "rb")) }
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, files=files, headers=headers)
print(response.text){
"text": "<string>",
"model": "<string>",
"idempotencyKey": "<string>"
}Authorizations
Bearer JWT token or API Key (sk-*).
Body
multipart/form-data
Recorded assistant voice command audio upload.
⌘I
Transcribe recorded assistant audio.
curl --request POST \
--url https://api.revoengine.com/api/v1/assistant/audio/transcriptions \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: multipart/form-data' \
--form file=@example-fileconst form = new FormData();
form.append('file', '<string>');
const options = {method: 'POST', headers: {Authorization: 'Bearer <token>'}};
options.body = form;
fetch('https://api.revoengine.com/api/v1/assistant/audio/transcriptions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.revoengine.com/api/v1/assistant/audio/transcriptions"
files = { "file": ("example-file", open("example-file", "rb")) }
headers = {"Authorization": "Bearer <token>"}
response = requests.post(url, files=files, headers=headers)
print(response.text){
"text": "<string>",
"model": "<string>",
"idempotencyKey": "<string>"
}
