SDK Reference
Get Task Status
Check the status of a previously submitted task.
Description
The Get Task Status endpoint allows you to check the current status of a previously submitted task, such as creating an index or adding a document. This helps in tracking the progress and completion of asynchronous operations.
HTTP Request
GET /create-index/task-status/{task_id}
Authentication
All requests must include an Authorization header with a valid API key.
Headers
| Key | Value |
|---|---|
| Authorization | Bearer YOUR_API_KEY |
| Content-Type | application/json |
Path Parameters
| Parameter | Type | Description |
|---|---|---|
| task_id | string | The ID of the task to check |
Request Example
Response
Success
Status Code: 200 OK
Body: