/v1/sessions/{session_id}/remote/chatGrab the last 100 chat messages. Each message has the sender's user ID, display name, and the message text.
Authorization
apiKeyAuth Your API key from taiku login. Also available as TAIKU_TOKEN env var.
In: header
Path Parameters
Query Parameters
Optional target browser client ID. Useful when multiple clients are connected to the same session.
0 <= valueResponse Body
application/json
text/plain
text/plain
text/plain
text/plain
text/plain
text/plain
curl -X GET "/api/v1/sessions/string/remote/chat"{
"result": [
[
1,
"nathan",
"anyone seeing that flaky test?"
],
[
2,
"guest",
"yeah, it's the timeout in CI"
]
]
}"Command failed""Unauthorized""Not the session owner""Session not found""Session closed""No active browser clients responded"List AI agents GET
Returns detected AI agents (Claude, Codex, OpenCode) running in your terminals — with their type, model, token usage, and session IDs. Useful for monitoring costs.
Run any command POST
The universal remote-command endpoint. Send a method name and params, and an active browser client for the session will execute it. This is what `taiku func` calls under the hood. If no browser client is connected, the request returns `504` after the timeout.