Daily close-score trend

GET/api/v1/accounting-periods/{period_id}/score-history

Return the append-only daily snapshot of close score for this period (oldest first). Powers the 'Day 1 → Day 6' sparkline.

Operation ID: get_score_history_api_v1_accounting_periods__period_id__score_history_get·View as markdown·OpenAPI slice

Authentication

Bearer token authentication. Pass your DayZero API token in the Authorization header and the target business UUID in x-business-id.

Parameters

Path

period_idstringrequired

Query

limitintegerdefault: 60

Responses

200Successful Response

successboolean
messagestring
codestring
dataGetScoreHistoryResponse

401Unauthorized - Authentication required

403Forbidden - Insufficient permissions

404Not Found - Resource does not exist

422Validation Error

detailarray · ValidationErrorValidationError
5 fields
locarray · string | integerrequired
msgstringrequired
typestringrequired
inputobject
ctxobject