--- title: 'Read a change' description: 'Read one change of a monitor with its diff. Send one request and get JSON back. Examples in cURL, TypeScript and Python.' og:title: 'Read a change | Stophy' og:description: 'Read one change of a monitor with its diff. Send one request and get JSON back. Examples in cURL, TypeScript and Python.' openapi: 'api-reference/openapi.json GET /v1/monitor/changes/{id}' --- {/* Generated by scripts/gen-reference.ts from api-reference/openapi.json and the live catalog. Do not edit. */} ## Price Free. See [Pricing](/account/pricing). No example is recorded: it needs a change with a diff, and the first read of a page has none. The schema below lists every field. ```bash cURL curl https://api.stophy.dev/v1/monitor/changes/{id} \ -H "Authorization: Bearer $STOPHY_API_KEY" ``` ```typescript TypeScript const response = await fetch("https://api.stophy.dev/v1/monitor/changes/{id}", { headers: { Authorization: `Bearer ${process.env.STOPHY_API_KEY}`, }, }); console.log(await response.json()); ``` ```python Python import os import requests response = requests.get( "https://api.stophy.dev/v1/monitor/changes/{id}", headers={"Authorization": f"Bearer {os.environ['STOPHY_API_KEY']}"}, ) print(response.json()) ```