Skip to main content
The /stats route gives extended information and metrics about indexes and the Meilisearch database.

Stats object

fieldDistribution is not impacted by searchableAttributes or displayedAttributes. Even if a field is not displayed or searchable, it will still appear in the fieldDistribution object.

Get stats of all indexes

GET
/stats
Get stats of all indexes.

Example

Response: 200 Ok

Get stats of an index

GET
/indexes/{index_uid}/stats
Get stats of an index.

Path parameters

Example

Response: 200 Ok