GET
/v1/sessions/{session_id}/remote/tunnelsShows which local ports are being tunneled through the session. These are the ports accessible via the /t/{name}/p/{port}/ URL pattern.
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/tunnels"{
"result": [
3000,
8080,
5173
]
}"Command failed""Unauthorized""Not the session owner""Session not found""Session closed""No active browser clients responded"