# Get methods

## Definition

Get methods retrieve data from the [`entity`](/sdks/javascript/overview.md#supported-entities) on which they are called. These methods are common to all [`entities`](/sdks/javascript/ubidots-class.md#ubidots-class-properties).

<table data-full-width="true"><thead><tr><th width="142" align="center">Method</th><th width="159" align="center">Description</th><th width="321" align="center">Usage</th><th width="193" align="center">Arguments</th><th align="center">Response</th></tr></thead><tbody><tr><td align="center"><code>all</code></td><td align="center">Returns a list of all <a href="/pages/eSEBN6HTtYqRJwsWI8e9#supported-entities"><code>entities</code></a> in the account.</td><td align="center"><code>Ubidots.&#x3C;entity>.all();</code></td><td align="center">None</td><td align="center"><a href="/pages/sii1jq6igs2UcPaeM7zs"><code>entityObject[]</code></a></td></tr><tr><td align="center"><code>get</code></td><td align="center">Returns a list of the first 100 <a href="/pages/eSEBN6HTtYqRJwsWI8e9#supported-entities"><code>entities</code></a> in the account.</td><td align="center"><code>Ubidots.&#x3C;entity>.get();</code></td><td align="center">None</td><td align="center"><a href="/pages/sii1jq6igs2UcPaeM7zs"><code>entityObject[]</code></a></td></tr><tr><td align="center"><code>first</code></td><td align="center">Returns the first <a href="/pages/eSEBN6HTtYqRJwsWI8e9#supported-entities"><code>entity</code></a> instance in the account.</td><td align="center"><code>Ubidots.&#x3C;entity>.first();</code></td><td align="center">None</td><td align="center"><a href="/pages/sii1jq6igs2UcPaeM7zs"><code>entityObject[]</code></a></td></tr><tr><td align="center"><code>paginate</code></td><td align="center">Performs a paginated request to retrieve <a href="/pages/eSEBN6HTtYqRJwsWI8e9#supported-entities"><code>entities</code></a>.</td><td align="center"><code>Ubidots.&#x3C;entity>.paginate([page, [size]])</code></td><td align="center"><ul><li><code>page: number</code> The page number to retrieve</li><li><code>size: number</code> The maximum number of results per page</li></ul></td><td align="center"><a href="/pages/mXsub3HPa5jiVAvQP6ZM">paginator</a></td></tr></tbody></table>


---

# 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://dev.ubidots.com/sdks/javascript/ubidots-class/get-methods.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.
