Job status

When you use the Async API to submit or append video, audio, or text, the API returns a job ID. The job ID can be used to check the status of the processing job. The time it takes a job to finish depends on the length of the conversation.


Get job status

To get the the status of a processing job, use the GET <https://api.symbl.ai/v1/job/{jobId}> operation:

👍

Try our interactive examples!

We provide interactive versions of these code samples: curl, Node.js, Python

To get started with our code samples, see Set Up Your Test Environment.

ACCESS_TOKEN="<ACCESS_TOKEN>"
JOB_ID="<JOB_ID>"

curl --request GET \
--url "https://api.symbl.ai/v1/job/$JOB_ID" \
--header "Authorization: Bearer $ACCESS_TOKEN" \
--header "Content-Type: application/json"
import fetch from 'node-fetch';

const accessToken = '<ACCESS_TOKEN>';
const jobId = '<JOB_ID>';

const fetchResponse = await fetch(`https://api.symbl.ai/v1/job/${jobId}`, {
  method: 'get',
  headers: {
    'Authorization': `Bearer ${accessToken}`,
    'Content-Type': 'application/json'
  }
});

const responseBody = await fetchResponse.json();

console.log(responseBody);
import requests

access_token = "<ACCESS_TOKEN>"
job_id = "<JOB_ID>"

headers = {
  "Authorization": "Bearer " + access_token,
  "Content-Type": "application/json"
}

response = requests.request(
  method="GET", 
  url="https://api.symbl.ai/v1/job/" + job_id,
  headers=headers
)

print(response.json())

Where:


Response

{
  "id": "9b1deb4d-3b7d-4bad-9bdd-2b0d7b3dcb6d",
  "status": "in_progress"
}

Response Fields

FieldDescription
idThe ID of the job.
statusIs one of type scheduled, in_progress, completed, failed.

Did this page help you?