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