Find Deployments
Find deployments by project and chat IDs. This will return a list of deployments for the given project and chat IDs.
GET/v1/deployments
Usage
TypeScript Example
import { v0 } from 'v0-sdk'const result = await v0.deployments.find({projectId: '123',chatId: '123',versionId: '123',})console.log(result)API Signature
Request
Query Parameters
projectId: string
The ID of the project to find deployments for
chatId: string
The ID of the chat to find deployments for
versionId: string
The ID of the version to find deployments for
Response
object: 'list'
data: object[]
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.