Moogsoft Operational Stats API

The operationalStats API from Moogsoft — 1 operation(s) for operationalstats.

Operations 1

POST /v1/operational-stats Provides details for operational stats in executive summary #

Documentation

📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/4c987d4e03d42-alerts-incidents-api
📖
Documentation
https://docs.moogsoft.com/moogsoft-cloud/en/apis.html
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/07cc903e08dc7-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/98cab8f6ded6e-create-your-own-integration-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/b97257c4537e0-apex-ai-ops-incident-management-cloudwatch-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/16cc8392c9c10-collector-v2-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/a2faf5e9de2e7-config-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/872078c341608-events-integration
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/97383d5459cfb-on-call-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/7d9c8544a63bc-service-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/0f37a18e12cae-metrics-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/6295a1a5fa988-pager-duty-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/1328bccd943e6-probable-root-cause-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/8a70ecaa6cb8f-similar-incidents-service-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/02e00ab7d09f7-ui-services-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/af91225840fe8-user-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/22b7ec881443b-webhook-api
📖
APIReference
https://api.docs.moogsoft.com/docs/latest/branches/main/433fa2324eebd-workflow-engine-api

Specifications

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/moogsoft-operationalstats-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

moogsoft-operationalstats-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 3.0.0
  title: Alerts/Incidents Operational Stats API
  description: This API enables you to retrieve and update alerts and incidents, and other APIs relating to them
  termsOfService: https://www.moogsoft.com/legal-information/express-terms-conditions/
  contact:
    name: API Support
    url: https://docs.moogsoft.com/en/moogsoft-apis.html
    email: support@moogsoft.com
  license:
    url: https://www.moogsoft.com/legal-information
    name: Apex AIOps Incident Management Proprietary
servers:
- url: https://api.moogsoft.ai
- url: https://api.dev.moogsoft.cloud
security:
- ApiKeyAuth: []
tags:
- name: operationalStats
paths:
  /v1/operational-stats:
    post:
      tags:
      - operationalStats
      summary: Provides details for operational stats in executive summary
      description: Returns incident trend and time to resolve chart details
      operationId: getOperationalStats,
      requestBody:
        description: Operational stats request
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/OperationalStatsRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseOperationalStatsWebResponse'
        '400':
          description: Bad Request
        '404':
          description: Requested object(s) not found
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogFailureResponse'
        4XX:
          description: Authorization or other error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogFailureResponse'
        5XX:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogErrorResponse'
      security:
      - ApiKeyAuth: []
      servers:
      - url: https://api.moogsoft.ai
      - url: https://api.dev.moogsoft.cloud
      x-permissions:
        value:
        - incidents:view
        description: Required user permissions for this endpoint
components:
  schemas:
    IncidentTopResourcesDto:
      type: object
      title: Incident Top Resources Dto
      description: Incident top resources for the provided time period
      properties:
        resource:
          type: string
          description: Incident resource name
        incident_count:
          type: integer
          description: Total incident count against the resource
          format: int64
        incident_severity:
          type: object
          description: Incident counts by severity
          additionalProperties:
            type: integer
            format: int64
    TimeToResolveBucketDto:
      type: object
      title: Time To Resolve Bucket Dto
      properties:
        index:
          type: integer
          description: Time taken to resolve incident in hours range
          format: int64
          examples:
          - 0, 2, 5 where 0 means incidents resolved in 0 to 1hr, 5 means 5 to 6hr
        incident_count:
          type: integer
          description: Total incidents resolved
          format: int64
    HistogramInterval:
      type: string
      enum:
      - hour
      - day
      title: Histogram Interval
      description: Histogram calendar interval
    MoogErrorResponse:
      type: object
      description: Alerts/Incidents API error response body
      properties:
        status:
          type: string
          description: Error status indicator (always "error")
          examples:
          - error
        message:
          type: string
        additional:
          type: array
          items:
            type: string
      required:
      - status
      - message
    TimeToResolveDto:
      type: object
      title: Time To Resolve Dto
      description: Incidents resolution details
      properties:
        mttr_mins:
          type: number
          description: mean time to resolution(in minutes)
          format: double
        buckets:
          type: array
          description: List of time to resolve aggregated results
          items:
            $ref: '#/components/schemas/TimeToResolveBucketDto'
    MoogResponseOperationalStatsWebResponse:
      type: object
      description: Alerts/Incidents API OperationalStatsWebResponse response body
      properties:
        status:
          type: string
          description: Success status indicator (always "success")
          examples:
          - success
        data:
          $ref: '#/components/schemas/OperationalStatsWebResponse'
      required:
      - status
      - data
    MoogFailureResponse:
      type: object
      description: Alerts/Incidents API failure response body
      properties:
        status:
          type: string
          description: Failure status indicator (always "failure")
          examples:
          - failure
        message:
          type: string
        additional:
          type: array
          items:
            type: string
      required:
      - status
      - message
    IncidentTrendDto:
      type: object
      title: Incident Trend Dto
      description: Incident trend data for the provided time period
      properties:
        incident_time:
          type: integer
          description: Incident creation time
          format: int64
        incident_severity:
          type: object
          description: Incident counts by severity
          additionalProperties:
            type: integer
            format: int64
    TopResourcesType:
      type: string
      enum:
      - services
      - sources
      title: Top Resources Type
      description: Top Resources Type to fetch
    OperationalStatsWebResponse:
      type: object
      title: Operational Stats Web Response
      description: Incident Operational stats response
      properties:
        time_to_resolve:
          $ref: '#/components/schemas/TimeToResolveDto'
          description: Time to resolve aggregated result of incidents
        incident_trend:
          type: array
          description: Incident trend list by severity
          items:
            $ref: '#/components/schemas/IncidentTrendDto'
        top_resources:
          type: array
          description: Incident top 20 resources list
          items:
            $ref: '#/components/schemas/IncidentTopResourcesDto'
    OperationalStatsRequest:
      type: object
      title: Operational Stats Request
      description: Executive summary request body
      properties:
        start:
          type: integer
          description: Epoch timestamp(in milliseconds) used to filter out the results based on created at
          format: int64
          exclusiveMinimum: 0
        end:
          type: integer
          description: Epoch timestamp(in milliseconds) used to filter out the results till this time
          format: int64
          exclusiveMinimum: 0
        bucket_size:
          $ref: '#/components/schemas/HistogramInterval'
          description: Bucket size is used to fetch incident trend results per hour/day
        utc_offset:
          type: string
          description: The difference in hours from Coordinated Universal Time (UTC) to user's local time use for incident trend results
          default: GMT
          examples:
          - GMT-7/GMT+7:30
        resource:
          $ref: '#/components/schemas/TopResourcesType'
          description: resource type to fetch
      required:
      - start
      - end
      - bucket_size
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      description: API Key for accessing Alerts/Incidents API
      name: apiKey
      in: header
externalDocs:
  url: https://docs.moogsoft.com/en/moogsoft-apis.html
  description: Find out more about Apex AIOps Incident Management