Docs
Get an API key

Cancel or Delete Music

DEL /v1/music/{id} View .md

A pending or in_progress job is cancelled and not billed; it answers with the job, now cancelled, and a render that has started stops within about 10 seconds. A finished job is deleted with its audio and answers {id, object, deleted}.

  • id string required

    The music job's ID, music_ followed by 24 hex characters.

OK

application/json

curl -X DELETE https://api.vultrinference.com/v1/music/{id} \
  -H "Authorization: Bearer $VULTR_INFERENCE_API_KEY"
Response · 200
{
    "id": "music_0123456789abcdef01234567",
    "object": "music",
    "model": "string",
    "task": "string",
    "status": "pending",
    "progress": 0,
    "created_at": 1790000000,
    "polling_url": "string",
    "warnings": [
        {
            "code": "string",
            "field": "string",
            "message": "string"
        }
    ]
}