> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/powershell-universal/fr/api.md).

# API

- [À propos](https://docs.devolutions.net/powershell-universal/fr/api/about.md): Découvrez comment les terminaux de l'API REST de PowerShell Universal exécutent des scripts PowerShell, configurent les environnements d'exécution et optimisent la performance des processus d'API.
- [Terminaux](https://docs.devolutions.net/powershell-universal/fr/api/endpoints.md): Configurez les points de terminaison d'API PowerShell Universal avec New-PSUEndpoint, couvrant le routage d'URL, les en-têtes, les témoins, les corps de requête, les téléversements de fichiers et les
- [OpenAPI](https://docs.devolutions.net/powershell-universal/fr/api/openapi.md): Générez de la documentation OpenAPI pour les terminaux PowerShell Universal, ajoutez de l'aide basée sur les commentaires et définissez les types d'entrée et de sortie pour le tableau de bord Swagger.
- [Event Hubs](https://docs.devolutions.net/powershell-universal/fr/api/event-hubs.md): Configurez les Event Hubs de PowerShell Universal pour envoyer des commandes aux agents connectés, permettant l'exécution de scripts à distance dans des environnements de serveurs distribués.
- [Sécurité](https://docs.devolutions.net/powershell-universal/fr/api/security.md): Sécurisez les terminaux de l'API REST PowerShell Universal avec l'authentification par jeton, Windows et témoin, puis appliquez une autorisation basée sur les rôles pour chaque requête.
- [Gestion des erreurs](https://docs.devolutions.net/powershell-universal/fr/api/error-handling.md): Gérez les erreurs dans les API REST de PowerShell Universal en configurant ErrorAction, en retournant des codes de statut personnalisés et en lisant les erreurs dans Windows PowerShell.
- [Limitation du débit](https://docs.devolutions.net/powershell-universal/fr/api/rate-limiting.md): Configurer la limitation du débit dans PowerShell Universal pour restreindre les requêtes d'API par terminal et par période, et définir des listes d'autorisation pour les clients de confiance.


---

# 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.devolutions.net/powershell-universal/fr/api.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.
