Chats

Update Chat Files

Changed on

Creates, updates, or deletes UTF-8 or base64-encoded files for a chat. Pass null to delete.

patch/chats/{chatId}/files

Request

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

Path parameters

chatIdstring required

The unique identifier of the chat.

Request body

Response

The messages created to record the file edit.

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

      response property messages/items/parts/items/oneOf[subschema #8]/data/anyOf[subschema #3]/requestedNpmRegistryIds deprecated