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