Assign Project to Chat
Links an existing v0 project to a specific chat. Helps group conversations under a shared project context.
POST /projects/{projectId}/assign
Parameters
Path Parameters
projectId string Required
The ID of the project to assign.
Request Body
chatId string Required
The ID of the chat to assign the project to.
Response
Response Body
object string Required
id string Required
assigned boolean Required
Update Project
Updates the metadata of an existing project using its `projectId`. Supports changes to the project name and privacy setting.
Create Environment Variables
Creates new environment variables for a given project. This endpoint will fail if any of the specified environment variable keys already exist.