with Budgets.ai and OpenRouter?
Returns a list of models available through the API. See the documentation
Send a chat completion request to a selected model. See the documentation
Send a completion request to a selected model (text-only format) See the documentation
The Budgets.ai API offers robust tools for managing budgets, tracking expenses, and monitoring financial goals. By leveraging this API on Pipedream, you can automate your financial data processes, sync with other financial tools, and generate real-time analytics and notifications. Pipedream's serverless platform facilitates the integration of Budgets.ai with hundreds of other apps, enabling you to create custom, automated workflows that fit your financial management needs.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
budgets_ai: {
type: "app",
app: "budgets_ai",
}
},
async run({steps, $}) {
const data = {
"api_key": `${this.budgets_ai.$auth.api_key}`,
"domain": `pipedream.com`,
}
return await axios($, {
method: "post",
url: `https://crm.budgets.ai/api-product/incoming-webhook/enrich-company`,
headers: {
"Content-Type": `application/json`,
},
data,
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
openrouter: {
type: "app",
app: "openrouter",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://openrouter.ai/api/v1/parameters/openai/o1`,
headers: {
Authorization: `Bearer ${this.openrouter.$auth.api_key}`,
},
params: {
provider: `OpenAI`,
},
})
},
})