# Retrieving Documents

The easiest way to retrieve a specific document by ID from your Couchbase cluster is by calling the `get()` method.

```javascript
person = client.get( id = "brad" );
```

There are many other methods for getting data. Please check the [API Docs](http://apidocs.ortussolutions.com/cfcouchbase/2.0.0) (in the download) to see full descriptions and code samples for all of them.

* `getMulti()` - Get multiple objects from couchbase with a single call.
* `getAndTouch()` - Get a document and update its expiry value
* `getAndLock()` - Get a document and lock it for a specified amount of time
* `getFromReplica()` - Get a document from a replica
* `getWithCAS()` - Get an object from couchbase with a special Compare And Swap (CAS) version (for use wit `replaceWithCAS()`)
* `n1qlQuery()` - Get a document using a N1QL query


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://cfcouchbase.ortusbooks.com/usage/retrieving-documents.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
