Menu
Get Algolia Search Index Stats
Get Search Index Statistics
GET
/algolia-search/{hubId}/indexes/{indexId}/statsUse it in a workflow
- Add a step and choose the Amplience connector.
- Pick the Get Algolia Search Index Stats action (under Search Indexes).
- Fill in the fields below, then reference the result from later steps as
{{getAlgoliaSearchIndexStats.response.data}}.
Request
Path parameters
Response
Returns 200 with an object. Read it in later steps with {{getAlgoliaSearchIndexStats.response.data.<field>}}.
{
"totalRecords": 546,
"totalRecordSize": 256,
"averageRecordSize": 56,
"usage": {
"averageResponseTime": {
"unit": "DAYS",
"duration": 30,
"value": 1.25
},
"numberOfSearches": {
"unit": "DAYS",
"duration": 30,
"value": 150
}
},
"_links": {
"self": null,
"stats": null,
"index": null
}
}
Need more? See the Amplience guide for connection setup and behaviour shared by every action.
Was this page helpful?