# Paginering

Wanneer je een lijst ophaalt, kun je in de query een limiet en een skip toevoegen in de vorm\
\&limit=30\&skip=0<br>

**Limit** geeft aan hoeveel resultaten je opvraagt. Bij 0 zullen alle resultaten worden opgehaald.\
**Skip** geeft aan hoeveel resultaten je wilt overslaan. Bij 0 zal niks worden overgeslagen.

De ordening van de resultaten is deterministisch. Dus als er 60 resultaten zijn en je gebruikt een limit van 5 zul en skip van 0 zul je altijd dezelfde 5 resultaten krijgen.

Wanneer je in dit geval een limit van 5 zou gebruiken en een skip van 3, zul je de laatste 2 resultaten van de vorige lijst krijgen.

**Voorbeeld**:

* limit: 0, skip: 0 geeft a,b,c,d,e,f,g
* limit: 5, skip: 0 geeft a,b,c,d,e
* limit: 5, skip: 3 geeft d,e<br>

## Voorbeeld

<mark style="color:blue;">`GET`</mark> `https://api-portal.evalytics.nl/group`

#### Query Parameters

| Name  | Type    | Description                               |
| ----- | ------- | ----------------------------------------- |
| limit | integer | Aantal resultaten opvragen (standaard 30) |
| skip  | integer | Resultaten overslaan (standaard 0)        |

{% tabs %}
{% tab title="200 " %}

```
{
  "metadata": {
    "timestamp": "2021-02-08T20:35:30.186Z",
    "resultSet": {
      "count": 2,
      "limit": 30
    }
  },
  "results": [
    {
      "organisation": 2,
      "topOrganisation": 1,
      "deleted": false,
      "createdBy": "1",
      "modifiedBy": null,
      "externalId": null,
      "archived": false,
      "name": "Voorbeeld 1",
      "description": "Studenten",
      "id": 1,
      "createdAt": "2020-12-21T16:17:55.000Z",
      "updatedAt": "2020-12-21T16:17:55.000Z"
    },
    {
      "organisation": 2,
      "topOrganisation": 1,
      "deleted": false,
      "createdBy": "1",
      "modifiedBy": null,
      "externalId": null,
      "archived": false,
      "name": "Voorbeeld 2",
      "description": "",
      "id": 2,
      "createdAt": "2020-10-23T15:25:07.000Z",
      "updatedAt": "2021-01-14T11:10:35.000Z"
    }
  ]
}
```

{% endtab %}
{% endtabs %}

\ <br>

<br>


---

# 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://doc.evalytics.nl/algemeen/paginering.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.
