View Statistics for Job Runs

get

/api/v2/dashboard/graphs/jobs/

Make a GET request to this resource to retrieve aggregate statistics about job runs suitable for graphing.

Parameters and Filtering

The period of the data can be adjusted with:

?period=month

Where month can be replaced with week, two_weeks, or day. month is the default.

The type of job can be filtered with:

?job_type=all

Where all can be replaced with inv_sync, playbook_run or scm_update. all is the default.

Results

Data will be returned in the following format:

"jobs": {
        "successful": [
            [
                1402808400.0, 
                9
            ], ... ],
        "failed": [
            [
                1402808400.0, 
                3
            ], ... ]
}

Each element contains an epoch timestamp represented in seconds and a numerical value indicating the number of events during that time period

Request

There are no request parameters for this operation.

Back to Top

Response

Supported Media Types

200 Response

Back to Top