Get VOC job status
curl --request GET \
--url https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "job-voc-001",
"status": "started",
"started": 1769557000000,
"file": "tenant-alpha/ingest/queue/uploads/call-123.mp3",
"recordingId": "call-123"
}{
"code": "BadRequest",
"message": "Invalid request parameters"
}{
"code": "Unauthenticated",
"message": "Authorization header with Bearer token is required"
}{
"code": "PermissionDenied",
"message": "API key does not allow this operation"
}{
"code": "NotFound",
"message": "Resource not found"
}VOC
Get VOC recording status
Poll the latest known status for a VOC recording job.
GET
/
api
/
v1
/
voc
/
tenants
/
{tenantId}
/
recording
/
{jobId}
/
status
Get VOC job status
curl --request GET \
--url https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status \
--header 'Authorization: Bearer <token>'import requests
url = "https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://platform.crescendo.ai/api/v1/voc/tenants/{tenantId}/recording/{jobId}/status")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"id": "job-voc-001",
"status": "started",
"started": 1769557000000,
"file": "tenant-alpha/ingest/queue/uploads/call-123.mp3",
"recordingId": "call-123"
}{
"code": "BadRequest",
"message": "Invalid request parameters"
}{
"code": "Unauthenticated",
"message": "Authorization header with Bearer token is required"
}{
"code": "PermissionDenied",
"message": "API key does not allow this operation"
}{
"code": "NotFound",
"message": "Resource not found"
}Use this endpoint to poll the status of a previously uploaded recording.
Status values
startedcompletedfailed
Example: poll with curl
export CRESCENDO_TENANT_ID="tenant-alpha"
export CRESCENDO_API_KEY="YOUR_API_KEY"
export VOC_JOB_ID="job-voc-001"
curl -sS \
-H "Authorization: Bearer $CRESCENDO_API_KEY" \
"https://platform.crescendo.ai/api/v1/voc/tenants/$CRESCENDO_TENANT_ID/recording/$VOC_JOB_ID/status"
Example: poll until completion (bash)
while true; do
body="$(curl -sS -H "Authorization: Bearer $CRESCENDO_API_KEY" \
"https://platform.crescendo.ai/api/v1/voc/tenants/$CRESCENDO_TENANT_ID/recording/$VOC_JOB_ID/status")"
status="$(node -e "console.log(JSON.parse(process.argv[1]).status)" "$body")"
echo "status=$status"
if [ "$status" = "completed" ] || [ "$status" = "failed" ]; then
break
fi
sleep 5
done
Authorizations
bearerAuthbearerTokenQuery
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Tenant identifier.
VOC job execution identifier returned by the upload endpoint.
Response
OK
⌘I

