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