Skip to Content

Removals: the changes feed

GET /changes reports what left your view: deleted, merged or unpublished records.

updatedSince reports what changed. GET /changes?since=<instant> reports what left your view at or after that instant: records that were deleted, merged into another record, or are no longer published.

curl -s "https://api.cixtra.app/api/v1/changes?since=2026-11-23T06:00:00Z&types=events,locations" \
  -H "X-API-Key: sk_org_your_key"
{
  "data": [
    { "type": "location", "id": "5d1f0c7a-2b8e-4c61-9f3a-0e7d4b2a6c18", "reason": "merged", "survivorId": "c0ffee00-6666-4d7e-8f90-a1b2c3d4e5f6", "changedAt": "2026-11-23T07:12:03.481207Z" },
    { "type": "showtimeEvents", "id": "8a4e2f10-7c3b-4d9e-a1f5-6b0c9d2e3f47", "reason": "changed", "survivorId": null, "changedAt": "2026-11-23T08:40:11.002390Z" }
  ],
  "pagination": { "limit": 100, "hasMore": true, "nextCursor": "MjAyNi0xMS0yM1QwODo0MDoxMS4wMDIzOTBafHNob3d0aW1lRXZlbnRzfDhhNGUyZjEw…" }
}

Parameters:

  • since (required): an instant with Z or an offset, at most 90 days ago. An older since answers 400; then read your lists again in full.
  • types: comma-separated locations, eventSeries, festivals, showtimes, events. Default: all of them.
  • limit (1 to 500, default 100) and cursor: the order is fixed (oldest change first, then type and id). Send nextCursor back with the same since and types until hasMore is false. A cursor this feed did not issue answers 400; start again without it.

Each entry:

  • type and id: the record. showtimeEvents (asked for with types=events) means the events, that is the days, of the showtime id.
  • reason:
    • deleted: the record is gone.
    • merged: the record was merged into another; survivorId names it when you may read it, otherwise it is null. Replace the stored id (Stable ids and merged records).
    • unpublished: the record is no longer published: withdrawn, taken back for rework or a new enrichment run, or hidden by your organisation, or (for a showtime) its event series or venue is no longer published. It can come back; then it reappears in updatedSince.
    • changed: only on showtimeEvents. The showtime is still published, but its days may have been added, moved or removed.
  • changedAt: when it happened (UTC, microseconds). A record appears once, with its latest change; if it changes again later, it appears again.

Events. Removed days are not listed one by one: when a showtime's days are rebuilt, the old days are not kept. The unit is the showtime:

  • showtimeEvents with deleted, merged or unpublished: remove every stored event whose showtimeId is that id. For merged, the surviving showtime's events have their own ids; they come with your updatedSince read.
  • showtimeEvents with changed: remove the stored events of that showtime that your GET /events?updatedSince=<same instant> read did not return. That read returns all current days of every changed showtime (Incremental sync with updatedSince), within your date filters, so apply this only inside the same date window.

Every changed showtime appears there, also when only a text changed, so types=events can be long; it costs 2 credits per page.

Scope. You only see records in your scope; a merged record also counts through the record it was merged into. Only records that could have been published appear (not ones that were never past draft, pending or rejected, and event series and festivals only once enriched).

What it does not report. For these, re-read your window in full now and then (for example weekly: no updatedSince, cursor paging, remove from your copy every row you did not receive again):

  • A venue that moved out of your scope (its region changed), an event series that lost the genre your contract is limited to, and changes to your contract's scope: the feed applies today's scope, so a record outside it is not named.
  • A record its owner set back to draft (records are normally withdrawn by archiving, which is reported as unpublished).
  • A record removed from the database without a trace (not done in normal operation).
  • Artists, works and genres: the feed covers venues, event series, festivals, showtimes and events only.

Cancelled dates are not removals; they stay with status: "cancelled". A detail request for a removed record answers 404, or 301 if it was merged.