Stats


GET /{o}/{p}/stats/entities-by-state

Entities-by-state time series

Bucketed counts of entities per state over a time window.

Auth: Bearer token required · Permission: data:read

Path parameters

NameTypeDescription
ostring
pstring

Responses

StatusDescriptionSchema
200Entities-by-state bucketsEntitiesByStateStats

GET /{o}/{p}/stats/runs-by-type

Action runs by type

Per-action run totals (succeeded/failed/running) plus an hourly sparkline over the window.

Auth: Bearer token required · Permission: data:read

Path parameters

NameTypeDescription
ostring
pstring

Responses

StatusDescriptionSchema
200Runs grouped by actionRunsByTypeStats

GET /{o}/{p}/stats/failing-kinds

Failing entity kinds

Entity kinds with failing action runs in the window, sorted by failure count.

Auth: Bearer token required · Permission: data:read

Path parameters

NameTypeDescription
ostring
pstring

Responses

StatusDescriptionSchema
200Failing kindsFailingKindsStats

GET /{o}/{p}/stats/drift-density

Drift density heatmap

Open-drift counts grouped by entity kind and (optionally) a cell label key — the heatmap matrix.

Auth: Bearer token required · Permission: data:read

Path parameters

NameTypeDescription
ostring
pstring

Responses

StatusDescriptionSchema
200Drift density matrixDriftDensityStats

Schemas

DriftDensityStats

FieldTypeDescription
kindsstring[](required)
cellsstring[](required)
countsinteger[][](required)

EntitiesByStateStats

FieldTypeDescription
bucketsobject[](required)

FailingKindsStats

FieldTypeDescription
rowsobject[](required)

RunsByTypeStats

FieldTypeDescription
rowsobject[](required)