We’ve published a TypeScript-native SDK for working with the Vercel API.
npm i @vercel/sdkThis SDK includes:
Full type safety for accessing the Vercel REST API with Zod schemas
New documentation for every function, argument, and type
Better tree-shaking support with optional standalone functions
Intuitive error handling and detailed error messages
Configurable retry strategies (including backoffs)
import { Vercel } from '@vercel/sdk';const vercel = new Vercel({ bearerToken: process.env.VERCEL_TOKEN,});const result = await vercel.deployments.getDeployment({ idOrUrl: 'dpl_89qyp1cskzkLrVicDaZoDbjyHuDJ'});This SDK can be used to automate every part of Vercel’s platform including:
Deployment automation and management
Project creation and configuration
Domain management
Team and user administration
Environment variable management
Logs and monitoring
Integration configuration
Reference Architecture
Choose a stack and work through the decisions behind it, with curated documentation, guides, templates, and courses to help you build.
- Agent stack: Build and operate agents with models, tools, and durable workflows.
- Web applications: Choose rendering, data, authentication, and caching approaches.
- Backends: Choose a runtime, connect services, and run background work.
Build with prompts
Build an app, extend an agent, or improve your project with ready-to-use prompts for your coding agent.