Skip to Content
Xeonr Developer Docs
API SpecificationReserved names

Create Reservation

POST
/xeonr.burrow.v1.ReservationService/CreateReservation

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
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
Lengthlength <= 128
name?string

Name is the hostname label. One DNS label: lower-case letters, digits and hyphens, not starting or ending with one.

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

Protocol defaults to HTTP when unspecified, which is what all but a handful of tunnels are.

Value in"PROTOCOL_UNSPECIFIED" | "PROTOCOL_HTTP" | "PROTOCOL_TCP" | "PROTOCOL_UDP"
targetPort?integer

TargetPort is the local port the CLI should default to for this name.

Rangevalue <= 65535
policy?string

Policy is the access-policy document. Empty means the deployment default, which denies nothing beyond requiring the tunnel to be up.

Lengthlength <= 16384
retentionDays?integer

RetentionDays 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.

Rangevalue <= 365
[key: string]?never

Response 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]"
}