> For the complete documentation index, see [llms.txt](https://doc.demarches-simplifiees.fr/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://doc.demarches-simplifiees.fr/api-graphql/introduction-technique.md).

# Introduction technique

{% hint style="danger" %}
L'**API v1 (REST) est maintenant dépréciée** et n'est plus maintenue ni documentée. Vous trouverez les nouveautés (nombreuses et régulières) uniquement sur l'API v2 dont fait l'objet cette documentation.
{% endhint %}

L'API v2 suit le paradigme GraphQL. Si GraphQL est un lointain sujet pour vous, **nous vous recommandons de prendre le temps** de consulter les liens suivants :

* [Introduction aux concepts et raisons d'être de GraphQL](https://blog.octo.com/graphql-et-pourquoi-faire/) (en français)
* [Documentation officielle de la spécification GraphQL](https://graphql.org) (en anglais)

{% hint style="info" %}
Nous **insistons**, si vous ne connaissez pas GraphQL, veuillez [lire l'article](https://blog.octo.com/graphql-et-pourquoi-faire).
{% endhint %}


---

# 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://doc.demarches-simplifiees.fr/api-graphql/introduction-technique.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.
