Chats

Create Chat From Vercel Project

Changed on

Creates a new chat from an existing Vercel project.

post/chats/from-vercel-project

Request

  • Base URL
    https://api.v0.dev/v2
  • URL
    https://api.v0.dev/v2/chats/from-vercel-project
  • Auth
    HTTP bearer

Request body

vercelProjectIdstring required

Vercel project ID in the active user or team scope.

baseBranchstring

Base branch for a GitHub-linked project. Defaults to the repository default branch. Ignored for projects without a GitHub link.

privacy'public' | 'private' | 'team' | 'team-edit' | 'unlisted'

Visibility setting for the new chat.

titlestring

Title for the new chat.

metadataobject

Arbitrary key-value data to attach to the chat.

Response

A chat response that also reports the usage.

Changes

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      added the new optional request property (media type: application/json)

    • info

      added the new optional request property (media type: application/x-www-form-urlencoded)

    • info

      added the new optional request property (media type: multipart/form-data)

    • info

      endpoint added