List scheduled jobs
May 15, 2025
Table of contents
Get a list of currently executing music generation jobs.
https://api.useapi.net/v1/tempolor/scheduler/
Request Headers
Authorization: Bearer {API token}
API token
is required, see Setup useapi.net for details.
Responses
-
The response contains an array of currently executing music generation jobs.
[ { "job_id": "user:12345-tempolor:user_id-job:abcdef123456789", "started": "2025-05-15T12:34:56.789Z", "elapsed": "01:23", "replyUrl": "https://example.com/callback", "replyRef": "my-reference" } ]
-
{ "error": "Unauthorized", "code": 401 }
Model
[
{ // TypeScript representation of each job
job_id: string
started: string // ISO timestamp when the job started
elapsed: string // Time elapsed since start in MM:SS format
replyUrl?: string // Optional callback URL if specified during job creation
replyRef?: string // Optional reference if specified during job creation
}
]
Examples
-
curl "https://api.useapi.net/v1/tempolor/scheduler/" \ -H "Authorization: Bearer …"
-
const token = "API token"; const apiUrl = "https://api.useapi.net/v1/tempolor/scheduler/"; const response = await fetch(apiUrl, { headers: { "Authorization": `Bearer ${token}` } }); const result = await response.json(); console.log("Current jobs:", result);
-
import requests token = "API token" api_url = "https://api.useapi.net/v1/tempolor/scheduler/" headers = { 'Authorization': f'Bearer {token}' } response = requests.get(api_url, headers=headers) result = response.json() print("Current jobs:", result)