GET /v2/indices/{index public key}/documents/{document id}
Retrieve the content of a single document from the index.
{ "id": "8700a03070a37982924597d6baa87be7", "custom_fields": { "title": "Example product", "description": "Description for example product", "price_cents": 599, "average_customer_rating": 4.5 } }
Field | Description | Type | Notes |
---|---|---|---|
id | Document's id | string | URL encoded as md5 hash. |
Standard field | Any of the standard fields described here except the URL. | Dependent on the field | Each field should be a separate key-value pair. |
custom_fields | Top level | A map of custom fields key value pairs | Supported data-types: text, integer, and double. |
We’re always happy to help with code or other questions you might have. Search our documentation, contact support, or connect with our sales team.