Skip to content
Join the waitlist

Changes

List Changes

GET/api/v1/changes

The change ledger entries the key can read, oldest first. A list, paged by cursor.

By QueryRev AI Published Updated 2 min read

Request

Send the key in the Authorization header. Path parameters are written into the address; query parameters are optional.

curl
# The change ledger entries the key can read, oldest firstcurl "https://app.queryrev.com/api/v1/changes?limit=50" \  -H "Authorization: Bearer $QUERYREV_API_KEY"

Parameters

The parameters of this endpoint
  • site_idOptional
    Query
    string (uuid)
  • limitOptional
    Query
    integer, at least 1
    Rows in the page: 1 to the endpoint's maximum (200 unless stated), 50 by default.
  • cursorOptional
    Query
    string
    The next_cursor of the previous answer, unchanged. Opaque; bound to the endpoint that made it and to the filters of the request (the site or report in the path, site_id, state): used with other filters it is refused as invalid_cursor.

Response

A list of Change, with next_cursor and meta.

The fields of Change
  • id
    string (uuid)
  • site_id
    string (uuid)
  • seq
    integer
  • kind
    string
  • change_id
    string (uuid)
  • change_number
    integer
  • change_version
    integer
  • change_state
    string
  • decision_number
    integer
  • decision_type
    string or null
  • published_at
    string (date-time)
  • prev_hash
    string
  • hash
    string
  • body
    objectThe ledger body with before and after state. expected_impact items carry their kind and kind_label; the key reads none without the revenue-view level for Modeled money.
An example answer, 200
{  "data": [    {      "id": "3f6c1a52-8d4e-4b7a-9c21-5e0f7b3d9a14",      "site_id": "9b2e7d41-0c5a-4f8e-8a63-2d1b6c9e4f07",      "seq": 1301,      "kind": "applied",      "change_id": "c4a81e37-6b2d-4c9f-a0e5-7f3d2b1c8e96",      "change_number": 88,      "change_version": 1,      "change_state": "applied",      "decision_number": 412,      "decision_type": "update",      "published_at": "2026-10-28T09:14:00Z",      "prev_hash": "9c1f0e4b7a2d8c3e5f6a7b8c9d0e1f2a3b4c5d6e7f8091a2b3c4d5e6f7a8b9c0",      "hash": "4e7a1c9b2d6f8e0a3c5b7d9f1e2a4c6b8d0f2e4a6c8b0d2f4e6a8c0b2d4f6e8a",      "body": {}    }  ],  "next_cursor": "eyJ2IjoxLCJlIjoic2l0ZXMiLCJmIjoiIn0",  "meta": {    "revenue_view": "full"  }}

Sample values from an example site. Free-form fields, whose entries differ from one item to the next, are shown empty.

Figures and their kinds

Entries that carry their own kind
  • data[].body
    Each entry carries its own kind and kind_label.The ledger body with before and after state. expected_impact items carry their kind and kind_label; the key reads none without the revenue-view level for Modeled money.

Errors

The refusals this endpoint can answer
  • 400
    A parameter or the cursor is not valid (invalid_parameter, invalid_cursor).
  • 401
    No key, or a key that is wrong, revoked or expired (missing_api_key, invalid_api_key).
  • 403
    The workspace's access is suspended, or its plan is one the limits table does not know (plan_unavailable). The API fails closed. A workspace with no subscription is served at the smallest plan's rate, and a read-only one (payment overdue, canceled or ended) still reads at its plan's rate.
  • 429
    Over the plan's requests a minute (rate_limited), or too many refused requests (401 or 403) from one network in a minute: then the answer has Retry-After only.
  • 500
    Something went wrong on our side (internal_error). The answer never carries detail.
  • 503
    The API cannot answer right now (unavailable): a request that cannot be checked or counted is not served. Try again shortly. The answer never carries detail.

In the MCP server

In @queryrev/mcp this endpoint is the tool list_changes, with the same inputs.

Cite this page

A suggested citation. Its link goes to this page, whose address does not change.

QueryRev AI. “List Changes.” QueryRev AI, 7 Nov 2026. https://queryrev.com/docs/api/list-changes

Related