Skip to main content
Get a standard

Authorizations

Authorization
string
header
required

An Alignr API key.

Path Parameters

standard_id
string<uuid>
required

Response

Successful Response

GET /standards, GET /standards/{id}, PATCH /standards/{id}, POST /standards/{id}/copy (Standard in frontend/src/types/standards.ts).

controlCount/organizationCount are not columns — controlCount is this standard's own control count, and organizationCount is how many organisations have actually had a control from this standard evaluated at least once (a freshly created or copied standard is legitimately 0, per the Clients tab's own "not applied to any organization yet" empty state — it is not the tenant's total organisation count, which every standard would then share and which would never legitimately answer 0).

rollup is the five-status breakdown across every organisation's latest evaluation of every control belonging to this standard — the Standards list page's five-segment status bar, computed the same way control_evaluation_service.rollup_statuses already computes it for one evaluation run, just over latest_evaluations(standard_id=...) instead.

id
string<uuid>
required
tenantId
string<uuid>
required
name
string
required
slug
string
required
enabled
boolean
required
isSystem
boolean
required
version
integer
required
controlCount
integer
required
organizationCount
integer
required
rollup
EvaluationRunStatusCounts · object
required

The five control_status values' counts, aggregated over a set of evaluations. Unlike ComplianceGridRead.rollup (a single worst-case status for one organisation, per frontend/src/features/organization-detail/ compliance/ComplianceTab.tsx's own note), this is the literal breakdown a "rollup"/"statusCounts" name promises — used both by EvaluationRunRead.statusCounts (one run) and StandardRead.rollup / StandardOrganizationRead.rollup (the latest evaluation per control, across a standard's organisations or one organisation's controls respectively).

createdAt
string<date-time>
required
updatedAt
string<date-time>
required
description
string | null
manualCheckCount
integer
default:0