Reports and data
Report service level attainment
Authorization
AuthorizationstringrequiredAn API token, sent as Bearer <token>.
Needs the tickets:read ability
Query parameters
fromstringFirst day, 2006-01-02. Defaults to 30 days ago.
tostringLast day included, 2006-01-02. Defaults to today.
Response 200
OKdataobject[] | nullrequiredThe items, as a list; empty when there are none.
Show child attributesHide child attributes
breachedintegerrequiredHow many clocks of this target ended in the reported range after their deadline.
Format: int64
hit_ratenumber | nullrequiredPercent of ended clocks that met the target, from 0 to 100. Null when none ended in the range.
Format: double
mean_met_secondsnumberrequiredAverage time the met clocks took, in seconds.
Format: double
metintegerrequiredHow many clocks of this target ended in the reported range within their deadline.
Format: int64
policy_idstringrequiredId of the service level policy, such as sla_....
policy_namestringrequiredName of the service level policy.
runningintegerrequiredHow many clocks of this target are running right now.
Format: int64
targetstringrequiredWhich promise of the policy this row is about.
Available options:first_replynext_replyfollow_upresolution
Response error
ErrorcodestringrequiredStable code for programs to tell errors apart, such as validation_failed or internal_error.
errorsobjectEach rejected field mapped to its messages. Only present when the input was invalid.
messagestringrequiredWhat went wrong, in words safe to show a person.