Get the retrieval index status of a dataset
Get the retrieval index status of a dataset
GET/api/v1/datasets/{dataset_id}/retrieval-index
Poll after POST /datasets/{dataset_id}/retrieval-index. Once status is succeeded, the dataset can be searched with file_search on POST /responses. A failed index carries an error; repeat the POST to retry it.
Get the retrieval index status of a dataset
curl https://api.prod.adaptionlabs.ai/api/v1/datasets/$DATASET_ID/retrieval-index \
-H "Authorization: Bearer $ADAPTION_API_KEY"{
"dataset_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"status": "pending",
"error": "error"
}Returns Examples
{
"dataset_id": "182bd5e5-6e1a-4fe4-a799-aa6d9a6ab26e",
"status": "pending",
"error": "error"
}