Chats
List chat attachments
Changed onReturns every file part in the user-visible user and assistant messages of a chat, newest first, so a client can list a chat's attachments without paging through every message in the chat.
get/api/v2/chats/{chat}/attachments
Request
- Base URL/ (relative, and the document was published on a file host, not at the API’s origin)
- URL/api/v2/chats/{chat}/attachments
- AuthAPI key in header Coder-Session-Token
Path parameters
chatstring uuid required
Chat ID
Query parameters
before_idinteger
Return attachments from messages with id < before_id
Response
OK
Changes
- info
endpoint added
- info