Messages
List Messages
Changed onLists all messages in a chat.
get/chats/{chatId}/messages
Request
- Base URLhttps://api.v0.dev/v2
- URLhttps://api.v0.dev/v2/chats/{chatId}/messages
- AuthHTTP bearer
Path parameters
chatIdstring required
The unique identifier of the chat.
Query parameters
limitinteger required
Maximum number of messages to return (1-100, default 20).
cursorstring
Pagination cursor returned from a previous response.
Response
Response for status 200
Changes
- info
response property
messages/items/parts/items/oneOf[subschema #8]/data/anyOf[subschema #3]/requestedNpmRegistryIdsdeprecated
- info
- breaking
added
subschema #2subschema #3to the//////response propertyoneOflist for the response status - info
removed
subschema #2from the//////response propertyoneOflist for the response status
- breaking