Create Reservation
Reserves a hostname label for the team. Labels are globally unique across the deployment and lower-cased on the way in. Fails with already_exists when the name is taken — including by another team, which is deliberate: the namespace is the hostname space, not a per-team one.
Refused with resource_exhausted once the team is at its quota. Names a product manages for the team do not count towards it. Needs the editor role.
Required scopes: burrow:names:edit
Authorization
BearerAuth A Xeonr Auth access token whose audience is this API, or a team API
key (xk_…), presented as Authorization: Bearer ….
In: header
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
length <= 128Name is the hostname label. One DNS label: lower-case letters, digits and hyphens, not starting or ending with one.
^[a-z0-9]([a-z0-9-]*[a-z0-9])?$1 <= length <= 63Protocol defaults to HTTP when unspecified, which is what all but a handful of tunnels are.
"PROTOCOL_UNSPECIFIED" | "PROTOCOL_HTTP" | "PROTOCOL_TCP" | "PROTOCOL_UDP"TargetPort is the local port the CLI should default to for this name.
value <= 65535Policy is the access-policy document. Empty means the deployment default, which denies nothing beyond requiring the tunnel to be up.
length <= 16384RetentionDays is how long this name's captured traffic is kept. Zero means the deployment default. The server clamps it to the deployment maximum rather than refusing, because a caller asking for more than it may have wanted the longest it can get.
value <= 365Response Body
application/json
application/json
curl -X POST "https://burrow.prod.wtf/xeonr.burrow.v1.ReservationService/CreateReservation" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{
"reservation": "map[captureMode:CAPTURE_MODE_FULL createdAt:2026-09-14T11:02:00Z createdBy:urn:xeonr:auth:uid:user:3 id:5b2d7c1e-9a4f-4e3b-8c6d-2f1a0b9e7d34 name:checkout policy:{\"routes\":[{\"match\":\"POST /webhooks/*\",\"allow\":[{\"kind\":\"public\"}]},{\"match\":\"/*\",\"allow\":[{\"kind\":\"team\"}]}]} protocol:PROTOCOL_HTTP retentionDays:30 targetPort:3000 team:urn:xeonr:auth:team:0f3c9a2e-8f1b-4c2d-9e6a-1b2c3d4e5f60 updatedAt:2026-10-22T09:30:00Z]"
}Reserved names
A team's reserved names — hostnames and pooled TCP/UDP ports kept for the team rather than leased to whoever connected last — their settings, and the agent credentials that open a team-held name's tunnel.
Create Reservation Credential POST
Mints a credential that can open the agent session for this one name and nothing else, and returns its secret once in `secret`: the narrowest unattended credential for a tunnel, for a CI deploy preview or an agent on a device. It is a Xeonr Auth API key (`xk_…`) owned by the reservation, so it dies with it. An agent presents it as `Authorization: Bearer xk_…` on the agent WebSocket, exactly where a CLI token goes, and `BURROW_TOKEN=xk_… burrow http <port>` works. Registered with it, the tunnel always serves this name with this name's policy and capture mode: the name, team, protocol and policy the agent sends are ignored or must match. It is refused on every control-plane method. Refused with `permission_denied` for a name a product manages (`managed_by` set): that product mints its credentials. Needs the editor role. It takes `burrow:tokens:admin`, not `burrow:names:edit`, so that no API key can reach it: a credential that can mint credentials is one that never really gets revoked. **Required scopes:** `burrow:tokens:admin`