Moogsoft Docs

getTempus

A Graze API GET request that returns the details of all Tempus Moolets in Moogsoft AIOps.

Back to Graze API EndPoint Reference.

Request arguments

Endpoint getTempus takes the following request arguments:

Name

Type

Required

Description

auth_token

String

Yes

A valid auth_token returned from the authenticate request. See the authenticate endpoint for more information.

There are no other arguments because this endpoint returns data on all Tempus Moolets in Moogsoft AIOps.

Response

Endpoint getTempus returns the following response:

Successful requests return an array of JSON objects containing the following:

Type

Description

JSON Object

Names and configurations of all Tempus Moolets in Moogsoft AIOps.

Examples

The following examples demonstrate typical use of endpoint getTempus:

Request example

Example cURL request to return the details of all Tempus Moolets:

curl -G -u graze:graze -k "https://localhost/graze/v1/getTempus" 
Response example

Example response returning the details of Tempus algorithm "New Tempus 1":

[
    {
        "detection_algorithm": "Louvain",
        "minimum_arrival_similarity": 0.6667,
        "run_on_startup": true,
        "arrival_spread": 15,
        "execution_interval": 120,
        "description": "New Tempus 1",
        "alert_threshold": 4,
        "pre_partition": "",
        "partition_by": "",
        "window_size": 1200,
        "edge_weight": false,
        "significance_threshold": 1,
        "name": "Time Based (Tempus)",
        "entropy_threshold": 0.0,
        "process_output_of": [
            "Alert Workflows"
        ],
        "significance_test": "Poisson1",
        "bucket_size": 5
    }
]