# Get state item

`GET /v1.0/state/{storeName}/{key}`

This endpoint lets you get an item from the state store.

## Request

### Path parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `storeName` | string | Yes | Pattern: `^[a-zA-Z0-9_-]+$`. |
| `key` | string | Yes | Pattern: `^[a-zA-Z0-9_-]+$`. |

### Query parameters

| Name | Type | Required | Description |
| --- | --- | --- | --- |
| `consistency` | string | No | One of: `strong`, `eventual`. |
| `metadata` | object | No | — |

## Responses

### 200 — OK

`application/json`

- `key` (string)
- `value` (string)
- `etag` (string (uuid))

### 204 — Key is not found.

### 400 — State store is missing or misconfigured.

### 500 — Get state failed.
