Document → Get
AI-generatedSummary
Retrieve one document by its ID from the specified OpenSearch index. By default, return a simplified object containing the document ID and source fields; disable Simplify to return the raw OpenSearch response.
Inputs
- Index ID (required) — ID of the index containing the document.
- Document ID (required) — ID of the document to retrieve.
- Simplify — Defaults to true. When enabled, outputs
_idand the document’s_sourcefields; when disabled, outputs the raw response. - Options — Optional request parameters: Source Excludes and Source Includes filter source fields, and Stored Fields requests stored index fields instead of
_source. When any option is set, the implementation also sets_source=trueon the request.
Output shape
A single n8n item containing the retrieved document data.
With Simplify enabled, the item’s JSON contains
_idand spread_sourcefields. With Simplify disabled, it contains the raw OpenSearch Get response. The operation runs once per input item.