Retrieve available capacity
June 3, 2025 (March 9, 2026)
LTX Studio API has been retired due to low demand. If you are interested in using it, this API can be easily resurrected — please contact [email protected] with your request.
Table of contents
This endpoint retrieves information about available capacity and currently running API jobs.
https://api.useapi.net/v1/ltxstudio/scheduler/available
Request Headers
Authorization: Bearer {API token}
API tokenis required, see Setup useapi.net for details.
Responses
-
{ "executing": [ { "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" } ], "available": [ { "email": "[email protected]", "maxJobs": 5, "executing": 1, "available": 4 }, { "email": "[email protected]", "maxJobs": 3, "executing": 0, "available": 3 } ] } -
{ "error": "Unauthorized", "code": 401 }
Model
{ // TypeScript, all fields are optional
executing: {
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
}[]
available: {
email: string // LTX Studio account email
maxJobs: number // Maximum number of concurrent jobs configured
executing: number // Number of jobs currently executing
available: number // Number of available job slots
}[]
}
Examples
-
curl "https://api.useapi.net/v1/ltxstudio/scheduler/available" \ -H "Accept: application/json" \ -H "Authorization: Bearer …" -
const token = "API token"; const apiUrl = "https://api.useapi.net/v1/ltxstudio/scheduler/available"; 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/available" headers = { "Authorization" : f"Bearer {token}" } response = requests.get(apiUrl, headers=headers) print(response, response.json())