Actions33
- Documents Actions
- General Actions
- Indexes Actions
- Keys Actions
- Search Actions
- Settings Actions
- Tasks Actions
General → Stats
AI-generatedOverview
This node interacts with the Meilisearch API to retrieve statistics about a specific index. It is useful for monitoring the state and usage metrics of an index within Meilisearch, such as document counts and other relevant stats. This can help users understand the health and performance of their search indexes.
Use Case Examples
- Retrieve statistics for a specific index to monitor document counts and index health.
- Use the stats operation to gather metrics for reporting or alerting purposes.
Output
JSON
json- The JSON response containing the statistics of the specified index from Meilisearch API
Dependencies
- Meilisearch API key credential
Troubleshooting
- Ensure the 'uid' parameter for the index is correctly set, as it is required to form the API endpoint for stats retrieval.
- Common errors may include authentication failures if the API key credential is missing or incorrect.
- Timeout or network errors can occur if the Meilisearch server is unreachable or slow to respond.
Links
- Meilisearch API - Get Index Stats - Official documentation for retrieving index statistics from Meilisearch API.