Skip to main content
GET /indexes Retrieves a paginated list of all indexes associated with your account.

Query Parameters

ParameterTypeRequiredDescription
pageintegerNoThe page number to retrieve (default: 1).
page_sizeintegerNoThe number of items per page (default: 20, max: 1000).

Example Requests

  • cURL
  • Python SDK
  • JavaScript SDK
curl --location 'https://api.gravixlayer.com/v1/vectors/indexes' \
  --header 'Authorization: Bearer <YOUR_API_KEY>'

Response

A JSON object containing a list of indexes and pagination details.
{
  "indexes": [
    {
      "created_at": "2025-09-18T12:48:47.082141Z",
      "delete_protection": false,
      "dimension": 1536,
      "id": "11c6ec39-5c0e-411e-b3e4-faf8113d1396",
      "metric": "cosine",
      "name": "product-embeddings",
      "status": "ready",
      "updated_at": "2025-09-18T12:48:48.086099Z",
      "vector_type": "dense"
    }
  ],
  "pagination": {
    "page": 1,
    "page_size": 20,
    "total": 1,
    "total_pages": 1
  }
}
I