Skip to content
Console
Menu

Getting Started

Authentication

KV Store

Probe a service observation

Performs one safe same-environment transport observation.

Performs one safe same-environment transport observation. Unlike a readiness read, this explicitly requested HTTP instrument may activate an idle service. No caller credential is forwarded to the workload.

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

#Request

FieldTypeWhat it is
namestringSame-environment service observation name. Required.
methodstringGET or HEAD; defaults to HEAD.
pathstringCanonical safe path; defaults to /healthz.
expect_statusuint32[]Allowed statuses; defaults to 200 through 299.
expect_bodystringBounded literal body assertion for GET.
timeoutduration1, 2, 5 or 10 seconds; defaults to 10 seconds.

#Response

FieldTypeWhat it is
outcomestringup, unexpected_status, body_mismatch, dns_failure, tls_failure, network_failure, timeout or unknown.
reasonstringPrecise unknown or refusal reason, separate from outage.
statusuint32Actual HTTP status, zero if no response was received.
sample_timetimestampServer observation time.

#Errors

Every error arrives in the body Errors describes.

#Examples

curl -X POST "https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/service_observations/service-observation:probe" \
  -H "Authorization: Bearer $SYLPHX_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{}'