Skip to content
Console
Menu

Getting Started

Authentication

KV Store

List uptime checks

Lists checks and aggregate status.

Lists checks and aggregate status. GetUptimeCheck reads target pages.

  • Path GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/uptime_checks
  • Scope observability:read
  • Effect read — nothing is written.
  • Collection uptime_checks
  • Query page_size, page_token
  • Pagination the answer carries uptime_checks and, when there is more, next_page_token

#Request

FieldTypeWhat it is
parentstringThe authorized environment. Required.
page_sizeint32At most 100 checks per page.
page_tokenstringOpaque continuation from this exact parent.

#Response

FieldTypeWhat it is
uptime_checksUptimeCheck[]Checks in this page.
next_page_tokenstringEmpty on the last page.

#UptimeCheck

FieldTypeWhat it is
namestringThe tenant-scoped check name.
uidstringA new immutable identity on every creation, including name reuse. Output only.
metaResourceMetaResource metadata, generation and etag.
specUptimeCheckSpecSafe desired observation policy. Required.
statusUptimeCheckStatusDurable evidence, including missing coverage. 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.

#UptimeCheckSpec

FieldTypeWhat it is
public_uristringHTTPS public URL, without credentials, query, fragment or redirects. One of the target group.
servicestringSame-environment Hosting Service resource name. One of the target group.
bound_public_revisionsboolTrue enumerates every authorized bound public Host/path and compares independent public response identity with the selected serving Release. One of the target group.
instrumentstringHTTP, READY or JOURNEY. JOURNEY is valid only for a Job target.
methodstringGET or HEAD; defaults to HEAD. No headers, credentials or request body.
pathstringPrivate HTTP path; defaults to /healthz. Not used by READY.
intervalduration30, 60, 300 or 900 seconds; defaults to 60 seconds.
timeoutdurationHTTP: 1, 2, 5 or 10 seconds. Journey: 10 through 900 seconds, including admission and execution. Defaults to 10 seconds.
expect_statusuint32[]Transport successes; defaults to 200 through 299. Denial and rate limits always remain unknown, even when included here.
expect_bodystringBounded literal substring, only with GET.
failures_before_alertuint32Consecutive known failures before a transport alert; defaults to two.
pausedboolPaused checks dispatch nothing and accrue no expected slots.
severitystringticket or page; defaults to ticket.
notifystring[]Existing email: or registered webhook: targets. Events owns signing, delivery and replay. No unregistered callback is silently considered sent.
execution_delegationstringAccess delegation naming Observability's workload principal, confined to this environment and the needed read/invoke permissions. Every dispatch exchanges it afresh; expiration or revocation prevents outbound work. Required.
jobstringSame-environment Workflows Job containing a versioned journey bundle. It runs once per slot with no retries; it is not an HTTP request body. One of the target group.

#UptimeCheckStatus

FieldTypeWhat it is
observed_generationint64Last reconciled generation. Output only.
conditionsCondition[]Ready, Reconciling, Stalled. Output only.
last_sample_timetimestampTime of the last committed observation, absent before the first sample. Output only.
last_resultstringup, down, match, mismatch or unknown. Output only.
firingboolWhether any target has an open firing episode. Output only.
coverageUptimeCoverage[]Exactly the 24-hour, 7-day and 30-day windows. Output only.
targetsUptimeTargetStatus[]Latest target population page (up to 100), including unknown targets. Output only.
next_target_page_tokenstringContinue with GetUptimeCheck.target_page_token; aggregates cover all targets. Output only.

#Condition

FieldTypeWhat it is
typestringThe condition type, for example Ready.
statusConditionStatusWhether the condition holds. One of true, false, unknown.
observed_generationint64The generation this observation was made against.
reasonstringA machine-readable UpperCamelCase reason.
messagestringA customer-safe human-readable message.
severitySeverityHow severe a FALSE condition is. One of info, warning, error.
transition_timetimestampWhen status last changed.

#UptimeCoverage

FieldTypeWhat it is
window_secondsint6486400, 604800 or 2592000 seconds. Output only.
expectedint64Due observations, including missing slots. Output only.
succeededint64Known successful observations. Output only.
failedint64Known failed observations. Output only.
unknownint64Received but inconclusive observations. Output only.
missingint64Due observations with no sample. Output only.

#UptimeTargetStatus

FieldTypeWhat it is
targetstringStable target identity within this check lifecycle. Output only.
uristringExact public URL or same-environment service name. Output only.
expected_releasestringCurrent selected serving Release, never desired or merely latest source. Output only.
expected_source_shasstring[]Admitted positive-weight source population, empty when unknown. Output only.
observed_source_shastringExactly one validated response header, empty when unknown. Output only.
resultstringup, down, match, mismatch or unknown. Output only.
reasonstringWhy evidence is unknown or failed, without losing the distinction. Output only.
sample_timetimestampActual observation time. Output only.
firingboolOpen episode latch; only proven equality or transport success resolves. Output only.
events_deliveriesstring[]Existing Events carrier receipts; receiver delivery is read from Events. Output only.

#Errors

Every error arrives in the body Errors describes.

#Examples

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