Get task status

The status and nothing else — the endpoint to poll on an interval. It also accepts a public access token, so browser code can follow a task without holding an API key.

GET/tasks/{id}/status
AuthAPI keyorPublic access tokenHow to send it

Path parameters

idstringrequired

The task to poll.

e.g. "tsk_01KE7XWWEQ4MCGWKBQKJ1G47RP"

Response

Task status returned

dataobjectrequired
statusstringrequired
"pending""completed""failed"

Errors

A failed call names what went wrong in code, with a sentence in message. The codes, which of them are worth retrying, and how to read a validation failure are on Errors.