---
# @generated by sylphx-gen. Do not edit.
title: "Get a service observation"
description: "`hosting.service_observations.get` (GET /v1/{name}): Reads readiness without invoking or waking a service."
type: reference
product: hosting
summary: "Reads readiness without invoking or waking a service."
updated: 2026-09-28
nav: false
---

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](/docs/api/service_observations)

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Service id under the service_observations collection. Required. |

## Response

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Uses the observed service's id. |
| `uid` | `string` | Immutable environment-service identity. Output only. |
| `meta` | `ResourceMeta` | Time of the most recent owner observation. |
| `service` | `string` | Same-environment service name. Output only. |
| `readiness` | `string` | ready, not_ready or unknown; idle is distinct from unavailable evidence. Output only. |
| `reason` | `string` | Explanation without issuing a wake-up request. Output only. |
| `release` | `string` | Current serving Release identity. Output only. |

### ResourceMeta

| Field | Type | What it is |
| --- | --- | --- |
| `generation` | `int64` | Increases by one on every change to `spec`. Output only. |
| `etag` | `string` | Strong 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_time` | `timestamp` | When the Resource was created. Output only. |
| `update_time` | `timestamp` | When the Resource last changed. Output only. |
| `delete_time` | `timestamp` | Set while the Resource is being deleted. Output only. |
| `labels` | `map<string, string>` | Caller-writable, indexed labels (AIP-122 label rules). |
| `annotations` | `map<string, string>` | Caller-writable, unindexed annotations. |
| `display_name` | `string` | Caller-writable human-readable name. |
| `creator` | `string` | The principal that created the Resource. Output only. |

## Errors

- [`UNAUTHENTICATED`](/docs/api/errors/UNAUTHENTICATED) — No valid key or token was presented.
- [`PERMISSION_DENIED`](/docs/api/errors/PERMISSION_DENIED) — The key lacks the method's permission.
- [`RESOURCE_NOT_FOUND`](/docs/api/errors/RESOURCE_NOT_FOUND) — The named Resource does not exist or is not visible.
- [`INVALID_FIELD`](/docs/api/errors/INVALID_FIELD) — A field failed validation.

Every error arrives in the body [Errors](/docs/platform/errors) describes.

## Examples

**cURL**

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

**TypeScript**

```ts
const response = await sylphx.hosting.serviceObservations.get({ name: 'orgs/acme/projects/shop/envs/production/service_observations/service-observation' })
```

**Rust**

```rust
let mut req = sylphx::hosting::GetServiceObservationRequest::default();
req.name = "orgs/acme/projects/shop/envs/production/service_observations/service-observation".to_string();
let response = sx.hosting().service_observations().get(req).await?;
```

**CLI**

```bash
sylphx hosting service-observations get orgs/acme/projects/shop/envs/production/service_observations/service-observation
```

**MCP**

```json
{ "method_id": "hosting.service_observations.get", "args": {"name":"orgs/acme/projects/shop/envs/production/service_observations/service-observation"} }
```
