Skip to main content
GET
/
api
/
v1
/
chat-history
/
chats
Get User Chats
curl --request GET \
  --url https://api.mor.org/api/v1/chat-history/chats \
  --header 'Authorization: <authorization>'
{
  "id": "<string>",
  "title": "<string>",
  "created_at": "<string>",
  "updated_at": "<string>",
  "message_count": 123
}
Get all chats for the current user. Returns a paginated list of all chat conversations, ordered by most recently updated first.

Headers

Authorization
string
required
Bearer token (JWT) from OAuth2 login

Query Parameters

skip
integer
default:0
Number of records to skip for pagination
limit
integer
default:50
Maximum number of records to return

Response

Returns an array of chat objects.
id
string
Unique identifier for the chat
title
string
The chat title
created_at
string
ISO 8601 timestamp when created
updated_at
string
ISO 8601 timestamp when last updated
message_count
integer
Number of messages in the chat
Pagination: Use the skip and limit parameters to paginate through large lists of chats. The default limit is 50 chats per request.
Chats are ordered by updated_at in descending order, so the most recently active conversations appear first.