import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
orq_ai: {
type: "app",
app: "orq_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.orq.ai/v2/agents`,
headers: {
Authorization: `Bearer ${this.orq_ai.$auth.api_key}`,
},
})
},
})
Orq.ai uses API keys for authentication. When you connect your Orq.ai account, Pipedream securely stores the keys so you can easily authenticate to Orq.ai APIs in both code and no-code steps.