Passer au contenu principal
GET
/
tasks
/
{taskId}
Get task status
curl --request GET \
  --url https://api.youka.io/api/v1/tasks/{taskId} \
  --header 'Authorization: Bearer <token>'
{
  "id": "<string>",
  "type": "create-karaoke",
  "status": "created",
  "error": "<string>",
  "output": {
    "projectId": "<string>"
  }
}

Autorisations

Authorization
string
header
requis

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Paramètres de chemin

taskId
string
requis

Réponse

200 - application/json

Task status and hydrated output

id
string
requis
type
enum<string>
requis
Options disponibles:
create-karaoke,
sync-lyrics,
stem-separation,
generate-video,
generate-chords,
export-project
status
enum<string>
requis
Options disponibles:
created,
queued,
in-progress,
completed,
failed,
cancelled,
timed-out,
finalized
error
string | null
output
object