with Height and Rumi AI?
Emit new event whenever a task is created or updated in Height.
Emit new events when a session is completed. See the documentation
Add access to a session for specific email addresses or domains. See the documentation
Stream an AI query against session memories. See the documentation
Get information about the current authenticated user. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
height: {
type: "app",
app: "height",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.height.app/users/me`,
headers: {
"Authorization": `api-key ${this.height.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
rumi_ai: {
type: "app",
app: "rumi_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.rumi.ai/v1.0/users/me`,
headers: {
Authorization: `Bearer ${this.rumi_ai.$auth.oauth_access_token}`,
},
})
},
})