Vector Indexes
Route: indexes Description: Contains a project's Vector Index
Endpoints
Get Index Status
Get the status of the index
Endpoint
https://api.botdojo.com/api/v1/:account_id/projects/:project_id/indexes/getStatus
Parameters (Array)
Index | Name | Description | Type |
---|---|---|---|
0 | indexId | The id of the index | String |
Returns
- results - IndexStatus
Example
curl -X POST -H "Content-Type: application/json" -H " Authorization: YOUR_API_KEY" -d '{
[
"indexId"]
}' "https://api.botdojo.com/api/v1/:account_id/projects/:project_id/indexes/getStatus"
Search Vector Index
Load the record by id
Endpoint
https://api.botdojo.com/api/v1/:account_id/projects/:project_id/indexes/search
Parameters (Array)
Index | Name | Description | Type |
---|---|---|---|
0 | id | The id of the record | String |
Returns
- results - Array
Example
curl -X POST -H "Content-Type: application/json" -H " Authorization: YOUR_API_KEY" -d '{
[
"id"]
}' "https://api.botdojo.com/api/v1/:account_id/projects/:project_id/indexes/search"