/v0-projects | Type: Application | PCID required: Yes
Tools
v0_projects_assign
Assign Project to Chat Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | The ID of the project to assign. |
chatId | string | Yes | — | The ID of the chat to assign the project to. |
v0_projects_create
Create Project Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
description | string | No | — | A brief summary of the project’s purpose. |
environmentVariables | object[] | No | — | A list of key-value pairs used to define runtime variables for the project. |
icon | string | No | — | An icon identifier to visually represent the project. |
instructions | string | No | — | Guidance or goals that provide context for the model when working within the project. |
name | string | Yes | — | The name of the project. |
privacy | string | No | — | The privacy setting for the project. For user accounts, this is always “private”. For team/enterprise accounts, this can be either “private” or “team”. |
vercelProjectId | string | No | — | The ID of an existing Vercel project to link to. If not provided, a new Vercel project will be created. |
v0_projects_create_env_vars
Create Environment Variables Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | The unique identifier of the project where environment variables should be created. |
decrypted | string | No | — | Whether to return decrypted values. Defaults to false (encrypted). |
environmentVariables | object[] | Yes | — | An array of environment variables to create with key and value fields. |
upsert | boolean | No | — | Whether to overwrite existing environment variables with the same keys. Defaults to false. |
v0_projects_delete
Delete Project Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | The unique identifier of the project to delete. This must be passed as a path parameter in the URL. |
deleteAllChats | string | No | — | If true, deletes all the chats associated with the given project ID. Deleting is permanent. Defaults to false. |
v0_projects_delete_env_vars
Delete Environment Variables Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | The unique identifier of the project whose environment variables should be deleted. |
environmentVariableIds | string[] | Yes | — | An array of environment variable IDs to delete. |
v0_projects_deployments_create
Create Deployment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chatId | string | Yes | — | Chat Id |
projectId | string | Yes | — | Project Id |
versionId | string | Yes | — | Version Id |
v0_projects_deployments_delete
Delete Deployment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
deploymentId | string | Yes | — | Path parameter “deploymentId” |
v0_projects_deployments_find
Find Deployments Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | The ID of the project to find deployments for |
chatId | string | Yes | — | The ID of the chat to find deployments for |
versionId | string | Yes | — | The ID of the version to find deployments for |
v0_projects_deployments_find_errors
Find Deployment Errors Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
deploymentId | string | Yes | — | The unique identifier of the deployment to inspect for errors. Provided as a path parameter. |
v0_projects_deployments_find_logs
Find Deployment Logs Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
deploymentId | string | Yes | — | The unique identifier of the deployment to retrieve logs for. Provided as a path parameter. |
since | number | No | — | A UNIX timestamp (in seconds) used to filter logs. Returns only log entries generated after the specified time. |
v0_projects_deployments_get_by_id
Get Deployment Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
deploymentId | string | Yes | — | Path parameter “deploymentId” |
v0_projects_find
Find Projectsv0_projects_find_env_vars
Find Environment Variables Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | The unique identifier of the project whose environment variables should be retrieved. |
decrypted | string | No | — | Whether to return decrypted values. Defaults to false (encrypted). |
v0_projects_get_by_chat_id
Get Project by Chat ID Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chatId | string | Yes | — | The ID of the chat to retrieve the associated project for. |
v0_projects_get_by_id
Get Project by ID Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | The unique identifier of the project to retrieve. |
v0_projects_get_env_var
Get Environment Variable Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | The unique identifier of the project that owns the environment variable. |
environmentVariableId | string | Yes | — | The unique identifier of the environment variable to retrieve. |
decrypted | string | No | — | Whether to return decrypted values. Defaults to false (encrypted). |
v0_projects_hooks_create
Create Hook Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
chatId | string | No | — | The ID of a chat to scope the hook to. |
events | string[] | Yes | — | List of event types the hook should subscribe to. |
name | string | Yes | — | A human-readable name for the hook. |
url | string | Yes | — | The target URL to receive the webhook payloads. |
v0_projects_hooks_delete
Delete Hook Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
hookId | string | Yes | — | The ID of the webhook to delete. Provided as a path parameter. |
v0_projects_hooks_find
Find Hooksv0_projects_hooks_get_by_id
Get Hook Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
hookId | string | Yes | — | The unique identifier of the hook to retrieve. |
v0_projects_hooks_update
Update Hook Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
hookId | string | Yes | — | The ID of the webhook to update. Provided as a path parameter. |
events | string[] | No | — | Updated list of event types to subscribe to. |
name | string | No | — | A new name for the hook. |
url | string | No | — | A new URL to send webhook payloads to. |
v0_projects_integrations_vercel_projects_create
Create Vercel Project Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
name | string | Yes | — | The name to assign to the new Vercel project. |
projectId | string | Yes | — | The ID of the v0 project to link to the new Vercel project. |
v0_projects_integrations_vercel_projects_find
Find Vercel Projectsv0_projects_update
Update Project Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | The unique identifier of the project to update. Provided as a path parameter. |
description | string | No | — | A new description to assign to the project. Helps with identification and organization. |
instructions | string | No | — | Guidance or goals that provide context for the model when working within the project. |
name | string | No | — | A new name to assign to the project. Helps with identification and organization. |
privacy | string | No | — | The privacy setting for the project. For user accounts, this must be “private”. For team/enterprise accounts, this can be either “private” or “team”. |
v0_projects_update_env_vars
Update Environment Variables Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
projectId | string | Yes | — | The unique identifier of the project whose environment variables should be updated. |
decrypted | string | No | — | Whether to return decrypted values. Defaults to false (encrypted). |
environmentVariables | object[] | Yes | — | An array of environment variables to update with id and value fields. |

