GET
/v1/sessions/{session_id}/remote/shellsReturns every shell with its ID, row count, and column count. Use the ID to write to a specific shell or read its output.
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/shells"{
"result": [
{
"id": 1,
"rows": 24,
"cols": 80
},
{
"id": 2,
"rows": 30,
"cols": 120
}
]
}"Command failed""Unauthorized""Not the session owner""Session not found""Session closed""No active browser clients responded"