> 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/actions/workflow-concepts/run-once/api.md).

# Run via API

Call your AirOps Workflows via endpoints

After publishing your workflow, you can call it through our API endpoints using your required input parameters to receive a response. For a broad overview of our API capabilities, check out our [API Reference](broken://spaces/rT8WZaGa5JcV0M5osTWg) for detailed technical specifications.

## Authentication

All endpoints require authentication using a Bearer token. To authenticate, include an Authorization header in your request with the value Bearer YOUR\_API\_KEY. You can find your API key in your [Workspace Settings](/your-workspace/workspaces.md#workspace-settings):

<figure><img src="https://3762890407-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>

## Finding Your Workflow ID

In addition to your API Token, you will also need your Workflow ID to ensure your API calls are reaching the correct endpoint. The Workflow ID is the number found in the app's URL. For instance, in the URL:

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

The Workflow ID is:

```
123
```

Additionally, you can can reference the "Rest API" tab for the Workflow shown further below.

## Endpoints

To find the additional parameters and endpoints available for your Workflow, you can navigate to the "REST API" tab underneath the "Integrate" section of your Workflow:

Ready to make your first request? Check out [API Reference docs](https://developers.airops.com) for further details!

{% @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/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.
