Reference

Parameters, headers, and limits

Exact request conventions for API version 2026.08. All sizes use raw request bytes before upstream decompression.

Conventions

Resources use stable string identifiers with a short type prefix, such as svc_, rte_, and req_. Timestamps are UTC values in RFC 3339 format.

ConventionFormatExample
Service IDsvc_{value}svc_payments
Request IDSortable opaque IDreq_01J5D5W8R9F2
TimestampRFC 3339 UTC2026-08-19T12:00:00Z
CurrencyISO 4217USD

Request headers

HeaderRequiredDescription
AuthorizationYesBearer token scoped to a workspace and environment.
Content-TypeWith bodyUse application/json for management requests.
AcceptNoDefaults to application/json.
Idempotency-KeyFor safe retriesUnique key, 8–128 ASCII characters, retained for 24 hours.
X-Request-IdNoClient correlation ID. The gateway generates one when omitted.
X-Gateway-VersionNoPin behavior to 2026-08; otherwise the workspace default applies.
Forwarded headers: hop-by-hop headers are removed. The gateway sets Forwarded and X-Forwarded-For from the trusted connection.

List parameters

ParameterTypeDefaultRules
limitinteger501–100 items.
cursorstringOpaque value from the prior response.
sortstringcreated_atcreated_at, name, or status.
orderenumdescasc or desc.
environmentenumtoken scopedevelopment, staging, or production.

Paginated responses include next_cursor. A null value means the current page is the last one.

Route fields

FieldTypeRequiredConstraint
namestringYes2–64 lowercase letters, digits, and hyphens.
service_idstringYesExisting service in the same environment.
timeout_msintegerNo100–30,000; default 5,000.
retry_countintegerNo0–2; retries only safe methods by default.
strip_prefixbooleanNoDefault true.
allowed_methodsarrayNoDefaults to all standard HTTP methods.

Platform limits

LimitDeveloperTeamScale
Request body2 MB10 MB25 MB
Response body5 MB25 MB100 MB
Gateway timeout10 s30 s60 s
Routes per workspace10100Custom
Sustained requests10 req/s250 req/sCustom
Burst window20 requests500 requestsCustom

Rate-limit responses include Retry-After and reset headers. Contact support before a planned load test above 5,000 requests per second.