LogicMonitor Metrics API

The Metrics API from LogicMonitor — 2 operation(s) for metrics.

GitHub OpenAPI
Pull this API's OpenAPI, operations, scores and pricing into your own code or AI agent with a free APIs.io key — sign in with GitHub, Google or LinkedIn. No form to fill in; signing in shares your email address with us (Privacy).

Operations 2

Each operation below carries the questions people ask an LLM about it and the instructions they give an agent to run it. Generated by API Evangelist overlay

GET /metrics/usage Get metrics usage · get metrics usage #
Ask an LLM
“How many metrics are my account using?”
“What is my current metrics usage?”
Tell an agent
Show my metrics usage.
Get the number of metrics my account is consuming.
GET /metrics/summary Get metrics usage with company settings · get metrics usage with company settings summary #
Ask an LLM
“How does my metrics usage compare with company settings?”
“Can I see metrics usage along with company settings summary?”
Tell an agent
Show metrics usage with company settings summary.
Get a metrics usage report that includes company settings.

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/logicmonitor:logicmonitor-metrics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

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. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

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

OpenAPI Specification

logicmonitor-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Logicmonitor Metrics API
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
  description: 'Operations tagged Metrics across 2 of this provider''s published API definitions: logicmonitor-rest-api-v2-swagger.json, logicmonitor-rest-api-v3-swagger.json. Each path carries the servers of the definition it was published in.'
servers:
- url: /santaba/rest
tags:
- name: Metrics
paths:
  /metrics/usage:
    get:
      summary: get metrics usage
      security:
      - LMv1: []
      description: ''
      operationId: getMetricsUsage
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Usage'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Metrics
    servers:
    - url: /santaba/rest
  /metrics/summary:
    get:
      summary: get metrics usage with company settings summary
      security:
      - LMv1: []
      x-minimum-permissions:
        Settings -> Account Information: View
      operationId: getMetricsSummary
      responses:
        '200':
          description: Successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CompanyMetricsSummary'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Metrics
    servers:
    - url: /santaba/rest
components:
  schemas:
    Usage:
      type: object
      properties:
        numOfStoppedAzureDevices:
          format: int32
          description: Number of stopped Azure resources
          readOnly: true
          type: integer
        numOfServices:
          format: int32
          description: Number of services (created via LM Service Insight)
          readOnly: true
          type: integer
        numOfTerminatedAzureDevices:
          format: int32
          description: Number of terminated Azure resources
          readOnly: true
          type: integer
        numberOfStandardDevices:
          format: int32
          description: Number of standard devices
          readOnly: true
          type: integer
        numOfStoppedGcpDevices:
          format: int32
          description: Number of stopped GCP resources not monitored with a local Collector
          readOnly: true
          type: integer
        numOfCombinedGcpDevices:
          format: int32
          description: Number of GCP resources monitored with a local Collector
          readOnly: true
          type: integer
        numOfAWSDevices:
          format: int32
          description: Number of AWS resources not monitored with a local Collector
          readOnly: true
          type: integer
        numberOfKubernetesDevices:
          format: int32
          description: Number of monitored Kubernetes Nodes, Pods, and Services
          readOnly: true
          type: integer
        numOfGcpDevices:
          format: int32
          description: Number of GCP resources
          readOnly: true
          type: integer
        numOfAzureDevices:
          format: int32
          description: Number of Azure resources not monitored with a local Collector
          readOnly: true
          type: integer
        numOfCombinedAzureDevices:
          format: int32
          description: Number of Azure resources monitored with a local Collector
          readOnly: true
          type: integer
        numOfTerminatedAWSDevices:
          format: int32
          description: Number of terminated AWS resources
          readOnly: true
          type: integer
        numOfTerminatedGcpCloudDevices:
          format: int32
          description: Number of terminated GCP resources
          readOnly: true
          type: integer
        numOfStoppedAWSDevices:
          format: int32
          description: Number of stopped AWS resources
          readOnly: true
          type: integer
        numberOfDevices:
          format: int32
          description: Sum of numOfStandardDevices, numOfCombinedAWSDevices, numOfCombinedAzureDevices, and numOfCombinedGCPDevices
          readOnly: true
          type: integer
        numOfConfigSourceDevices:
          format: int32
          description: Number of devices with active ConfigSources
          readOnly: true
          type: integer
        numOfWebsites:
          format: int32
          description: Number of websites
          readOnly: true
          type: integer
        numOfCombinedAWSDevices:
          format: int32
          description: Number of AWS resources monitored with a local Collector
          readOnly: true
          type: integer
    ErrorResponse:
      type: object
      properties:
        errorMessage:
          description: The error message
          readOnly: true
          type: string
        errorCode:
          format: int32
          description: The error code
          readOnly: true
          type: integer
        errorDetail:
          description: The error detail
          readOnly: true
          type: object
    JSONObject:
      description: The alert external ticket urls
      readOnly: true
      type: object
      properties:
        empty:
          type: boolean
    CompanyMetricsSummary:
      type: object
      properties:
        numberOfOpenAlerts:
          format: int32
          type: integer
        numOfTerminatedAzureDevices:
          format: int32
          description: Number of terminated Azure resources
          readOnly: true
          type: integer
        numOfStoppedGcpDevices:
          format: int32
          description: Number of stopped GCP resources not monitored with a local Collector
          readOnly: true
          type: integer
        numberOfUserRoles:
          format: int32
          type: integer
        numOfAWSDevices:
          format: int32
          description: Number of AWS resources not monitored with a local Collector
          readOnly: true
          type: integer
        destroyOnLocal:
          type: string
        numOfSavedMaps:
          format: int32
          type: integer
        zuoraInvoiceDetails:
          $ref: '#/components/schemas/JSONObject'
        hostGroupsInfo:
          $ref: '#/components/schemas/JSONObject'
        numberOfKubernetesDevices:
          format: int32
          description: Number of monitored Kubernetes Nodes, Pods, and Services
          readOnly: true
          type: integer
        numberOfAllowedDTConfigs:
          format: int64
          type: integer
        destroyAccount:
          type: boolean
        numOfAzureDevices:
          format: int32
          description: Number of Azure resources not monitored with a local Collector
          readOnly: true
          type: integer
        numOfTerminatedGcpCloudDevices:
          format: int32
          description: Number of terminated GCP resources
          readOnly: true
          type: integer
        numberOfLightDevices:
          format: int32
          type: integer
        numberOfRootCauseAnalysisRules:
          format: int32
          type: integer
        numberOfDevices:
          format: int32
          description: Sum of numOfStandardDevices, numOfCombinedAWSDevices, numOfCombinedAzureDevices, and numOfCombinedGCPDevices
          readOnly: true
          type: integer
        numberOfPreviousDayAlerts:
          format: int32
          type: integer
        numberOfWidgets:
          format: int32
          type: integer
        numberOfAlertRules:
          format: int32
          type: integer
        numOfStoppedAzureDevices:
          format: int32
          description: Number of stopped Azure resources
          readOnly: true
          type: integer
        numOfServices:
          format: int32
          description: Number of services (created via LM Service Insight)
          readOnly: true
          type: integer
        parentBilling:
          type: string
        numberOfStandardDevices:
          format: int32
          description: Number of standard devices
          readOnly: true
          type: integer
        numberOfDashboards:
          format: int32
          type: integer
        numOfCombinedGcpDevices:
          format: int32
          description: Number of GCP resources monitored with a local Collector
          readOnly: true
          type: integer
        numOfGcpDevices:
          format: int32
          description: Number of GCP resources
          readOnly: true
          type: integer
        numberOfDynamicThresholds:
          format: int64
          type: integer
        timestampWindowOfApiUsersInSec:
          format: int32
          type: integer
        zuora:
          $ref: '#/components/schemas/JSONObject'
        numberOfDatasourceInstances:
          format: int64
          type: integer
        numOfCombinedAzureDevices:
          format: int32
          description: Number of Azure resources monitored with a local Collector
          readOnly: true
          type: integer
        numberOfApiUsers:
          format: int32
          type: integer
        numberOfDataPoints:
          format: int64
          type: integer
        numOfTerminatedAWSDevices:
          format: int32
          description: Number of terminated AWS resources
          readOnly: true
          type: integer
        numberOfComplexDataPoints:
          format: int64
          type: integer
        numberOfInstancesPerDS:
          $ref: '#/components/schemas/JSONObject'
        numberOfSessionUsers:
          format: int32
          type: integer
        numOfStoppedAWSDevices:
          format: int32
          description: Number of stopped AWS resources
          readOnly: true
          type: integer
        numOfConfigSourceDevices:
          format: int32
          description: Number of devices with active ConfigSources
          readOnly: true
          type: integer
        numOfWebsites:
          format: int32
          description: Number of websites
          readOnly: true
          type: integer
        numberOfReportsInLast24Hrs:
          format: int32
          type: integer
        numOfCombinedAWSDevices:
          format: int32
          description: Number of AWS resources monitored with a local Collector
          readOnly: true
          type: integer
  securitySchemes:
    LMv1:
      in: header
      name: Authorization
      type: apiKey
externalDocs:
  description: LogicMonitor Support Docs
  url: https://www.logicmonitor.com/support/rest-api-developers-guide/
x-refined-from:
- logicmonitor-rest-api-v2-swagger.json
- logicmonitor-rest-api-v3-swagger.json