GET
/v1/sessions/{session_id}/remote/tilesGet every tile with its key, type (shell, plugin, peek, etc.), and whether it's currently focused. Good for figuring out what to target with other commands.
Authorization
apiKeyAuth X-Taiku-Token<token>
Your API key from taiku login. Also available as TAIKU_TOKEN env var.
In: header
Path Parameters
session_id*string
Query Parameters
client?integer
Optional target browser client ID. Useful when multiple clients are connected to the same session.
Range
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/tiles"{
"result": [
{
"key": 1,
"type": "shell",
"id": 1,
"active": true
},
{
"key": 2,
"type": "shell",
"id": 2,
"active": false
}
]
}"Command failed""Unauthorized""Not the session owner""Session not found""Session closed""No active browser clients responded"