---
# @generated by sylphx-gen. Do not edit.
title: "Get a wait"
description: "`agents.waits.get` (GET /v1/{name}): Reads an exact wait and its retained evidence."
type: reference
product: agents
summary: "Reads an exact wait and its retained evidence."
updated: 2026-09-28
nav: false
---

Reads an exact wait and its retained evidence.

- **Path** `GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/agent_sessions/agent-session/waits/wait`
- **Scope** `agents:sessions`
- **Effect** `read` — nothing is written.
- **Collection** [waits](/docs/api/waits)

## Request

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Exact wait name. Required. |

## Response

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | Exact name; the final segment is the conserved wait UUID. |
| `uid` | `string` | Immutable platform Resource UID. Output only. |
| `meta` | `ResourceMeta` | Standard metadata. Output only. |
| `goal` | `string` | Optional exact Goal in this Session, never a current-Goal selector. |
| `type` | `string` | time or signal. Other producer types require their own admitted adapter. Required. |
| `reference` | `string` | Exact source reference for a signal; empty for a timer. |
| `deadline` | `timestamp` | Actual future due time; required only for a timer. |
| `resume_prompt` | `string` | What to do after observing this wait's evidence, at most 16 KiB. Required. |
| `state` | `string` | active, ready, resolved or cancelled. Ready still requires turn admission. Output only. |
| `evidence` | `struct` | Original bounded observed evidence, retained through delivery and restart. Output only. |
| `resumed_turn` | `int64` | The only turn that consumed this wait; unset until resolved. Output only. |
| `create_time` | `timestamp` | Creation time. Output only. |
| `update_time` | `timestamp` | Last state change time. 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/agent_sessions/agent-session/waits/wait" \
  -H "Authorization: Bearer $SYLPHX_API_KEY"
```

**TypeScript**

```ts
const response = await sylphx.agents.waits.get({ name: 'orgs/acme/projects/shop/envs/production/agent_sessions/agent-session/waits/wait' })
```

**Rust**

```rust
let mut req = sylphx::agents::GetAgentSessionWaitRequest::default();
req.name = "orgs/acme/projects/shop/envs/production/agent_sessions/agent-session/waits/wait".to_string();
let response = sx.agents().waits().get(req).await?;
```

**CLI**

```bash
sylphx agents waits get orgs/acme/projects/shop/envs/production/agent_sessions/agent-session/waits/wait
```

**MCP**

```json
{ "method_id": "agents.waits.get", "args": {"name":"orgs/acme/projects/shop/envs/production/agent_sessions/agent-session/waits/wait"} }
```
