Get all user chats via API key
Get all user chats via API key
Get all chats for the user associated with the API key. Requires CHAT scope.
GET
Get all user chats via API key
Authorizations
Enter your LeanMCP API key
Response
200 - application/json
Chat list retrieved successfully
Chat unique identifier
Example:
"c1a83d84-7154-464c-bd19-a9f10e0a067f"
Chat title
Example:
"Help with TypeScript"
Number of messages in the chat
Example:
8
When the chat was created
Example:
"2025-06-16T19:30:00.000Z"
Timestamp of the last message
Example:
"2025-06-16T20:15:00.000Z"
Model used in this chat
Example:
"claude-3-sonnet"
Chat summary
Example:
"Discussion about TypeScript best practices"
Chat metadata
Example:
"Discussion about TypeScript best practices"

