(
conversationId: string,
opts?: z.input<typeof listMessagesQuerySchema>
)
| 312 | }); |
| 313 | } |
| 314 | |
| 315 | // Nudges the bot to push a fresh `bot.status` event over event-service. |
| 316 | // Returns cached status when available so the caller can paint the UI |
| 317 | // immediately without waiting for the WS event. Server dedupes within a |
| 318 | // short window; subscribed clients call this every ~15s while on a chat |
| 319 | // surface. |
| 320 | async requestBotStatus(sandboxId: string): Promise<RequestBotStatusResponse> { |
| 321 | return this.httpRequest(`/v1/sandboxes/${sandboxId}/request-bot-status`, { |
| 322 | method: 'POST', |
| 323 | schema: requestBotStatusResponseSchema, |
no test coverage detected