Get a Flow agent chat
flow_agent_get_chatRead a Flow agent chat. With wait: true, follows the chat live for up to ~50 s and returns its latest turn (or, with after = the lastEventId of an earlier flow_agent_chat / flow_agent_get_chat result, everything after it) — use this to get the rest of a turn still running. Without wait: the chat's title, status (running / waiting_approval / failed / idle), pending permission request, last error and its latest turns (your message, the agent's items and the media with their current status and url). GET /agent/chats/{chatId} or GET /agent/chats/{chatId}/stream.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| wait | No | Follow the chat live up to ~50 s until the current turn ends (default false). | |
| after | No | With wait: true, return only what came after this lastEventId (e.g. 2:end). | |
| limit | No | Without wait: how many of the latest turns to return, 1 to 100 (default 20). | |
| media | No | Without wait: bring the media's status and urls up to date (default true; false is faster). | |
| chatId | Yes | The chatId. |