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