> 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/point-dentree-et-schema-graphql.md).

# Point d'entrée et Schéma GraphQL

Vous avez maintenant les pré-requis pour avancer sur votre propre client des API de **demarche.numerique.gouv.fr** :

* vous disposez d'un compte administrateur sur **demarche.numerique.gouv.fr**
* vous avez une démarche de test publiée (vous pouvez en créer une)
* vous arrivez à structurer des appels à l'API en combinant la `query` qui détermine les données que vous souhaitez récupérer, et les `variables` qui déterminent la logique métier que nous devons appliquer. Bref, vous avez pris vos aises avec un client GraphQL, votre démarche de test et votre jeton.

Vous pouvez maintenant ouvrir votre éditeur de code préféré et garder en tête que :

{% hint style="danger" %}
Les requêtes sont à envoyer au endpoint : **<https://demarche.numerique.gouv.fr/api/v2/graphql>**
{% endhint %}

{% hint style="danger" %}
Les requêtes doivent être envoyées avec le verbe HTTP **POST**
{% endhint %}

{% hint style="danger" %}
Les **headers doivent contenir le jeton d'authentification au format attendu**, cf. : [jeton d'authentification](/api-graphql/jeton-dauthentification.md)
{% endhint %}

{% hint style="danger" %}
Le corps de votre requête POST, **doit être un JSON respectant la spécification GraphQL**
{% endhint %}

{% hint style="info" %}
**Cette adresse n’est pas visitable dans un navigateur**. Elle renvoie des données au format JSON, à travers un transport HTTPS.
{% endhint %}

Pour plus d'information concernant le schéma, vous pouvez :

* consulter la documentation : [https://www.demarche.numerique.gouv.fr/graphql/schema/index.html](https://demarche.numerique.gouv.fr/graphql/schema/index.html)
* consulter le fichier graphql.schema : <https://github.com/demarche-numerique/demarche.numerique.gouv.fr/blob/main/app/graphql/schema.graphql>


---

# 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://doc.demarches-simplifiees.fr/api-graphql/point-dentree-et-schema-graphql.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.
