Tunnels

Tunnels expose a local development server to Aiqaramba's agents and browsers through an encrypted connection, without making it reachable from the public internet. Open a tunnel with `aiqa tunnel <port>`; the assigned hostname stays reachable only from inside Aiqaramba's network. A tunnel lives exactly as long as its connection: closing the CLI closes the tunnel.

GET /api/v1/tunnels

List live tunnels

Returns the authenticated tenant's live tunnels, newest first.

Example Request

curl
curl "http://app.aiqaramba.com/api/v1/tunnels" \
  -H "Authorization: Bearer $AIQA_API_KEY"

Status Codes

CodeDescription
200Live tunnels and traffic statistics.
401Authentication is missing or invalid.
500The server could not complete the request.
503The requested feature is not configured on this server.

Response Fields (200)

FieldTypeDescription
tunnelsobject[]
tunnels[].hoststring
tunnels[].statestringValues: opening, open.
tunnels[].created_atdate-time
tunnels[].last_activitydate-time
tunnels[].active_connectionsinteger
tunnels[].total_connectionsinteger
tunnels[].bytes_ininteger
tunnels[].bytes_outinteger
tunnels[].client_addressstring