Skip to content
Console
Menu

Getting Started

Authentication

KV Store

Get a serving route

Gets an authorized public route observation.

Gets an authorized public route observation.

  • Path GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/serving_routes/serving-route
  • Scope hosting:read
  • Effect read — nothing is written.
  • Collection serving_routes

#Request

FieldTypeWhat it is
namestringExact tenant-scoped route name. Required.

#Response

FieldTypeWhat it is
namestringTenant-scoped name of this route observation.
uidstringStable identity of the underlying route lifetime. Output only.
metaResourceMetaRoute generation and observation time.
servicestringOwning same-environment service. Output only.
hostnamesstring[]Full declared hostname population; wildcard values stay wildcard. Output only.
rulesServingRouteRule[]Every rule, including unsupported or unobserved ones. Output only.
observedboolTrue only when the owner has observed the current route generation. Output only.

#ResourceMeta

FieldTypeWhat it is
generationint64Increases by one on every change to spec. Output only.
etagstringStrong ETag (AIP-154): changes on any change to spec, status, or metadata. Send it back as If-Match or etag to make Update and Delete conditional; a mismatch fails with ABORTED / 409 ETAG_MISMATCH. Output only.
create_timetimestampWhen the Resource was created. Output only.
update_timetimestampWhen the Resource last changed. Output only.
delete_timetimestampSet while the Resource is being deleted. Output only.
labelsmap<string, string>Caller-writable, indexed labels (AIP-122 label rules).
annotationsmap<string, string>Caller-writable, unindexed annotations.
display_namestringCaller-writable human-readable name.
creatorstringThe principal that created the Resource. Output only.

#ServingRouteRule

FieldTypeWhat it is
indexint32Stable index in this route generation.
matchesServingRouteMatch[]Complete match population. No match means the default prefix /.
backendsServingRouteBackend[]Every selected backend, including weight zero for truthful readback.
expected_releasestringCurrent serving Release, or the admitted rollout moving this rule.
expected_source_shasstring[]Expected tenant sources from current Release members and admitted positive-weight rollout choices; never copied from response headers.
unknown_reasonstringNonempty for redirect-only, unsupported or unavailable policy.

#ServingRouteMatch

FieldTypeWhat it is
path_typestringExact, PathPrefix, or RegularExpression.
pathstringExact path or path expression.
methodstringEmpty matches any method; otherwise the exact HTTP method.
requires_request_contextboolTrue when headers/query or unknown match extensions need caller input.

#ServingRouteBackend

FieldTypeWhat it is
revisionstringImmutable selected revision name, when the backend is a revision.
weightint32Effective positive selection weight; zero receives no traffic.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/serving_routes/serving-route" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"