curl -X GET \ https://qstash.upstash.io/v1/tasks/:taskId \ -H "Authorization: Bearer <token>"
{ "completedAt": 1678900876543, "error": "Connection timeout", "lastErrorAt": 1678901800000, "maxRetry": 5, "messageId": "msg_123", "nextProcessAt": 1678902100000, "retried": 4, "state": "retrying", "taskId": "tsk_123", "url": "https://example.com" }
This endpoint returns information about a task with the given ID.
Was this page helpful?