Returns the binary split tree that describes how tiles are arranged. Useful for understanding what's on screen before you start rearranging things.
apiKeyAuthX-Taiku-Token<token>Your API key from taiku login. Also available as TAIKU_TOKEN env var.
session_id*stringclient?integerOptional target browser client ID. Useful when multiple clients are connected to the same session.
0 <= valueThe layout tree.
application/json- response
Remote command success envelope. Transport-level or command-level failures use non-2xx HTTP responses.
result*unknownSuccessful browser-side command result. Shape depends on the requested method.
curl -X GET '/api/v1/sessions/string/remote/layout'{ "result": { "kind": "split", "direction": "horizontal", "ratio": 0.5, "first": { "kind": "leaf", "tiles": [ 1 ] }, "second": { "kind": "leaf", "tiles": [ 2 ] } }}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.
List shells GET
Returns every shell with its ID, row count, and column count. Use the ID to write to a specific shell or read its output.