User GuidePluginsAPI Reference
GET
/v1/sessions/{session_id}/remote/tunnels

Shows which local ports are being tunneled through the session. These are the ports accessible via the /t/{name}/p/{port}/ URL pattern.

Authorization

apiKeyAuth
headerX-Taiku-Token<token>

Your API key from taiku login. Also available as TAIKU_TOKEN env var.

Path Parameters

session_id*string

Query Parameters

client?integer

Optional target browser client ID. Useful when multiple clients are connected to the same session.

Range0 <= value

Response Body

Active tunnel ports.

application/json
  1. response

Remote command success envelope. Transport-level or command-level failures use non-2xx HTTP responses.

result*unknown

Successful browser-side command result. Shape depends on the requested method.

Example Request
curl -X GET '/api/v1/sessions/string/remote/tunnels'
Example Response
{  "result": [    3000,    8080,    5173  ]}