Get Jobs
Imagine having a long list of transcription jobs and needing to find just the right ones—whether they're complete, in progress, or need filtering by language. The Get Jobs API endpoint is like sifting through a warehouse of tasks, allowing you to filter by status, language, and even paginate through the results. Efficiency at its best!
Endpoint
https://api.betatel.com/api/v1/stt/job/job?status=completed&language=en&offset=0&limit=5
Tweak the query parameters to narrow down your search for jobs. Adjust status
, language
, offset
, and limit
to get the perfect batch of results.
Parameter | Value | Type | Required | Description |
---|---|---|---|---|
status | completed | string | No | Filter jobs by their status (e.g., processing , completed ). |
language | en | string | No | Retrieve jobs filtered by language (e.g., en , es ). |
offset | 0 | int | No | The starting point for pagination. |
limit | 5 | int | No | The maximum number of jobs to return. |
Headers
Essential keys to unlock the data:
Param | Value | Description |
---|---|---|
x-api-key | {{x-api-key}} | Your unique API key for secure access. |
x-user-id | {{x-user-id}} | Your user identifier for added security and tracking. |
Code Snippets
Use any of the following code snippets to fetch your filtered jobs in your preferred programming language:
- cUrl
- Python
- Node.js
- PHP
- Java
- C#
Example - cURL
curl --location 'https://dev.api.betatel.com/api/v1/stt/job?status=completed&language=en&offset=0&limit=5' \
--header 'x-user-id: 6757f3ffb5e62f0ce0e513a2' \
--header 'x-api-key: ••••••'
Example - Python
import http.client
conn = http.client.HTTPSConnection("dev.api.betatel.com")
payload = ''
headers = {
'x-user-id': '6757f3ffb5e62f0ce0e513a2',
'x-api-key': '