Skip to Content
Xeonr Developer Docs
API SpecificationTunnels

Get Tunnel

POST
/xeonr.burrow.v1.TunnelService/GetTunnel

Looks a tunnel up by its name: the live row when it is up, and the team that owns the name either way.

With a team, only that team is searched. Without one, every team the caller is a member of is searched, so a link that names only the tunnel (the one the CLI prints) can be resolved in one call. A name that is up in none of them is answered from the reserved names, when the credential may also read those (burrow:names:read): tunnel is then absent, and team and protocol are the reservation's.

Fails with not_found when the name is neither up nor reserved in any team searched. An ephemeral slug that has gone down is therefore not_found: its history is in the traffic and connection logs, not here.

Required scopes: burrow:tunnels:read

Authorization

BearerAuth
AuthorizationBearer <token>

A Xeonr Auth access token whose audience is this API, or a team API key (xk_…), presented as Authorization: Bearer ….

In: header

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

team?string

Team URN or slug. Empty searches every team the caller is a member of — unlike ListTunnels, where empty means the caller's only team.

Lengthlength <= 128
name?string

Name is the hostname label: the reserved name, or the ephemeral slug.

Match^[a-z0-9]([a-z0-9-]*[a-z0-9])?$
Length1 <= length <= 63
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://burrow.prod.wtf/xeonr.burrow.v1.TunnelService/GetTunnel" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "tunnel": "map[accessPolicy:{\"routes\":[{\"match\":\"POST /webhooks/*\",\"allow\":[{\"kind\":\"public\"}]},{\"match\":\"/*\",\"allow\":[{\"kind\":\"team\"}]}]} bytesIn:2411520 bytesOut:48234496 errors:3 host:checkout.brw.xnr.app key:checkout.brw.xnr.app name:checkout protocol:PROTOCOL_HTTP replica:10.42.3.17:9091 requests:1284 startedAt:2026-10-22T08:05:12Z subject:urn:xeonr:auth:uid:user:3 target:localhost:3000 team:urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60 teamSlug:platform-core]",
  "team": "urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60",
  "teamSlug": "platform-core",
  "protocol": "PROTOCOL_HTTP",
  "reserved": "true"
}