v0 Platform API/Deployments

Find Deployments

Find deployments by project and chat IDs. This will return a list of deployments for the given project and chat IDs.

GET /deployments
import { v0 } from 'v0-sdk'

const result = await v0.deployments.find({
  projectId: '123',
  chatId: '123',
  versionId: '123',
})

console.log(result)
GET /deployments
curl -X GET https://api.v0.dev/deployments \
  -H "Authorization: Bearer $V0_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{
    "projectId": "123",
    "chatId": "123",
    "versionId": "123"
  }'

Parameters

Query Parameters

projectId string Required

The ID of the project to find deployments for


chatId string Required

The ID of the chat to find deployments for


versionId string Required

The ID of the version to find deployments for


Response

Response Body

object string Required


data any[] Required

Array items: string