Chats
Start a new chat and stream the reply
post/v1/chats
Request body
Response
Streaming UI message stream (newline-delimited JSON chunks). Read the X-Chat-Id response header for the chat id, or take it from the start chunk's messageMetadata.chatId.
Changes
Changed in 3 of the 6 revisions of this API.3
- ○
added
subschema #3to thecontext/items/request propertyoneOflistrequest-property-one-of-added
- ○
- ○
added the new
anthropic/claude-opus-5enum value to the request propertymodelrequest-property-enum-value-added
- ○
- ○
added the non-success response with the status
429response-non-success-status-added
- ○