Skip to content
dimmiDocs

Reports and data

Report service level attainment

GET/api/v1/reports/tickets/sla

Authorization

Authorizationstringrequired

An API token, sent as Bearer <token>.

Needs the tickets:read ability

Query parameters

fromstring

First day, 2006-01-02. Defaults to 30 days ago.

tostring

Last day included, 2006-01-02. Defaults to today.

Response 200

OK
dataobject[] | nullrequired

The items, as a list; empty when there are none.

Show child attributes
breachedintegerrequired

How many clocks of this target ended in the reported range after their deadline.

Format: int64

hit_ratenumber | nullrequired

Percent of ended clocks that met the target, from 0 to 100. Null when none ended in the range.

Format: double

mean_met_secondsnumberrequired

Average time the met clocks took, in seconds.

Format: double

metintegerrequired

How many clocks of this target ended in the reported range within their deadline.

Format: int64

policy_idstringrequired

Id of the service level policy, such as sla_....

policy_namestringrequired

Name of the service level policy.

runningintegerrequired

How many clocks of this target are running right now.

Format: int64

targetstringrequired

Which promise of the policy this row is about.

Available options:first_replynext_replyfollow_upresolution

Response error

Error
codestringrequired

Stable code for programs to tell errors apart, such as validation_failed or internal_error.

errorsobject

Each rejected field mapped to its messages. Only present when the input was invalid.

messagestringrequired

What went wrong, in words safe to show a person.