# GETPAGES

#### Syntax

**GETPAGES**()

The function returns an area in which the pages of the current navigation tree are stored per line. The columns contain the following information:

* Level - ***Value type**: text*
* Technical name of the page - ***Value type**: text*
* Display name of the page - ***Value type**: text*
* Visibility - ***Value type**: boolean*

Remarks

* The pages are returned in the same order as they are listed in the navigation tab.
* If a page does not have a display name, column 3 contains the technical name instead.

#### Example

The GETPAGES function returns the pages listed on the left in the navigation tab:

<figure><img src="/files/EDRfRQ2qRgHrybnbADbc" alt=""><figcaption></figcaption></figure>


---

# 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://docs.nedyx.com/version-1.66/nedyx/clearlines-functions/navigation-functions/getpages.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.
