Get list of currently executing PixVerse jobs
Table of contents
https://api.useapi.net/v1/pixverse/jobs
Request Headers
Authorization: Bearer {API token}
API token
is required, see Setup useapi.net for details.
Responses
-
[ "<jobid>", "<jobid>", "<jobid>" ]
-
{ "error": "Unauthorized", "code": 401 }
-
{ "error": "Account has no subscription or subscription expired", "code": 402 }
Model
// TypeScript
string[]
Examples
-
curl https://api.useapi.net/v1/pixverse/jobs \ -H "Accept: application/json" \ -H "Authorization: Bearer …"
-
const token = "API token"; const apiUrl = `https://api.useapi.net/v1/pixverse/jobs`; 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 = f"https://api.useapi.net/v1/pixverse/jobs" headers = { "Content-Type": "application/json", "Authorization" : f"Bearer {token}" } response = requests.get(apiUrl, headers=headers) print(response, response.json())