> For the complete documentation index, see [llms.txt](https://docs.openstamanager.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.openstamanager.com/2.4.48/configurazioni/introduzione/retrieve.md).

# Retrieve

Le operazioni di *retrieve* permettono di ottenere le informazioni registrate nel gestionale, e solitamente non influenzano in alcun modo lo stato del software e i dati interni.

{% hint style="warning" %}
In base alle capacità del server in cui il gestionale è installato, è possibile un rallentamento del server in caso di molteplici richieste contemporanee all'API.
{% endhint %}

### 📙 Standard di funzionamento

Considerando la potenziale quantità delle informazioni restituite, il sistema API del gestionale restituisce le informazioni richieste presentando una paginazione di default di 200 record (impostazione *Lunghezza pagine per API*).

## Richiesta standard

<mark style="color:blue;">`GET`</mark> `http://localhost/openstamanager/api?token=<token>&resource=<resource>`

Richiesta standard per la comunicazione con l'API in modalità

*retrieve*

.

#### Query Parameters

| Name     | Type    | Description                                                                                                                                                    |
| -------- | ------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| token    | string  | Token di accesso                                                                                                                                               |
| resource | string  | Risorsa richiesta                                                                                                                                              |
| page     | integer | <p>Intero compreso tra 0 e il valore del campo</p><p><code>pages</code></p><p>restituito dalla prima richiesta (esempio:</p><p><code>page=5</code></p><p>)</p> |
| display  | array   | <p>Array che indica un filtro sui campi da restituire alla richiesta (esempio:</p><p><code>display=\[id,name]</code></p><p>)</p>                               |
| filter   | array   | <p>Array composto che indica dei filtro da applicare sui contenuti dei risultati alla richiesta (esempio:</p><p><code>filter\[id]=\[1]</code></p><p>)</p>      |
| order    | array   | Array che indica l'ordinamento da impostare sulla richiesta                                                                                                    |

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

```
```

{% endtab %}
{% endtabs %}

{% hint style="info" %}
Il rispetto delle opzioni sopra indicate, come per la gestione della paginazione automatica, è riservato alla singola risorsa: in casi specifici e documentati, la risorsa potrebbe ignorare le opzioni indicate a favore di un comportamento personalizzato.

Questo è particolarmente rilevante in caso di personalizzazioni, interne o esterne, del software.
{% endhint %}

### 📙 Risorse disponibili

* Anagrafiche: `anagrafiche`
* Interventi: `interventi`


---

# 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 by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.openstamanager.com/2.4.48/configurazioni/introduzione/retrieve.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

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.
