Retrieve running jobs
June 3, 2025
Table of contents
This endpoint retrieves information about currently running API jobs.
https://api.useapi.net/v1/ltxstudio/scheduler
Request Headers
Authorization: Bearer {API token}
API token
is required, see Setup useapi.net for details.
Responses
-
[ { "jobId": "email:[email protected]:7a34b821-9fd0-205e-d21b-4abc6f7839e7-type:image", "email": "[email protected]", "started": "2025-06-03T12:34:56.789Z", "elapsed": "03:45", "replyUrl": "https://example.com/webhook", "replyRef": "reference-id" }, { "jobId": "email:[email protected]:8b45c932-0ae1-316f-e32c-5bcd7g8940f8-type:video", "email": "[email protected]", "started": "2025-06-03T12:45:67.890Z", "elapsed": "02:34", "replyUrl": "https://example.com/webhook", "replyRef": "reference-id-2" } ]
-
{ "error": "Unauthorized", "code": 401 }
Model
{ // TypeScript, all fields are optional
jobId: string
email: string // Account email
started: string // ISO timestamp of when the job started
elapsed: string // Elapsed time in MM:SS format
replyUrl: string // Webhook URL to notify when the job completes
replyRef: string // Reference ID for the webhook
}[]
Examples
-
curl "https://api.useapi.net/v1/ltxstudio/scheduler" \ -H "Accept: application/json" \ -H "Authorization: Bearer …"
-
const token = "API token"; const apiUrl = "https://api.useapi.net/v1/ltxstudio/scheduler"; const response = await fetch(apiUrl, { headers: { "Authorization": `Bearer ${token}`, }, }); const result = await response.json(); console.log("response", {response, result});
-
import requests token = "API token" apiUrl = "https://api.useapi.net/v1/ltxstudio/scheduler" headers = { "Authorization" : f"Bearer {token}" } response = requests.get(apiUrl, headers=headers) print(response, response.json())