Chats

Lists chats accessible to the authenticated user. Use metadata[key]=value style query parameters to filter by metadata.

get/chats

Request

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

Query parameters

limitinteger

Maximum number of chats to return (1-100, default 20).

cursorstring

Pagination cursor returned from a previous response.

authorIdstring

Restrict results to chats created by this user. Must be a member of the calling scope.

vercelProjectIdstring

Restrict results to chats associated with this Vercel project.

metadataobject

Filter by metadata, e.g. metadata[environment]=production. Returns chats matching all supplied key-value pairs.

Response

Response for status 200

cursorstring nullable required

Cursor to fetch the next page, or null if there are no more chats.

Changes

    • breaking

      for the query request parameter limit, default value was changed from 60 to 20

    • breaking

      for the query request parameter limit, the type changed from number to integer

    • 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

      for the query request parameter limit, the min was set to 1.00

    • warning

      deleted the query request parameter branch

    • warning

      deleted the query request parameter isFavorite

    • warning

      deleted the query request parameter offset

    • info

      api operation id chats.find removed and replaced with chats.list

    • info

      the endpoint scheme security apiKey was removed from the API

    • info

      api tag Chats added

    • info

      api tag chats removed

    • info

      added the new optional query request parameter authorId

    • info

      added the new optional query request parameter cursor

    • info

      added the new optional query request parameter metadata

    • info

      for the query request parameter limit, the max was increased from 60.00 to 100.00

    • 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

      removed the non-success response with the status

    • info

      removed the non-success 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

    • info

      added the optional property /// to the response with the status