Chats

Retrieves a chat by ID.

get/chats/{chatId}

Request

  • Base URL
    https://api.v0.dev/v2
  • URL
    https://api.v0.dev/v2/chats/{chatId}
  • Auth
    HTTP bearer

Path parameters

chatIdstring required

The unique identifier of the chat.

Response

Response for status 200

idstring required

Unique chat identifier.

titlestring

Chat title, if generated.

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

Visibility setting of the chat.

createdAtstring date-time required

ISO timestamp of when the chat was created.

updatedAtstring date-time

ISO timestamp of when the chat was last updated.

authorIdstring required

ID of the user who created the chat.

vercelProjectIdstring

Associated Vercel project ID, if any.

metadataobject required

User-defined key-value metadata.

writePermissionboolean required

Whether the caller has write access to this chat.

Changes

    • breaking

      for the path request parameter chatId, the minLength was increased from 0 to 1

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      api operation id chats.getById removed and replaced with chats.get

    • info

      the endpoint scheme security apiKey was removed from the API

    • info

      api tag Chats added

    • info

      api tag chats removed

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      removed the non-success response with the status

    • info

      the response's property pattern ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$ was added for the status

    • info

      response property title reactivated

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • info

      added the required property to the response with the status

    • warning

      added the new v0-opus-4.7-fast enum value to the / response property for the response status