> For the complete documentation index, see [llms.txt](https://docs.kiloiot.io/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.kiloiot.io/kilo-docs-fr/kilo-iot-server/api/grpc-api.md).

# API gRPC

API gRPC de Kilo IoT Server — chemin typé de service à service pour les installations sur site, avec la même authentification par clé API limitée.

En plus de REST, le serveur Kilo IoT propose une interface gRPC. **gRPC est l’option avancée / sur site : choisissez REST, sauf si vous avez spécifiquement besoin de gRPC pour une intégration sur site ou de service à service typée.** Pour les intégrations cloud et SaaS standard, REST est le choix recommandé par défaut (voir [API REST publique](/kilo-docs-fr/kilo-iot-server/api/public-rest-api.md)).

## Quand utiliser gRPC

* Un client typé généré et un contrat de service stable dans votre propre logiciel.
* Intégration directe de service à service, y compris les installations sur site qui connectent des systèmes internes au sein de leur propre réseau.

## Fonctionnement

gRPC utilise la même authentification par clé API à portée limitée que REST — `X-API-Key` plus le contexte de l’organisation (voir [Authentification et clés API](/kilo-docs-fr/kilo-iot-server/api/authentication-and-api-keys.md)). Le [référence de l'API](https://api.kiloiot.io/) répertorie les services et méthodes gRPC disponibles. Pour les définitions natives de clients gRPC, utilisez les matériaux fournis avec votre package sur site ou d’intégration.

## Voir aussi

* [API REST publique](/kilo-docs-fr/kilo-iot-server/api/public-rest-api.md)
* [Authentification et clés API](/kilo-docs-fr/kilo-iot-server/api/authentication-and-api-keys.md)


---

# 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, and the optional `goal` query parameter:

```
GET https://docs.kiloiot.io/kilo-docs-fr/kilo-iot-server/api/grpc-api.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
