# Get Chat Messages **GET /api/v1/chats/{chatID}/messages** Retrieves all messages associated with a specific chat session. ## Servers - http://api.example.com: http://api.example.com () ## Authentication methods - Bearer auth ## Parameters ### Path parameters - **chatID** (integer) Chat ID ## Responses ### 200 List of messages with parsed metadata #### Body: application/json (array[object]) - **chat_id** (integer) - **content** (string) - **created_at** (string) - **id** (integer) - **metadata** (object) Use structured type - **role** (string) ### 400 Invalid chat ID #### Body: application/json (object) - ***** (string) ### 401 Unauthorized (JWT invalid/missing or Org ID not found) #### Body: application/json (object) - ***** (string) ### 403 Permission denied (Chat doesn't belong to user's org) #### Body: application/json (object) - ***** (string) ### 404 Chat not found #### Body: application/json (object) - ***** (string) ### 500 Failed to get chat or messages #### Body: application/json (object) - ***** (string) [Powered by Bump.sh](https://bump.sh)