Monitors

List what a monitor found, newest first

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
curl 'https://socialtap.dev/v1/monitors/<id>/changes' \
  -H "x-api-key: $SOCIALTAP_API_KEY"
200 example
JSON
{
  "data": [
    {
      "detected_at": "2026-10-27T12:00:00Z",
      "endpoint": "string",
      "fields": [
        {
          "after": {},
          "before": {},
          "field": "string"
        }
      ],
      "id": "string",
      "item": {},
      "item_key": "string",
      "kind": "new",
      "monitor_id": "string",
      "object": "monitor_change",
      "run_id": "string"
    }
  ],
  "meta": {
    "client_request_id": "string",
    "credits_charged": 0,
    "credits_remaining": 0,
    "request_id": "string",
    "warnings": [
      {
        "code": "string",
        "doc_url": "string",
        "message": "string"
      }
    ]
  },
  "page": {
    "end_reason": "end",
    "has_more": true,
    "next_cursor": "string",
    "next_cursor_expires_at": "2026-10-27T12:00:00Z"
  }
}

Shape of the answer; values are placeholders.

x-api-keystringheaderrequired

Your API key, with the jobs:read scope. Authentication

idstringrequired

Monitor ID (mon_…).

sincestring

Only changes detected after this time (RFC 3339): what happened since you last looked.

kindstring

Only changes of this kind.

One ofnewchanged

limitintegermin 1max 100

Changes per page. Default: the maximum.

cursorstringmax 200 chars

page.next_cursor of the previous page; omit to start from the newest.

Response

application/json

200

List what a monitor found, newest first

dataobject[]

This page's items.

ShowHide 10 child fields
detected_atstring date-time
endpointstring

The monitor's endpoint: what item holds (its resource's schema).

fieldsobject[]

The watched fields that changed; [] for a new item.

ShowHide 3 child fields
afterany

The value now.

beforeany

The value last reported (for above and below: last seen).

fieldstring
idstring

The change ID (mchg_…).

itemany

The item as the endpoint returned it in that run (a list's item, or the single item's data).

item_keystring

The item's id (its url when it has none): what the monitor remembers it by.

kindstring

new: an item the monitor hadn't seen. changed: watched fields changed (fields says which).

One ofnewchanged

monitor_idstring
objectstring

Always monitor_change.

One ofmonitor_change

run_idstring
metaobject

The shared route meta (see the API reference introduction).

pageobject
ShowHide 4 child fields
end_reasonstringnullable

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.

One ofendplatform_limitmax_pages

has_moreboolean

True when another page exists; then next_cursor is set. An empty page with has_more true is not the end.

next_cursorstringnullable

Pass as cursor, with the same other parameters, to get the next page; null at the end.

next_cursor_expires_atstring date-timenullable

When next_cursor stops working, RFC 3339 UTC; null at the end.

400

400 Bad Request.

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.

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.

unauthorizedNo retry

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.

forbiddenNo retry

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. 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.

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.

rate_limitedYes, 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 to raise the ceiling; without an API key, send one.

operationId monitors.changes.list