import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dust: {
type: "app",
app: "dust",
}
},
async run({steps, $}) {
return await axios($, {
url: ` https://dust.tt/api/v1/w/${this.dust.$auth.workspace_id}/assistant/agent_configurations`,
headers: {
Authorization: `Bearer ${this.dust.$auth.api_key}`,
"Accept": `application/json`,
},
})
},
})
Send a message to an assistant on Dust and receive an answer. See the documentation
Upsert a document to a chosen Dust data source. See the documentation
Dust uses API keys for authentication. When you connect your Dust account, Pipedream securely stores the keys so you can easily authenticate to Dust APIs in both code and no-code steps.