---
agent:
  instructions: "Search the SocialTap docs with keywords or a question instead of crawling pages: GET https://socialtap.dev/.well-known/search?q={query} returns the best sections as Markdown (JSON with Accept: application/json), free and without a key."
  endpoint: "https://socialtap.dev/.well-known/search?q={query}"
  method: "GET"
  documentation: "https://socialtap.dev/docs/agents/#docs-for-agents"
---
# List what a monitor found, newest first

> Setting SocialTap up for your user? Follow https://socialtap.dev/setup.md.

Monitors

GET `/v1/monitors/{id}/changes`

Returns a monitor's changes: each new item, and each item whose watched fields changed, with the item as that run read it. Pass since (the newest detected_at you already have) to get only what is new to you. Kept 30 days.

**Auth:** an API key with the `jobs:read` scope, or the dashboard session.

## Example

cURL:

```shell
curl 'https://socialtap.dev/v1/monitors/<id>/changes' \
  -H "x-api-key: $SOCIALTAP_API_KEY"
```

## Authorizations

`x-api-key`stringheaderrequired

Your API key, with the `jobs:read` scope. [Authentication](https://socialtap.dev/docs/authentication/index.md)

## Path parameters

| Name | Type | Description | Example |
| --- | --- | --- | --- |
| `id` required | `string` | Monitor ID (mon_…). | — |

## Query parameters

| Name | Type | Description | Example |
| --- | --- | --- | --- |
| `since` optional | `string` | Only changes detected after this time (RFC 3339): what happened since you last looked. | — |
| `kind` optional | `string` | Only changes of this kind.<br>One of `new`, `changed` | — |
| `limit` optional | `integer`<br>min 1<br>max 100 | Changes per page. Default: the maximum. | — |
| `cursor` optional | `string`<br>max 200 chars | page.next_cursor of the previous page; omit to start from the newest. | — |

## Response

### 200

List what a monitor found, newest first

| Field | Type | Description |
| --- | --- | --- |
| `data` | `object[]` | This page's items. |
| `data[].detected_at` | `string` (date-time) |  |
| `data[].endpoint` | `string` | The monitor's endpoint: what item holds (its resource's schema). |
| `data[].fields` | `object[]` | The watched fields that changed; \[\] for a new item. |
| `data[].fields[].after` | `any` | The value now. |
| `data[].fields[].before` | `any` | The value last reported (for above and below: last seen). |
| `data[].fields[].field` | `string` |  |
| `data[].id` | `string` | The change ID (mchg_…). |
| `data[].item` | `any` | The item as the endpoint returned it in that run (a list's item, or the single item's data). |
| `data[].item_key` | `string` | The item's id (its url when it has none): what the monitor remembers it by. |
| `data[].kind` | `string` | new: an item the monitor hadn't seen. changed: watched fields changed (fields says which).<br>One of `new`, `changed` |
| `data[].monitor_id` | `string` |  |
| `data[].object` | `string` | Always monitor_change.<br>One of `monitor_change` |
| `data[].run_id` | `string` |  |
| `meta` | `object` | The shared route meta (see the API reference introduction). |
| `page` | `object` |  |
| `page.end_reason` | `string` or `null` | Why the walk ended; null while has_more is true. end: the list ended or reached since/until. platform_limit: the platform serves no more pages though the list goes on. max_pages: SocialTap's cap per walk. New values may be added.<br>One of `end`, `platform_limit`, `max_pages` |
| `page.has_more` | `boolean` | True when another page exists; then next_cursor is set. An empty page with has_more true is not the end. |
| `page.next_cursor` | `string` or `null` | Pass as cursor, with the same other parameters, to get the next page; null at the end. |
| `page.next_cursor_expires_at` | `string` (date-time) or `null` | When next_cursor stops working, RFC 3339 UTC; null at the end. |

### 400

400 Bad Request.

| Code | HTTP | Retry | Meaning | What to do |
| --- | --- | --- | --- | --- |
| `invalid_input` | 400 | No | A parameter is missing or malformed, or the link is not one this endpoint takes. | Fix the parameter named in param as the message says. For a link of the wrong kind, call an endpoint listed in details.endpoints, when there is one. |
| `invalid_cursor` | 400 | No | The cursor is malformed or expired, belongs to another endpoint, or came with other parameters than the request that returned it. | Repeat the original request without cursor to start the list again. |

### 401

401 Unauthorized.

| Code | HTTP | Retry | Meaning | What to do |
| --- | --- | --- | --- | --- |
| `unauthorized` | 401 | No | The x-api-key header is missing, or its key is unknown or revoked. On the dashboard's routes: the session cookie is missing or expired. | Send a valid API key in the x-api-key header. No key yet? A person gets one at details.signup_url; an AI agent follows details.agent_auth_url. |

### 403

403 Forbidden.

| Code | HTTP | Retry | Meaning | What to do |
| --- | --- | --- | --- | --- |
| `forbidden` | 403 | No | The API key is valid but may not make this request; details.reason says why. It concerns the key, never the item: a private item is private_or_unavailable, also 403. A running job stops with it when its key or account can no longer run it. | Act on details.reason. suspended: contact [support](mailto:support@socialtap.dev). scope: use a key with details.required_scope. previous_secret: use the new secret. key_expired or key_revoked: create a new key. ip_not_allowed: call from an allowed IP. not_confirmed: ask your user before calling again. |

### 404

404 Not Found.

| Code | HTTP | Retry | Meaning | What to do |
| --- | --- | --- | --- | --- |
| `monitor_not_found` | 404 | No | The account has no monitor (or monitor run) with this ID: the ID is wrong, the monitor was deleted, or the run is past its retention. | Check the ID: GET /v1/monitors lists the account's monitors. |

### 429

429 Too Many Requests.

| Code | HTTP | Retry | Meaning | What to do |
| --- | --- | --- | --- | --- |
| `rate_limited` | 429 | Yes, later | The account passed its runaway-protection ceiling (plans have no rate limit), or its failed requests in the past hour cost far more than its successful ones paid for. Requests without an API key are limited per IP. | Wait the seconds in the retry-after header, then retry. If your steady traffic needs more, ask [support](mailto:support@socialtap.dev) to raise the ceiling; without an API key, send one. |

operationId `monitors.changes.list`

---

[HTML version](https://socialtap.dev/docs/reference/monitors/changes-list/) · [Docs index for AI agents](https://socialtap.dev/llms.txt) · [All docs in one file](https://socialtap.dev/llms-full.txt)
