Returns the binary split tree that describes how tiles are arranged. Useful for understanding what's on screen before you start rearranging things.
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 "https://example.com/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.