Get a chat
muse_get_chatRead a Muse chat. With wait: true, follows the chat live for up to ~50 s and returns its latest answer (or, with after = the lastEventId of an earlier muse_chat / muse_get_chat result, everything after it) — use this to get the rest of an answer still running. Without wait, returns the recent messages (with files and widgets), the chat status and any pending permission requests. GET /chats/{chatId} or GET /chats/{chatId}/stream.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Follow the chat live up to ~50 s until the current answer ends (default false). | |
| after | No | With wait: true, return only what came after this lastEventId. | |
| limit | No | Without wait: how many recent chat events (messages and files) to read, 1 to 1000 (default 20). | |
| before | No | Without wait: the before value of an earlier result, to read older messages. | |
| chatId | Yes | The chatId. |