with VLM Run and Ashby?
Considers a candidate for a job (e.g., when sourcing a candidate for a job posting). See the documentation
Retrieves a list of applications within an organization. See the documentation
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vlm_run: {
type: "app",
app: "vlm_run",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.vlm.run/v1/openai/models`,
headers: {
Authorization: `Bearer ${this.vlm_run.$auth.api_key}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ashby: {
type: "app",
app: "ashby",
}
},
async run({steps, $}) {
return await axios($, {
method: "post",
url: `https://api.ashbyhq.com/user.list`,
headers: {
"accept": `application/json; version=1`,
"content-type": `application/json`,
},
auth: {
username: `${this.ashby.$auth.api_key}`,
password: ``,
},
})
},
})