list_messages
Retrieve messages with filters for date, conversation, folder, workspace, creator, or language. Includes full bodies, transcripts, and AI summaries for review.
Instructions
List messages with filtering by date, conversation, folder, workspace, creator or language.
USE WHEN: The general-purpose message reader; full bodies incl. transcript and AI summary. Max date span 183 days. user_ids filters by SENDER — for messages exchanged WITH someone, pass conversation_id from list_conversations. Use presigned URLs as-is.
USE INSTEAD: get_recent_messages for a quick look at the latest few (hard-capped at 10, no paging). search_message_ids for filters this cannot express — notified state, mentions or labels.
FIRST: workspace_id comes from get_workspaces_basic_info (field id) — call it first if you don't have one.
EXAMPLE: {"workspace_id":"ws-abc","start_date":"2026-09-01T00:00:00Z","size":25}
RETURNS: {page, size, sort_direction, total, results_count, has_next_page, filters, results: [{id, transcript?, ai_summary?, audio_url?, creator_id, conversation_id?, duration_ms, reply_count, status, type, created_at, ...}]}. Page on has_next_page/total — do not guess.
NARROW: pass response_fields ["total","has_next_page","results.id","results.transcript","results.created_at"] unless you need more — the full payload is much larger.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | 1-based page number. Use with `size`; check `has_next_page` in the response. | |
| size | No | Max number of results per page is: **50** | |
| type | No | Type (optional) | |
| end_date | No | End Date range | |
| language | No | Language (optional) | |
| user_ids | No | Filter by message CREATOR (sender) — matched against `creator_id`, not participants. Requires user IDs from `search_users`, not names. To find messages exchanged WITH someone, resolve the conversation via `list_conversations` and pass `conversation_id` instead. | |
| folder_id | No | Folder ID (optional) | |
| start_date | No | Start Date range | |
| workspace_id | No | Workspace ID (optional) | |
| sort_direction | No | The field used to sort results is **Creation Date** | DESC |
| conversation_id | No | Conversation ID (optional) | |
| response_fields | No | Dot-path allowlist to shrink the response, e.g. ["results.id","total"]. Omit for the full payload. |