with All Voice Lab and Dovetail?
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
all_voice_lab: {
type: "app",
app: "all_voice_lab",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.all_voice_lab.$auth.api_url}/v1/balance/get_balance`,
headers: {
"ai-api-key": `${this.all_voice_lab.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
dovetail: {
type: "app",
app: "dovetail",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://dovetail.com/api/v1/projects`,
headers: {
Authorization: `Bearer ${this.dovetail.$auth.api_token}`,
},
})
},
})