Assign Project to Chat
Links an existing v0 project to a specific chat. Helps group conversations under a shared project context.
POST/v1/projects/{projectId}/assign
Usage
TypeScript Example
import { v0 } from 'v0-sdk'const result = await v0.projects.assign({projectId: '123',chatId: '123',})console.log(result)API Signature
Request
Path Parameters
projectId: string
The ID of the project to assign.
Body
chatId: string
The ID of the chat to assign the project to.
Response
object: 'project'
id: string
assigned: 'true'