Moogsoft Metrics API

Metrics Generation for Moogsoft Cloud

Operations 3

POST /v1/integrations/metrics/telegraf-json Process metrics from the Telegraf JSON format #
POST /v1/integrations/metrics/prometheus-remote-write Prometheus remote-write #
POST /v1/integrations/metrics Create one or more metrics #

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-metrics-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-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 1.3.1
  title: Metrics API
  description: This API enables you to create metrics and manage metrics policies.
  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: Metrics
  description: Metrics Generation for Moogsoft Cloud
paths:
  /v1/integrations/metrics/telegraf-json:
    post:
      tags:
      - Metrics
      summary: Process metrics from the Telegraf JSON format
      description: 'Will accept a batch of metrics per the Telegraf JSON format here: https://docs.influxdata.com/telegraf/v1.19/data_formats/output/json/'
      operationId: postTelegrafMetric
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/TelegrafMetricsDto'
      responses:
        '202':
          description: Metric(s) accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponse'
        '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: []
        description: Required user permissions for this endpoint
  /v1/integrations/metrics/prometheus-remote-write:
    post:
      tags:
      - Metrics
      summary: Prometheus remote-write
      description: Accept one or more metrics via Prometheus remote-write protocol
      operationId: postPromRemoteWriteMetric
      parameters:
      - name: Content-Encoding
        in: header
        schema:
          type: string
      - name: X-Prometheus-Remote-Write-Version
        in: header
        schema:
          type: string
      - name: fqm-override
        in: query
        schema:
          type: string
          default: moog:integration:prometheus
      requestBody:
        required: true
        content:
          application/x-protobuf:
            schema:
              type: string
              contentMediaType: application/octet-stream
      responses:
        '200':
          description: Metric(s) accepted
          content:
            application/x-protobuf: {}
        '400':
          description: Invalid parameters or data validation violation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogFailureResponse'
        '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: []
        description: Required user permissions for this endpoint
  /v1/integrations/metrics:
    post:
      tags:
      - Metrics
      summary: Create one or more metrics
      description: Creates a single metric or a list of metrics
      operationId: postMetric
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: array
              minItems: 1
              items:
                $ref: '#/components/schemas/WebMetricDto'
      responses:
        '202':
          description: Metric(s) accepted
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponse'
        '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
components:
  schemas:
    TelegrafMetric:
      type: object
      title: Telegraf Metric
      properties:
        fields:
          type: object
          minProperties: 1
        name:
          type: string
        timestamp:
          type: integer
          format: int64
        tags:
          type: object
          additionalProperties:
            type: string
      required:
      - fields
      - name
      - timestamp
    MoogErrorResponse:
      type: object
      description: Metrics 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
    WebMetricDto:
      type: object
      title: Web Metric Dto
      properties:
        metric:
          type: string
          description: A human-readable description of the metric
          examples:
          - your-metric
        data:
          type: number
          description: The numerical value of the data point
          examples:
          - 10
        source:
          type: string
          description: The server, node, or other entity that generated the metric. tags.source used if source is missing.
          maxLength: 32500
          examples:
          - www.your-source.com
        uuid:
          type: string
        fqm:
          type: string
        unit:
          type: string
          description: Optional, one of p, b, r, mb, %, kb, gb, +
          examples:
          - kb
        key:
          type: string
          description: This field is useful for classifying different metrics that share the same description
          examples:
          - eth0
        time:
          type: integer
          description: Time of event, seconds or milliseconds since Jan 1, 1970 UTC. If not specified, arrival time is used.
          format: int64
        utc_offset:
          type: string
          description: An offset to apply to a provided metric time in offset GMT offset form
          examples:
          - GMT+02:00
        class:
          type: string
        tags:
          type: object
      required:
      - metric
      - data
      - source
    TelegrafMetricsDto:
      type: object
      title: Telegraf Metrics Dto
      properties:
        metrics:
          type: array
          minItems: 1
          items:
            $ref: '#/components/schemas/TelegrafMetric'
      required:
      - metrics
    MoogFailureResponse:
      type: object
      description: Metrics 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
    MoogResponse:
      type: object
      title: Moog Response
      properties:
        status:
          type: string
          description: Success status indicator (always "success")
        data: {}
      required:
      - status
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      description: API Key for accessing Metrics API
      name: apiKey
      in: header
externalDocs:
  url: https://docs.moogsoft.com/en/moogsoft-apis.html
  description: Find out more about Apex AIOps Incident Management