Polling
Task dispatch is asynchronous. Poll GET /api/v1/requests/:id until the request is fulfilled or failed.
{
"request": {
"id": "req_01J0X1BX0Y3E4B1XM0TSAM0SZY",
"status": "fulfilled",
"entity_type": "task",
"entity_id": "93a2f9f7-bc8d-40e4-8ecf-d02150846dc6",
"error_message": null
}
}
Statuses
accepted means Obelisk received the request. dispatched means it was handed to the Scribe. fulfilled means the backing task was created. failed includes an error_message.