cURL
curl --request PUT \ --url https://{api_endpoint}/api/v1/vector-indices/{index_id}/rebuild \ --header 'Authorization: Bearer <token>'
{ "task_id": "<string>", "task_name": "<string>", "status": "unknown", "task_obj": "<any>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successful Response
unknown
started
completed
failed