Menu
Get stats of index
Get stats of index
GET
/indexes/{index_uid}/statsUse it in a workflow
- Add a step and choose the Meilisearch connector.
- Pick the Get stats of index action (under Indexes).
- Fill in the fields below, then reference the result from later steps as
{{getStatsOfIndex.response.data}}.
Request
Path parameters
Query parameters
Response
Returns 200 with an object. Read it in later steps with {{getStatsOfIndex.response.data.<field>}}.
{
"numberOfDocuments": 0,
"indexSize": null,
"usedIndexSize": null,
"rawDocumentDbSize": null,
"avgDocumentSize": null,
"isIndexing": false,
"fieldDistribution": {},
"internalDatabaseSizes": {},
"numberOfEmbeddings": 0,
"numberOfEmbeddedDocuments": 0
}
Need more? See the Meilisearch guide for connection setup and behaviour shared by every action.
Was this page helpful?