#!/bin/bash

# Set your MeiliSearch API key
API_KEY="YoUrV3ry-S3cur3-aP1k3Y"

# Set your MeiliSearch instance URL
MEILISEARCH_URL="http://127.0.0.1:7700"

# Set the index name
INDEX_NAME="products_index"

# Get index settings using cURL
curl "$MEILISEARCH_URL/indexes/$INDEX_NAME/settings" \
  -H "Content-Type: application/json" \
  -H "Authorization: Bearer $API_KEY"
