Express APIs

Moogsoft Express supports "API-first" workflows. You can perform your setup, configuration, and analysis tasks programmatically using the Express APIs.

Request requirements

Each API request must include the following:

  • The URL path and endpoint — for example:

    • https://api.moogsoft.com/express/v1/integrations/metrics

    • https://api.moogsoft.com/express/v1/integrations/events

    • https://api.moogsoft.com/express/v1/alerts

    • https://api.moogsoft.com/express/v1/collectors/datums

  • A content-type header:

    "Content-type": application/json

  • An API-key header — for example:

    "apiKey:" : your-name_eaeGvIxikEMsXt8WB51Wo2cSJOMTyn1MPO6

To find the correct URL path and API key, go to the Express UI > Integrations > Events page. The example curl requests include the correct path and API key for your instance. A valid request will look like the following. Note the URL path, endpoint, and two headers.

curl   \
   -k "https://api.moogsoft.com/express/v1/integrations/events" \
   -H "Content-Type: application/json"
   -H 'apiKey: your-name_eaeGvIxikEMsXt8WB51Wo2cSJOMTyn1MPO6'
   -d '{     
          "metric": "response-time-ms",
          "data": 563,
          "source": "dev.your.org",
          "key": "dev",
         "tags": { 
             "team": "DevOps"
     }
 }'

Responses

This API generates standard HTTP response codes. For descriptions of these codes, see www.w3.org or a similar reference.

Documentation published 2020-05-04T20:57:39+02:00

Filters

Some endpoints include a "filter" parameter that enables you to filter the set of incident