Vercel is the platform for frontend developers, providing the speed and reliability innovators need to create at the moment of inspiration.
Copies a model, creating a model with another name from an existing model. See the documentation.
List deployments under the account corresponding to the API token. See the docs
The Vercel API empowers developers to automate, manage, and interact with their Vercel projects and deployments directly through code. With the Vercel API on Pipedream, you can harness the power of serverless functions to create dynamic and responsive workflows. Automate deployment processes, sync deployment statuses with other tools, trigger notifications based on deployment events, or manage your domains and aliases—all within the seamless integration landscape of Pipedream.
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
vercel_token_auth: {
type: "app",
app: "vercel_token_auth",
}
},
async run({steps, $}) {
return await axios($, {
url: `https://api.vercel.com/www/user`,
headers: {
Authorization: `Bearer ${this.vercel_token_auth.$auth.personal_access_token}`,
},
})
},
})
import { axios } from "@pipedream/platform"
export default defineComponent({
props: {
ollama: {
type: "app",
app: "ollama",
}
},
async run({steps, $}) {
return await axios($, {
url: `${this.ollama.$auth.url}`,
})
},
})