Skip to content
Console
Menu

Getting Started

Authentication

KV Store

Get a service observation

Reads readiness without invoking or waking a service.

Reads readiness without invoking or waking a service.

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

#Request

FieldTypeWhat it is
namestringService id under the service_observations collection. Required.

#Response

FieldTypeWhat it is
namestringUses the observed service's id.
uidstringImmutable environment-service identity. Output only.
metaResourceMetaTime of the most recent owner observation.
servicestringSame-environment service name. Output only.
readinessstringready, not_ready or unknown; idle is distinct from unavailable evidence. Output only.
reasonstringExplanation without issuing a wake-up request. Output only.
releasestringCurrent serving Release identity. 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.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/service_observations/service-observation" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"