Code to internal apps in minutes. Turn APIs, SQL queries, and scripts into apps for the entire team.
Go to siteimport { axios } from "@pipedream/platform"
export default defineComponent({
props: {
airplane: {
type: "app",
app: "airplane",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.airplane.dev/v0/runs/list`,
headers: {
"X-Airplane-API-Key": `${this.airplane.$auth.api_key}`,
},
})
},
})
Execute a runbook and receive a session ID to track the runbook's execution. See the documentation
Execute a task with a set of parameter values and receive a run ID to track the task's execution. See the documentation
Submit a prompt with a set of parameter values. See the documentation
Airplane uses API keys for authentication. When you connect your Airplane account, Pipedream securely stores the keys so you can easily authenticate to Airplane APIs in both code and no-code steps.
Generate and copy your API Key using Airplane CLI.