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
| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
mountain | string | No | — | Mountain UUID, exact match. |
limit | integer | No | 100 | Maximum records; send a positive integer. |
offset | integer | No | 0 | Records 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'
const response = await fetch('https://api.icecoast.us/api/v1/changes?limit=2', {
headers: { 'X-API-Key': process.env.ICECOAST_API_KEY },
});
if (!response.ok) throw new Error(`HTTP ${response.status}`);
const result = await response.json();
console.log(result);
import os
import requests
response = requests.get(
'https://api.icecoast.us/api/v1/changes?limit=2',
headers={'X-API-Key': os.environ['ICECOAST_API_KEY']},
timeout=30,
)
response.raise_for_status()
print(response.json())
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
| Field | Type | Meaning |
|---|---|---|
id | string | Run ID or timestamp. |
run_id | string / null | Run ID. |
created_at | string | Timestamp. |
mountain | string | Mountain UUID. |
changes | array | See 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 status | Meaning |
|---|---|
| 400 | Invalid request parameters where validated. |
| 401 | Missing, invalid, expired or revoked API key. |
| 403 | Origin/IP restriction or endpoint key-type restriction denied the request. |
| 429 | Monthly API allowance exhausted when a key is used. |
| 500 | The resource could not be read. |
| 503 | API-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.
