Chats
List chat user prompts
Changed onReturns the user-authored prompts in a chat, newest first, with each prompt's text parts concatenated in the order they were authored. Used by the composer to power the up/down arrow prompt-history cycle without paging through every message in the chat.
get/api/v2/chats/{chat}/prompts
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v2/chats/{chat}/prompts
- AuthAPI key in header Coder-Session-Token
Path parameters
chatstring uuid required
Chat ID
Query parameters
limitinteger
Page size, 0 to 2000. 0 (the default) means the server-side default of 500.
Response
OK
Changes
- info
endpoint added
- info