import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airops: {
type: "app",
app: "airops",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://app.airops.com/public_api/airops_apps/executions`,
headers: {
Authorization: `Bearer ${this.airops.$auth.workspace_api_key}`,
"accept": `application/json`,
},
})
},
})
Run a workflow of an app. See the sync documentation or async documentation
AirOps uses API keys for authentication. When you connect your AirOps account, Pipedream securely stores the keys so you can easily authenticate to AirOps APIs in both code and no-code steps.
To retrieve your Workspace ID and Workspace API Key,