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