with Ragie and Ringg AI?
Emit new event whenever a new connection is created in Ragie. See the documentation
Emit new event whenever a new document is created in Ragie. See the documentation
Updates an existing document file in Ragie. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ragie: {
type: "app",
app: "ragie",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.ragie.ai/documents`,
headers: {
Authorization: `Bearer ${this.ragie.$auth.api_key}`,
"accept": `application/json`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ringg_ai: {
type: "app",
app: "ringg_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://prod-api.ringg.ai/ca/api/v0/workspace`,
headers: {
"x-api-key": `${this.ringg_ai.$auth.api_key}`,
},
})
},
})