> For the complete documentation index, see [llms.txt](https://docs.airops.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.airops.com/docs/fr/actions/workflow-concepts/run-once/api.md).

# Exécuter via API

Appelez vos workflows AirOps via des endpoints

Après avoir publié votre workflow, vous pouvez l’appeler via nos points de terminaison API en utilisant les paramètres d’entrée requis pour recevoir une réponse. Pour un aperçu général de nos capacités API, consultez notre [Référence de l'API](broken://spaces/rT8WZaGa5JcV0M5osTWg) pour des spécifications techniques détaillées.

## Authentification

Tous les points de terminaison nécessitent une authentification à l’aide d’un jeton Bearer. Pour vous authentifier, incluez un en-tête Authorization dans votre requête avec la valeur Bearer YOUR\_API\_KEY. Vous pouvez trouver votre clé API dans votre [Paramètres de l'espace de travail](/docs/fr/votre-espace-de-travail/workspaces.md#workspace-settings):

<figure><img src="https://344527547-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FX2n5yPRPynbnWuO4SH0M%2Fuploads%2Fgit-blob-2c20fee4df23fb3ef232fe139e3e9239447eb529%2FCleanShot%202025-02-26%20at%2006.30.09%402x.png?alt=media" alt=""><figcaption></figcaption></figure>

## Trouver l’ID de votre workflow

En plus de votre jeton API, vous aurez également besoin de l’ID de votre workflow pour vous assurer que vos appels API atteignent le bon point de terminaison. L’ID de workflow est le numéro indiqué dans l’URL de l’application. Par exemple, dans l’URL :

```
https://app.airops.com/{your_workspace}/apps/123
```

L’ID de workflow est :

```
123
```

De plus, vous pouvez également consulter l’onglet « Rest API » pour le workflow présenté plus bas.

## Endpoints

Pour trouver les paramètres et points de terminaison supplémentaires disponibles pour votre workflow, vous pouvez accéder à l’onglet « REST API » sous la section « Integrate » de votre workflow :

Prêt à faire votre première requête ? Consultez [la documentation de référence de l’API](https://developers.airops.com) pour plus de détails !

{% @arcade/embed url="<https://app.arcade.software/share/XLLOnL04P09gRC3dAwLv>" flowId="XLLOnL04P09gRC3dAwLv" %}


---

# 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.airops.com/docs/fr/actions/workflow-concepts/run-once/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.
