# List recent changes

`GET https://evohub.io/api/v1/catalog/changes`

Part of the [Catalog API](https://docs.evohub.io/catalog.md) reference · operationId `listChanges`.

Changes across the organization, newest first, each with the
resource it happened to.

Requires the `catalog:resource:read` scope.

## Authorization

Any one of:

- `bearerKey`
- `headerKey`

Where:

- `bearerKey`: HTTP Bearer — An EvoHub API key (`evohub_…`) as a bearer token.
- `headerKey`: API key in the header `X-API-Key` — An EvoHub API key (`evohub_…`).

## Query parameters

- `from` (string (date-time), example `2026-10-13T09:00:00Z`): RFC 3339; must be before `to`.
- `to` (string (date-time)): RFC 3339.
- `environment_id` (string, example `env_2c4e6a8b0d1f3a5c7e9b1d3f5a7c9e0b`): Only this environment.
- `component_id` (string)
- `limit` (integer, min 1, max 100): Page size, 20 by default, at most 100.
- `cursor` (string): The previous page's `pagination.next_cursor`.

## Responses

### 200 — A page of changes.

Content type: `application/json`

Type: `object`

- `data` (array of Change)
  - `id` (string)
  - `resource_id` (string)
  - `from_state_id` (string | null)
  - `to_state_id` (string)
  - `changed_fields` (array of string)
  - `observed_at` (string (date-time))
  - `source_id` (string)
  - `resource` (object): The resource, on the organization-wide list.
    - `environment_id` (string)
    - `provider` (string)
    - `kind` (string)
    - `name` (string)
    - `namespace` (string)
    - `component_id` (string | null)
- `pagination` (Pagination)
  - `next_cursor` (string | null)
  - `has_more` (boolean)
  - `total` (integer): How many match, on the first page of the resource and application lists.

### 400 — The request is not valid: a field or filter value is wrong (`VALIDATION_ERROR`, with a sentence saying what), the body is not the expected JSON or carries an unknown field (`INVALID_BODY`), the cursor is not one this list gave (`INVALID_CURSOR`), a binding names a service that does not exist (`UNKNOWN_COMPONENT`), or a `PATCH` tries to change a slug (`SLUG_IMMUTABLE`).

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

### 401 — No API key was sent, or it is unknown, revoked or expired (`UNAUTHORIZED`).

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

### 403 — The key lacks a scope this endpoint needs (`FORBIDDEN`).

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

### 429 — Too many requests (`RATE_LIMITED`). Wait for `Retry-After` seconds.

Headers:

- `Retry-After` (integer): Seconds to wait before retrying.

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

### 500 — Something went wrong on EvoHub's side (`INTERNAL_ERROR`). Retry later.

Content type: `application/json`

Type: `Error`

- `error` (object, required)
  - `code` (string, required, example `NOT_FOUND`)
  - `message` (string, required, example `not found`)
  - `request_id` (string)

## Example request

```bash
curl -X GET 'https://evohub.io/api/v1/catalog/changes' \
  -H 'Authorization: Bearer <TOKEN>'
```
