with Domain Group and Mistral AI?
Emit new event when an agency listing is updated. See the documentation
Emit new event when a new agency is created. See the documentation
Emit new event when a new agency listing is created. See the documentation
Emit new event when a new batch job is completed. See the Documentation
Emit new event when a new batch job fails. See the Documentation
Create a new batch job, it will be queued for processing. See the Documentation
Creates a new business listing. See the documentation
Creates a new commercial listing. See the documentation
Download a batch job results file to the /tmp directory. See the Documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
domain_group: {
type: "app",
app: "domain_group",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.domain_group.$auth.api_url}/v1/me`,
headers: {
Authorization: `Bearer ${this.domain_group.$auth.oauth_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
mistral_ai: {
type: "app",
app: "mistral_ai",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.mistral.ai/v1/models`,
headers: {
Authorization: `Bearer ${this.mistral_ai.$auth.api_key}`,
"content-type": `application/json`,
},
})
},
})