import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
cody: {
type: "app",
app: "cody",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://getcody.ai/api/v1/bots`,
headers: {
Authorization: `Bearer ${this.cody.$auth.api_key}`,
},
})
},
})
Turn text content into a document and add it directly to your knowledge base. See the documentation
Send your message and receive the AI-generated response. See the documentation
Cody uses API keys for authentication. When you connect your Cody account, Pipedream securely stores the keys so you can easily authenticate to Cody APIs in both code and no-code steps.