v0 Platform API/API Reference/Deployments
Create Deployment
Create a new deployment for a specific chat and version. This will trigger a deployment to Vercel.
POST/v1/deployments
Usage
TypeScript Example
API Signature
Request
Body
projectId: string
chatId: string
versionId: string
Response
id: string
A unique identifier for the deployment.
object: 'deployment'
Fixed value identifying this object as a deployment.
inspectorUrl: string
URL to the deployment inspector.
chatId: string
The ID of the chat that this deployment is scoped to.
projectId: string
The ID of the project that this deployment is scoped to.
versionId: string
The ID of the version that this deployment is scoped to.
apiUrl: string
The API endpoint URL for accessing this deployment programmatically.
webUrl: string
The web URL where the deployment can be viewed or managed.