# Retrieve an event stream

`GET https://api.cademi.com.br/api/v3/event-streams/{event_stream_id}`

Operation ID: `event_streams.get` · API v3

Returns the event stream's status, filters, delivery cursor, and connection state.

Revoked and expired event streams remain retrievable.

Required permissions: `event_streams.read`.

## Parameters

| Name | In | Type | Required | Description |
|---|---|---|---|---|
| `event_stream_id` | path | string | yes |  |

## Responses

### 200

Returns the requested event stream.

Body: `data`: EventStream.

Fields of EventStream:

| Field | Type | Required | Description |
|---|---|---|---|
| `connection` | object | yes |  |
| `created_at` | string (date-time) | yes |  |
| `cursor` | object | yes |  |
| `expires_at` | string (date-time) | yes |  |
| `filters` | object | yes | Filters applied to the stream, with optional eventtypes and resourcetypes arrays of strings. An empty object means no filtering. |
| `id` | string | yes |  |
| `last_seen_at` | string or null (date-time) | yes |  |
| `object` | string, one of `event_stream` | yes |  |
| `status` | string, one of `active`, `revoked`, `expired` | yes |  |

### 401

The credential is missing, malformed, expired, or revoked.

Body: Error.

### 403

The current credentials do not have the permission required by this operation.

Body: Error.

### 404

The event stream was not found or is not accessible with the current credentials.

Body: Error.

Full schema: https://cademi.dev/openapi/v3.json
