CRDB tasks requests
| Method | Path | Description |
|---|---|---|
| GET | /v1/crdb_tasks/{task_id} | Get the status of an executed task |
Get task status
GET /v1/crdb_tasks/{task_id}
Get the status of an executed task.
The status of a completed task is kept for 500 seconds by default.
Request
Example HTTP request
GET /crdb_tasks/1
Request headers
| Key | Value | Description |
|---|---|---|
| X-Result-TTL | integer | Task time to live |
URL parameters
| Field | Type | Description |
|---|---|---|
| task_id | string | Task ID |
Response
Returns a CRDB task object.
Status codes
| Code | Description |
|---|---|
| 200 OK | Task status. |
| 401 Unauthorized | Unauthorized request. Invalid credentials |
| 404 Not Found | Task not found. |