Actions28
- Chat Actions
- Chat History Actions
- Memory Actions
- Record Actions
- Record Schema Actions
- Claim Actions
Chat History → List Chats
AI-generatedSummary
List chats for a subject, optionally limiting the number of chats returned.
Inputs
- historySubjectId (required) — Enter the subject id.
- historyListLimit — Max chats to return. Default 50, max 500
Output shape
Array of chat objects representing history entries.
Returns an array; each entry contains chat metadata (e.g., chat_id, created_at, messages). The number of entries is limited by historyListLimit, default 50, up to 500. If no chats exist, an empty array is returned.
Examples
Example 1: Fetch the most recent 20 chats for subject "proj_123".
subject_id = proj_123, limit = 20
Example 2: Retrieve all chats for subject "subj_456" using the default limit.
subject_id = subj_456
