import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dante_ai: {
type: "app",
app: "dante_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.dante-ai.com/profile`,
headers: {
"accept": `application/json`,
"x-api-key": `${this.dante_ai.$auth.api_key}`,
},
params: {
team_id: `${this.dante_ai.$auth.team_id}`,
},
})
},
})
Dante AI uses API keys for authentication. When you connect your Dante AI account, Pipedream securely stores the keys so you can easily authenticate to Dante AI APIs in both code and no-code steps.