GET /v1/indexes/products/documents/1 🔒 Bearer

Get a document

Fetch one document by id.

Returns one document by id. Useful for verifying that an upsert went through or for "view product details" pages that want the freshest copy from search.

# Path parameters

Name Type Description
name string The index name.
id string The document's id.

# Response

{
  "data": {
    "document": {
      "id": "1",
      "title": "Sony WH-1000XM5",
      "brand": "Sony",
      "category": "Headphones",
      "price": 379,
      "in_stock": true
    },
    "last_indexed_at": "2026-05-23T08:14:12Z"
  }
}

Returns 404 if the document does not exist.

esc
GET /v1/indexes/products/documents/1