Actions7
- Document & Key-Value Actions
- Search Actions
Document & Key-Value → Read
AI-generatedSummary
Retrieves a single document by its ID from a specified Couchbase bucket, scope, and collection.
Inputs
- Couchbase Bucket (required) — The Couchbase bucket containing the document.
- Couchbase Scope (required) — The Couchbase scope containing the document.
- Couchbase Collection (required) — The Couchbase collection containing the document.
- Document ID (required) — The unique ID of the document to retrieve.
Output shape
One item per input item containing the document ID and its JSON value.
Returns the document value as a JSON string in the
valuefield. If the document does not exist, the operation will fail.
Examples
Example 1: Read a user profile from a specific collection.
Select Bucket: 'users', Scope: 'default', Collection: 'profiles', Document ID: 'user-123'