Skip to main content
V0 logo
  • Category: artificial intelligence
  • Auth: API_KEY
  • Composio-managed OAuth available? N/A
  • Tools: 44
  • Triggers: 0
  • Slug: V0
  • Version: 20261101_00

Tools

Slug: V0_ASSIGN_CHAT_TO_PROJECTTool to assign a chat to a project. Use when you need to group a conversation under a shared project context for better organization.

Input Parameters

string
required
The ID of the chat to assign to the project
string
required
The ID of the project to assign the chat to

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_CHAT_COMPLETIONSGenerate a conversational response by creating a new persistent v0 chat. The request uses the last user message and combined system messages rather than the full conversation history, and returns an OpenAI-style completion.

Input Parameters

string
Model ID to use. Available: ‘v0-mini’ (fast), ‘v0-pro’ (balanced, default), ‘v0-max’ (advanced reasoning), ‘v0-max-fast’ (fast advanced).
array
Tool/function definitions the model may call. Note: Tool calling is not supported by the v0 API through this action.
boolean
Whether to stream the response. Note: Streaming is not supported by this action; set to False or omit.
array
required
Conversation history as a list of messages. Each message requires ‘role’ (user/assistant/system) and ‘content’ (text string or content blocks). The last user message will be sent to the v0 API. Note: Image content blocks are ignored as the v0 /chats endpoint does not support multimodal input. Multiple system messages are concatenated with newlines.
string
Controls which tool is called. Note: Tool calling is not supported by the v0 API through this action.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_CREATE_HOOK_V0Tool to create a new webhook subscription for receiving event notifications. Use when you need to listen for chat or message events from v0.

Input Parameters

string
required
The target URL to receive webhook payloads. Must be a valid HTTP/HTTPS endpoint
string
required
A human-readable name for the webhook
string
Optional chat ID to scope the webhook to a specific chat. If omitted, webhook receives events from all chats
array
required
Array of event types to subscribe to. Choose from: chat.created, chat.updated, chat.deleted, message.created, message.updated, message.deleted, message.finished

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_CREATE_PROJECTTool to create a new v0 project container for chats and code generation. Use when you need to start a clean project with specific configuration.

Input Parameters

string
Icon identifier or emoji for the project
string
required
Name of the project (required)
string ("private" | "team")
Privacy setting for the project: ‘private’ or ‘team’
string
Description of the project
string
Additional instructions or context for the project. Maximum length: 1000 characters
string
ID of an existing Vercel project to link with this v0 project
array
List of environment variables for the project. Each item must have ‘key’ and ‘value’ fields

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_CREATE_PROJECT_ENV_VARSTool to create new environment variables for a v0 project. Use when you need to add environment variables to a project. By default, fails if any keys already exist unless upsert is set to true.

Input Parameters

boolean
Whether to overwrite existing environment variables with the same keys. If false, the request will fail if any keys already exist. Defaults to false
string ("true" | "false")
Enum for the decrypted query parameter.
string
required
The unique identifier of the project where environment variables should be created
array
required
An array of environment variables to create with key and value fields. Each item must have ‘key’ and ‘value’ properties

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_CREATE_VERCEL_PROJECTTool to link a Vercel project to an existing v0 project. Use when you need to enable Vercel-related features and deployment integration for a v0 project.

Input Parameters

string
required
The name to assign to the new Vercel project
string
required
The ID of the v0 project to link to the new Vercel project

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_DELETE_CHATTool to permanently delete a specific chat by ID. Use when you need to remove a chat and all its contents irreversibly.

Input Parameters

string
required
The unique identifier of the chat to delete. This operation is irreversible and permanently removes the chat and its contents.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_DELETE_DEPLOYMENTTool to delete a deployment by ID from Vercel. Use when you need to remove a specific deployment permanently.

Input Parameters

string
required
Unique identifier of the deployment to delete

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_DELETE_HOOKTool to delete a webhook by its ID. Use when you need to remove a webhook subscription. This action is irreversible.

Input Parameters

string
required
The ID of the webhook to delete. This operation is irreversible.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_DELETE_PROJECT_ENV_VARS_V0Tool to delete multiple environment variables from a project by their IDs. Use when you need to remove environment variables from a v0 project.

Input Parameters

string
required
The unique identifier of the project whose environment variables should be deleted
array
required
An array of environment variable IDs to delete

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_DELETE_V0_PROJECTTool to permanently delete a v0 project by its ID. Use when you need to remove a project and optionally all its associated chats. This operation is irreversible.

Input Parameters

string
required
The unique identifier of the project to delete. This must be a valid project ID that you have access to
string ("true" | "false")
If true, deletes all the chats associated with the given project ID. Deleting is permanent. Defaults to false

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_DEPLOY_PROJECTTool to deploy a specific v0 chat version to Vercel. Use when you need to create a live deployment with public URLs after generating code via v0.

Input Parameters

string
required
The ID of the chat to deploy
string
required
The ID of the project to deploy
string
required
The ID of the specific version to deploy

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_DOWNLOAD_CHAT_VERSIONTool to download all files for a specific chat version as a zip or tarball archive. Use when you need to retrieve a complete downloadable archive of a version’s files, optionally including deployment configuration files.

Input Parameters

string
required
The unique identifier of the chat containing the version
string ("zip" | "tarball")
The archive format for the download. Choose ‘zip’ for broad compatibility or ‘tarball’ for Unix/Linux systems
string
required
The unique identifier of the version to download
string ("true" | "false")
When ‘true’, includes all default files (package.json, configuration files, etc.) that would be part of a complete deployment. When ‘false’ or omitted, returns only the generated source files

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_EXPORT_PROJECT_CODERetrieve the files of a specific v0 chat version for code export. Default deployment files are requested by default but can be excluded.

Input Parameters

string
required
The unique identifier of the chat containing the version to export
string
required
The unique identifier of the specific version to export
string
Set to ‘true’ to include default deployment files (package.json, config files, etc.) for a complete deployable snapshot. Set to ‘false’ to return only generated source files. Defaults to ‘true’.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_FAVORITE_CHATTool to mark a chat as favorite or remove the favorite status. Use when you need to organize and quickly access important chats.

Input Parameters

string
required
The unique identifier of the chat to update
boolean
required
Specifies whether the chat should be marked as a favorite. Set to true to mark as favorite, false to remove from favorites

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_FIND_CHATSTool to retrieve a list of chats. Use when you need to list user chats with pagination and optional favorite filtering after authentication.

Input Parameters

integer
Maximum number of chats to return; must be between 0 and 60
integer
Number of chats to skip before returning results; must be non-negative
boolean
Set to true to filter and return only favorite chats. Omit or set to false to return all chats (favorites and non-favorites).

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_FIND_PROJECTSTool to retrieve a list of projects associated with the authenticated user. Use after obtaining a valid API key.

Input Parameters

string
Cursor for pagination to return items after this cursor
integer
Maximum number of projects to return; must be >= 1

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_FIND_VERCEL_PROJECTSTool to retrieve a list of Vercel projects linked to the user’s v0 workspace. Use when you need to discover available Vercel projects for deployment or integration purposes.

Input Parameters

string
Cursor for pagination to return items after this cursor
integer
Maximum number of Vercel projects to return; must be >= 1

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_FORK_CHATTool to create a fork (copy) of an existing chat. Use when you need to explore alternative directions without modifying the original conversation.

Input Parameters

string
required
The unique identifier of the chat to fork
string ("public" | "private" | "team" | "team-edit" | "unlisted")
Privacy settings for a chat.
string
The identifier of the specific chat version to fork from. If omitted, the latest version will be used.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_CHATTool to retrieve the full details of a specific chat using its chatId. Use when you need to access chat messages, metadata, and configuration for a specific chat.

Input Parameters

string
required
The unique identifier of the chat to retrieve. Must be provided as a path parameter.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_CHAT_PROJECTTool to retrieve the v0 project associated with a given chat. Use when you need to determine the context or scope of a chat session.

Input Parameters

string
required
The ID of the chat to retrieve the associated project for

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_DEPLOYMENT_ERRORSTool to retrieve errors for a specific deployment. Use when diagnosing and debugging deployment issues.

Input Parameters

string
required
The unique identifier of the deployment to inspect for errors

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_DEPLOYMENT_LOGSTool to retrieve logs for a specific deployment. Use when you need to debug or monitor deployment behavior by fetching log entries, optionally filtered by timestamp.

Input Parameters

integer
A UNIX timestamp (in seconds) used to filter logs. Returns only log entries generated after the specified time
string
required
The unique identifier of the deployment to retrieve logs for

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_HOOKTool to retrieve detailed information about a specific webhook by its ID. Use when you need to inspect webhook configuration, subscribed events, or target URL.

Input Parameters

string
required
The unique identifier of the hook to retrieve.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_MESSAGERetrieve detailed information about a specific message within a chat by chat and message ID, including its content, metadata, and any attachments.

Input Parameters

string
required
The unique identifier of the chat containing the message
string
required
The unique identifier of the message to retrieve

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_PROJECTTool to retrieve the details of a specific v0 project by its ID, including associated chats and metadata. Use when you need to inspect project configuration or access related chats.

Input Parameters

string
required
The unique identifier of the project to retrieve

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_PROJECT_ENV_VARTool to retrieve a specific environment variable for a given project by its ID, including its value. Use when you need to get the details of a particular environment variable for a project.

Input Parameters

string ("true" | "false")
Whether to return decrypted or encrypted environment variable values.
string
required
The unique identifier of the project that owns the environment variable
string
required
The unique identifier of the environment variable to retrieve

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_RATE_LIMITSTool to retrieve the current rate limits for the authenticated user. Use when you need to monitor usage limits and avoid throttling.

Input Parameters

string
The context or namespace to check rate limits for (e.g., a project slug or feature area). If not provided, returns global rate limits.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_USAGE_REPORT_V0Retrieve usage events with costs and metadata. Filter by date, chat, message, or user and paginate results to analyze usage and costs.

Input Parameters

integer
Maximum number of usage events to return per page. Defaults to 20.
string
Filter usage events by specific chat ID. Only returns events associated with this chat.
string
Base64 encoded cursor for pagination. Use the nextCursor from a previous response to fetch the next page of results.
string
Filter usage events by specific user ID. Only returns events associated with this user.
string
Filter events up to this date (ISO 8601 format). Include events created before or on this date.
string
Filter usage events by specific message ID. Only returns events associated with this message.
string
Filter events starting from this date (ISO 8601 format). Include events created on or after this date.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_USERTool to retrieve the currently authenticated user’s information. Use when you need to get the user’s ID, name, email, avatar, or account metadata.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_USER_BILLINGTool to fetch billing usage and quota information for the authenticated user. Use when you need to check the user’s billing details or usage metrics. Can be scoped to a specific project or namespace.

Input Parameters

string
Filters billing data by a specific scope, such as a project ID or slug

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_USER_PLAN_V0Tool to retrieve the authenticated user’s subscription plan details including billing cycle and balance. Use to check plan status and usage limits.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_GET_USER_SCOPESTool to retrieve all accessible scopes for the authenticated user, such as personal workspaces or shared teams. Use when you need to understand which workspaces the user can access.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_INIT_V0_CHATTool to initialize a new chat from source content such as files, repositories, registries, zip archives, or templates. Use when you need to start a new v0 chat session with pre-populated content. Initialization uses no tokens.

Input Parameters

object
Represents a zip archive to initialize from.
string
User-defined identifier for the chat session
object
Represents a Git repository to initialize the chat from.
string ("files" | "repo" | "registry" | "zip" | "template")
Initialization source types for the chat.
array
Inline file objects with name, content, and optional locked status. Used when type=‘files’
object
Represents a component registry to initialize from.
string
Associates chat with a specific project ID
string
Template ID to initialize from. Used when type=‘template’
string ("public" | "private" | "team" | "team-edit" | "unlisted")
Privacy settings for chat visibility.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_LIST_CHAT_VERSIONSTool to retrieve all versions (iterations) for a specific chat, ordered by creation date (newest first). Use when you need to view the history of a chat’s generated versions with cursor-based pagination support.

Input Parameters

integer
Specifies the maximum number of version records to return in a single response. Useful for paginating results when there are many versions.
string
required
The unique identifier of the chat to retrieve versions for
string
Base64 encoded cursor containing pagination data. Use the nextCursor value from a previous response to retrieve the next page of results.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_LIST_DEPLOYMENTSTool to retrieve a list of deployments for a given project, chat, and version. Use when you need to check existing deployments for specific project versions.

Input Parameters

string
required
The ID of the chat to find deployments for
string
required
The ID of the project to find deployments for
string
required
The ID of the version to find deployments for

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_LIST_HOOKSList configured webhooks, with optional limit and cursor-based pagination.

Input Parameters

string
Cursor for pagination to return items after this cursor
integer
Maximum number of hooks to return; must be >= 1

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_LIST_MESSAGESTool to retrieve all messages within a specific chat. Use when you need to list messages with content, role, and type information. Supports pagination for chats with many messages.

Input Parameters

integer
Maximum number of message records to return in a single response. Useful for paginating results when there are many messages.
string
required
The unique identifier of the chat to retrieve messages for
string
Base64 encoded cursor containing pagination data. Use the nextCursor from a previous response to fetch the next page of results.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_LIST_PROJECT_ENV_VARSTool to retrieve all environment variables for a project with optional decryption. Use when you need to view project configuration or secrets.

Input Parameters

string ("true" | "false")
Enum for decrypted parameter options.
string
required
The unique identifier of the project whose environment variables should be retrieved

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_UPDATE_CHATTool to update metadata of an existing v0 chat. Use when you need to rename a chat or change its privacy setting after creation.

Input Parameters

string
A new name to assign to the chat. Helps with identification and organization
string
required
The unique identifier of the chat to update
string ("public" | "private" | "team" | "team-edit" | "unlisted")
Privacy settings for a chat.

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_UPDATE_CHAT_VERSIONTool to update source files of a specific chat version. Use when you need to manually edit generated files through the API.

Input Parameters

array
required
Array of files to update with their new content. Each file must have ‘name’ and ‘content’ fields
string
required
The unique identifier of the chat containing the version to update
string
required
The unique identifier of the version (block) to update

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_UPDATE_HOOKTool to update the configuration of an existing webhook, including its name, event subscriptions, or target URL. Use when you need to modify webhook settings after creation.

Input Parameters

string
A new URL to send webhook payloads to. Must be a valid URI
string
A new name for the hook
array
Updated list of event types to subscribe to. Choose from: chat.created, chat.updated, chat.deleted, message.created, message.updated, message.deleted, message.finished
string
required
The ID of the webhook to update

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_UPDATE_PROJECTTool to update the metadata of an existing v0 project using its projectId. Use when you need to change the project name, description, instructions, or privacy setting.

Input Parameters

string
A new name to assign to the project. Helps with identification and organization
string ("private" | "team")
Privacy settings for a v0 project.
string
required
The unique identifier of the project to update
string
A new description to assign to the project. Helps with identification and organization
string
Guidance or goals that provide context for the model when working within the project

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not
Slug: V0_UPDATE_PROJECT_ENV_VARSTool to update environment variables for a v0 project. Use when you need to modify the values of existing environment variables.

Input Parameters

string ("true" | "false")
Whether to return decrypted values in the response. Defaults to false (encrypted)
string
required
The unique identifier of the project whose environment variables should be updated
array
required
An array of environment variables to update. Each item must have ‘id’ and ‘value’ fields

Output

string
required
Data from the action execution
string
Error if any occurred during the execution of the action
boolean
required
Whether or not the action execution was successful or not