Skip to content

/v1 reference: Changes

The operations of this resource. They share the pagination and error vocabulary described in Overview and Errors. Example values on this page are fictitious. The other operations are in the complete reference.

Operations

List change requests

GET /v1/changes

The tenant's change-management register: status, type, risk, planned and carried-out dates, the review outcome and how many approval decisions each change holds. Read only; free text and people are not published. Served once at least one compliance framework is activated for the tenant.

Required scope: changes:read

Parameters:

Parameter In Required Type Description
page query no integer 1-based page number. Defaults to 1.
per_page query no integer Items per page, 1..200. Defaults to 50.
sort query no enum(created_at, planned_start_at, implemented_at) Field to order by. One of: created_at, planned_start_at, implemented_at.
order query no enum(asc, desc) Sort direction. Defaults to desc.
status query no enum(draft, submitted, approved, rejected, scheduled, implementing, implemented, failed, rolled_back, in_review, closed, cancelled) Exact status match.
change_type query no enum(normal, emergency) Exact type match.
category query no enum(infrastructure, application, configuration, access, vendor, other) Exact category match.
created_from query no string Only changes created on or after this YYYY-MM-DD (UTC).
created_to query no string Only changes created on or before this YYYY-MM-DD (UTC).
X-HS-Tenant header no string The tenant to read, as its id (a UUID, any case). REQUIRED with a portfolio key (hsp_…); with a tenant API key or an OAuth token, optional and accepted only when it equals the credential’s own tenant. Never a slug.

Example response (200, fictitious values):

{
  "data": [
    {
      "id": "99999999-9999-4999-8999-999999999999",
      "ref": "CHG-2026-0042",
      "title": "Actualización del cortafuegos perimetral",
      "status": "closed",
      "change_type": "normal",
      "category": "infrastructure",
      "risk_level": "medium",
      "planned_start_at": "2026-10-10T22:00:00Z",
      "planned_end_at": "2026-10-11T02:00:00Z",
      "implemented_at": "2026-10-10T23:15:00Z",
      "closed_at": "2026-10-14T09:00:00Z",
      "outcome": "successful",
      "approved_without_second_person": false,
      "external_ref": null,
      "approvals": {
        "approved": 2,
        "rejected": 0
      },
      "created_at": "2026-10-05T08:30:00Z"
    }
  ],
  "pagination": {
    "page": 1,
    "per_page": 50,
    "total": 37,
    "total_pages": 1
  }
}