Skip to main content
Fetch metadata for a single index. Required fields: indexName Example request
curl -X POST "https://service.usemoss.dev/manage" \
  -H "Content-Type: application/json" \
  -H "x-service-version: v1" \
  -H "x-project-key: moss_access_key_xxxxx" \
  -d '{
    "action": "getIndex",
    "projectId": "project_123",
    "indexName": "support-faq"
  }'
Responses
{
  "id": "a98fe5f5-1c00-4d5c-b2a5-6c1ef8d157cc",
  "name": "support-faq",
  "version": "1.0.0-beta.1",
  "status": "Ready",
  "docCount": 124,
  "createdAt": "2025-01-09T21:14:07.000Z",
  "updatedAt": "2025-01-10T03:52:11.000Z",
  "model": {
    "id": "moss-minilm",
    "version": "1.0.0-beta.1"
  }
}
Errors
  • 404 if the index is unknown.