Return statistics for a single index: document count, database size, indexing status, and field distribution.
An API key is a token that you provide when making API calls. Read more about how to secure your project.
Include the API key to the Authorization header, for instance:
-H 'Authorization: Bearer 6436fc5237b0d6e0d64253fbaac21d135012ecf1'If you use a SDK, ensure you instantiate the client with the API key, for instance with JS SDK:
const client = new MeiliSearch({
host: 'MEILISEARCH_URL',
apiKey: '6436fc5237b0d6e0d64253fbaac21d135012ecf1'
});Unique identifier of the index.
The stats of the index.
Stats of an Index, as known to the stats route.
Number of documents in the index
x >= 0Size of the documents database, in bytes.
x >= 0Average size of a document in the documents database.
x >= 0Whether or not the index is currently ingesting document
Association of every field name with the number of times it occurs in the documents.
Number of embeddings in the index
x >= 0Number of embedded documents in the index
x >= 0