fetch-inbox
Fetch a complete inbox view for a workspace, including threads, conversations, unread counts, and unread IDs. Filter by date, unread status, or archive state.
Instructions
Fetch inbox view with threads, conversations, unread counts, and unread IDs. Provides a complete picture of the inbox state. Use archiveFilter "all" to include threads marked as done alongside active threads.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | Maximum number of items to return. | |
| sinceDate | No | Optional date to get items since (YYYY-MM-DD format). | |
| untilDate | No | Optional date to get items until (YYYY-MM-DD format). | |
| onlyUnread | No | Only return unread items. | |
| workspaceId | Yes | The workspace ID to fetch inbox for. | |
| archiveFilter | No | Filter inbox threads by archive status. "active" (default) shows only current threads, "archived" shows only done/archived threads, "all" shows both active and done threads. | active |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| type | Yes | ||
| threads | Yes | ||
| unreadCount | Yes | ||
| workspaceId | Yes | ||
| totalThreads | Yes | ||
| conversations | Yes | ||
| unreadThreads | Yes | ||
| totalConversations | Yes | ||
| unreadConversations | Yes |