> For the complete documentation index, see [llms.txt](https://dev.ishare.eu/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://dev.ishare.eu/reference/pagination.md).

# Pagination

The endpoints /parties, /frameworks and /dataspaces contain pagination attributes. These attributes work as follows.

## Pagination request attributes

As a URL query parameter, the following can be provided:

* `page`\
  **Integer**. Requests to return a specific page.
* `pageSize`\
  **Integer**. Sets the page size (number of items per page).

Example:

* `{url}/dataspaces?page=2&pageSize=20`\
  requests the second page with a page size of 20.

## Pagination response attributes

The response is structured as follows:

* JSON body containing the base64 encoded JWT. Inside that (decoded) JWT:
  * A `partiesInfo`, `dataspacesInfo` or `frameworksInfo` object. Inside that info object:
    * `currentPage`\
      Integer. Number of the returned page.
    * `pageSize`\
      Integer. Number of items per page.
    * `totalPages`\
      Integer. Total number of pages available.
    * `totalCount`\
      Integer. Total number of items available.
    * `count`\
      Integer. Number of items returned in the current response (could be different then page size for the last page).


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## 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.ishare.eu/reference/pagination.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.
