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