import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
runway: {
type: "app",
app: "runway",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dev.runwayml.com/v1/organization`,
headers: {
Authorization: `Bearer ${this.runway.$auth.api_key}`,
"x-runway-version": `2024-11-06`,
},
})
},
})
Runway uses API keys for authentication. When you connect your Runway account, Pipedream securely stores the keys so you can easily authenticate to Runway APIs in both code and no-code steps.