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

Query parameters

NameTypeDescription
window1h | 24h | 7dTime window — default 24h
bucket1m | 5m | 1h | 1dBucket granularity — default 1h

Responses

StatusDescriptionSchema
200OKEntitiesByStateStats
401UnauthorizedError
403ForbiddenError

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

Query parameters

NameTypeDescription
window1h | 24h | 7dTime window — default 24h

Responses

StatusDescriptionSchema
200OKRunsByTypeStats
401UnauthorizedError
403ForbiddenError

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

Query parameters

NameTypeDescription
window1h | 24h | 7dTime window — default 24h

Responses

StatusDescriptionSchema
200OKFailingKindsStats
401UnauthorizedError
403ForbiddenError

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

Query parameters

NameTypeDescription
dimstringDimensions to bucket — e.g. "kind,cell"

Responses

StatusDescriptionSchema
200OKDriftDensityStats
401UnauthorizedError
403ForbiddenError

Schemas

DriftDensityStats

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

EntitiesByStateStats

FieldTypeDescription
bucketsobject[](required)

Error

FieldTypeDescription
errorstring(required)
codestring

FailingKindsStats

FieldTypeDescription
rowsobject[](required)

RunsByTypeStats

FieldTypeDescription
rowsobject[](required)