Meilisearch icon

Meilisearch

Consume Meilisearch API

General → Stats

AI-generated

Overview

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

  1. Retrieve statistics for a specific index to monitor document counts and index health.
  2. 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

Discussion