History

Grouped operational changes

GET /api/v1/changes — Grouped operational changes.

GET /api/v1/changes

Retrieve recorded open/groomed changes grouped by ingestion run or timestamp. Use this for change activity views, not historical state reconstruction.

Authentication

An API key is required for external integrations. Send X-API-Key: YOUR_API_KEY or Authorization: Bearer YOUR_API_KEY. Authentication explains public origin and secret IP restrictions.

Parameters

Query parameters

ParameterTypeRequiredDefaultDescription
mountainstringNo—Mountain UUID, exact match.
limitintegerNo100Maximum records; send a positive integer.
offsetintegerNo0Records to skip; send a nonnegative integer.

Only open/groomed changes are included; other changed fields are stripped. Flat changes are paged by created_at descending before grouping by run_id (timestamp fallback). meta.total/count refer to flat records, not groups. Groups may cross page boundaries. This cannot reconstruct complete historical snapshots.

Example request

curl -H "X-API-Key: $ICECOAST_API_KEY" 'https://api.icecoast.us/api/v1/changes?limit=2'

JavaScript above is a server-side Node.js example. Browser clients must use an origin-restricted public key; never bundle a secret key.

Response

Success is HTTP 200 with success: true, data and meta.version: "v1". See pagination for meta fields and next/previous links.

The following is a synthetic response excerpt illustrating the verified structure. Names, IDs, counts and dates are examples, not live resort data. Optional fields are omitted.

{
  "success": true,
  "data": [
    {
      "id": "2026-12-04T12:00:00.000Z",
      "run_id": null,
      "mountain": "00000000-0000-4000-8000-000000000001",
      "created_at": "2026-12-04T12:00:00.000Z",
      "changes": []
    }
  ],
  "meta": {
    "version": "v1",
    "total": 1,
    "limit": 100,
    "offset": 0,
    "count": 1,
    "hasMore": false,
    "links": {
      "next": null,
      "prev": null
    }
  }
}

Resource fields

FieldTypeMeaning
idstringRun ID or timestamp.
run_idstring / nullRun ID.
created_atstringTimestamp.
mountainstringMountain UUID.
changesarraySee the data model and returned resource.

Record fields may be missing or null. Treat identifiers as opaque and distinguish unavailable values from confirmed false/zero. See data semantics.

Errors

HTTP statusMeaning
400Invalid request parameters where validated.
401Missing, invalid, expired or revoked API key.
403Origin/IP restriction or endpoint key-type restriction denied the request.
429Monthly API allowance exhausted when a key is used.
500The resource could not be read.
503API-key/quota verification unavailable.

JSON errors may use error or message; the global handler maps validation/runtime errors to success: false, error (name) and message (details). See error handling.