List Music
Your music jobs, newest first.
Query parameters
-
limit integerdefault 20range 1–100
-
after string
A job id from the previous page (
last_id); returns the jobs created before it.
Responses
OK
application/json · music-list-payload
The API key is missing, unknown or not active. Send it as Authorization: Bearer <key>.
application/json · error-payload
limit or after is malformed; the message names it
application/json · error-payload
curl https://api.vultrinference.com/v1/music \
-H "Authorization: Bearer $VULTR_INFERENCE_API_KEY"import os
import requests
response = requests.get(
"https://api.vultrinference.com/v1/music",
headers={"Authorization": f"Bearer {os.environ['VULTR_INFERENCE_API_KEY']}"},
)
print(response.json())const response = await fetch("https://api.vultrinference.com/v1/music", {
headers: {
Authorization: `Bearer ${process.env.VULTR_INFERENCE_API_KEY}`,
},
});
console.log(await response.json());Response · 200
{
"object": "list",
"data": [
{
"id": "music_0123456789abcdef01234567",
"object": "music",
"model": "string",
"task": "string",
"status": "pending",
"progress": 0,
"created_at": 1790000000,
"polling_url": "string",
"warnings": [
{}
]
}
],
"first_id": "string",
"last_id": "string",
"has_more": false
}