with OpenRouter and SignRequest?
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
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`,
},
})
},
})
With the SignRequest API on Pipedream, you can automate sending documents for signatures, monitor the status of sent documents, and streamline the e-signature process within your own applications or workflows. This facilitates swift and secure digital signatures, allowing you to integrate SignRequest with other services for enhanced document management and notification systems.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
signrequest: {
type: "app",
app: "signrequest",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://signrequest.com/api/v1/team-members/`,
headers: {
Authorization: `Bearer ${this.signrequest.$auth.oauth_access_token}`,
"Content-Type": `application/json`,
},
})
},
})