LogicMonitor Widgets API

The Widgets API from LogicMonitor — 2 operation(s) for widgets.

Operations 6

PATCH /dashboard/widgets/{id} update widget #
GET /dashboard/widgets/{id} get widget by id #
DELETE /dashboard/widgets/{id} delete widget #
PUT /dashboard/widgets/{id} update widget #
POST /dashboard/widgets add widget #
GET /dashboard/widgets get widget list #

Documentation

Specifications

Schemas & Data

Other Resources

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-widgets-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

logicmonitor-widgets-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Logicmonitor Widgets API
  license:
    name: Apache 2.0
    url: http://www.apache.org/licenses/LICENSE-2.0.html
  version: '1.0'
  description: 'Operations tagged Widgets 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: Widgets
paths:
  /dashboard/widgets/{id}:
    patch:
      summary: update widget
      security:
      - LMv1: []
      description: ''
      operationId: patchWidgetById
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Widget'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int32
          pattern: \d+
      tags:
      - Widgets
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Widget'
        required: true
    get:
      summary: get widget by id
      security:
      - LMv1: []
      description: ''
      operationId: getWidgetById
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Widget'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int32
          pattern: \d+
      - in: query
        name: fields
        required: false
        schema:
          type: string
      tags:
      - Widgets
    delete:
      summary: delete widget
      security:
      - LMv1: []
      description: ''
      operationId: deleteWidgetById
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                type: object
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int32
          pattern: \d+
      tags:
      - Widgets
    put:
      summary: update widget
      security:
      - LMv1: []
      description: ''
      operationId: updateWidgetById
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Widget'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      parameters:
      - in: path
        name: id
        required: true
        schema:
          type: integer
          format: int32
          pattern: \d+
      tags:
      - Widgets
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Widget'
        required: true
    servers:
    - url: /santaba/rest
  /dashboard/widgets:
    post:
      summary: add widget
      security:
      - LMv1: []
      description: ''
      operationId: addWidget
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Widget'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      tags:
      - Widgets
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/Widget'
        required: true
    get:
      summary: get widget list
      security:
      - LMv1: []
      description: ''
      operationId: getWidgetList
      responses:
        '200':
          description: successful operation
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/WidgetPaginationResponse'
        default:
          description: Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ErrorResponse'
      parameters:
      - in: query
        name: fields
        required: false
        schema:
          type: string
      - in: query
        name: size
        required: false
        schema:
          type: integer
          format: int32
          default: 50.0
      - in: query
        name: offset
        required: false
        schema:
          type: integer
          format: int32
          default: 0.0
      - in: query
        name: filter
        required: false
        schema:
          type: string
      tags:
      - Widgets
    servers:
    - url: /santaba/rest
components:
  schemas:
    Widget:
      type: object
      required:
      - dashboardId
      - name
      - type
      properties:
        lastUpdatedBy:
          description: The user that last updated the widget
          readOnly: true
          type: string
        userPermission:
          description: The permission level of the user who last modified the widget
          readOnly: true
          type: string
          example: write
        dashboardId:
          format: int32
          description: The id of the dashboard the widget belongs to
          type: integer
          example: 1.0
        name:
          description: The name of the widget
          type: string
          example: Test
        description:
          description: The description of the widget
          type: string
          example: Devices By Type
        lastUpdatedOn:
          format: int64
          description: The time that corresponds to when the widget was last updated, in epoch format
          readOnly: true
          type: integer
        theme:
          description: 'The color scheme of the widget. Options are: borderPurple | borderGray | borderBlue | solidPurple | solidGray | solidBlue | simplePurple | simpleBlue | simpleGray | newBorderGray | newBorderBlue | newBorderDarkBlue | newSolidGray | newSolidBlue | newSolidDarkBlue | newSimpleGray | newSimpleBlue |newSimpleDarkBlue'
          type: string
          example: newBorderBlue
        interval:
          format: int32
          description: The refresh interval of the widget, in minutes
          type: integer
          example: 5.0
        id:
          format: int32
          description: The Id of the widget
          type: integer
        type:
          description: alert | batchjob | flash | gmap | ngraph | ograph | cgraph | sgraph | netflowgraph | groupNetflowGraph | netflow | groupNetflow | html | bigNumber | gauge | pieChart | table | dynamicTable | deviceSLA | text | statsd | deviceStatus | serviceAlert | noc | websiteOverview | websiteOverallStatus | websiteIndividualStatus | websiteSLA
          type: string
          example: bigNumber
        timescale:
          description: The default timescale of the widget
          type: string
      discriminator:
        propertyName: type
    WidgetPaginationResponse:
      type: object
      properties:
        total:
          format: int32
          readOnly: true
          type: integer
        searchId:
          readOnly: true
          type: string
        items:
          type: array
          items:
            $ref: '#/components/schemas/Widget'
    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
    Widget_2:
      type: object
      required:
      - dashboardId
      - name
      - type
      properties:
        lastUpdatedBy:
          description: The user that last updated the widget
          readOnly: true
          type: string
        userPermission:
          description: The permission level of the user who last modified the widget
          readOnly: true
          type: string
          example: write
        supportCustomProperty:
          type: boolean
        description:
          description: The description of the widget
          type: string
          example: Devices By Type
        type:
          description: alert | batchjob | flash | gmap | ngraph | ograph | cgraph | sgraph | netflowgraph | groupNetflowGraph | netflow | groupNetflow | html | bigNumber | gauge | pieChart | table | dynamicTable | deviceSLA | text | statsd | deviceStatus | serviceAlert | noc | websiteOverview | websiteOverallStatus | websiteIndividualStatus | websiteSLA | savedMap
          type: string
          example: bigNumber
        dashboardId:
          format: int32
          description: The id of the dashboard the widget belongs to
          type: integer
          example: 1
        isSupportCustomProperty:
          description: Custom property support in table widget or not
          type: boolean
          example: false
        name:
          description: The name of the widget
          type: string
          example: Test
        lastUpdatedOn:
          format: int64
          description: The time that corresponds to when the widget was last updated, in epoch format
          readOnly: true
          type: integer
        theme:
          description: 'The color scheme of the widget. Options are: borderPurple | borderGray | borderBlue | solidPurple | solidGray | solidBlue | simplePurple | simpleBlue | simpleGray | newBorderGray | newBorderBlue | newBorderDarkBlue | newSolidGray | newSolidBlue | newSolidDarkBlue | newSimpleGray | newSimpleBlue |newSimpleDarkBlue'
          type: string
          example: newBorderBlue
        interval:
          format: int32
          description: The refresh interval of the widget, in minutes
          type: integer
          example: 5
        id:
          format: int32
          description: The Id of the widget
          type: integer
        timescale:
          description: The default timescale of the widget
          type: string
      discriminator:
        propertyName: type
  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