Chats
Clear chat context
Changed onResets the model context of an idle or errored chat, clearing any stored error. The reset commits synchronously with no model call: the transcript is preserved and the next prompt starts from a fresh context.
post/api/v2/chats/{chat}/clear
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v2/chats/{chat}/clear
- AuthAPI key in header Coder-Session-Token
Path parameters
chatstring uuid required
Chat ID
Response
OK
Changes
- info
endpoint added
- info