Index
Get Index Info
Get index Info from index with index_id
get/api/v1/index/{index_id}
Path parameters
index_idinteger required
index id
Headers
apikeystring required
YOUR_SECRET_API_KEY
Response
Index found, returns the index info
Example response
{
"name": "demo_index",
"schema": {
"title": {
"field": "title",
"store": true,
"index_lexical": true,
"field_type": "Text",
"boost": 10,
"field_id": 0
},
"body": {
"field": "body",
"store": true,
"index_lexical": true,
"field_type": "Text",
"field_id": 1
},
"url": {
"field": "url",
"store": true,
"index_lexical": false,
"field_type": "Text",
"field_id": 2
},
"date": {
"field": "date",
"store": true,
"index_lexical": false,
"field_type": "Timestamp",
"facet": true,
"field_id": 3
}
},
"version": "0.11.1",
"facets_minmax": {
"date": {
"min": 831306011,
"max": 1730901447
}
}
}Changes
Changed in 2 of the 11 revisions of this API.2
- ○
api operation id
get_index_info_apiremoved and replaced withget_index_infoapi-operation-id-removed
- ○
- ○
api operation id
get_index_inforemoved and replaced withget_index_info_apiapi-operation-id-removed
- ○