Skip to main content


A GET request that returns the mean time it takes a user to resolve a Situation within a given time range.

Back to Stats API.

Request arguments

Endpoint getMTTRPerUserStats takes the following request arguments.


Endpoint getMTTRPerUserStats returns the following response:

Successful requests return a JSON object containing the following:






"Mean Time to Resolve (MTTR) (full name)"


Number Array

An array of data points. Each data point is an array in the format [data point, timestamp]:

  1. Data point: MTTR (seconds) for that bucket.

  • Less than 1 week: Returns the number of MTTR each hour in the time period.

  • 1 week to 1 month: Returns the number of MTTR each day in the time period.

  • 1 month to 1 year: Returns the number of MTTR each week in the time period.

  • More than 1 year: Returns the number of MTTR each month in the time period.


The following examples demonstrate typical use of endpoint getMTTRPerUserStats:

Request example

A cURL request for the MTTR for user 5 from 11pm on Monday, 1st October until 5am on Tuesday, 2nd October 2018:

curl -G -u graze:graze -k -v "https://localhost/graze/v1/getMTTRPerUserStats" --data-urlencode 'user=[5]' --data-urlencode 'from=1538434800' --data-urlencode 'to=1538456400' --data-urlencode 'aggregation=none'

Response example

A successful response returns the MTTR each hour:

        "datapoints": [
        "target": "Mean Time to Resolve (MTTR)(Oscar O'Neill)"