Moogsoft Alerts/Incidents API

This API enables you to retrieve and update alerts and incidents, and other APIs relating to them

Operations 71

GET /v2/alerts/columns Get column names of alert DTO. #
GET /v2/autoclose-config Get autoclose configs #
PATCH /v2/autoclose-config/{id} Update autoclose config #
GET /v2/autoclose-policy Get autoclose policies #
POST /v2/autoclose-policy Create autoclose policy #
PATCH /v2/autoclose-policy/{id} Update autoclose policy #
GET /v2/autoclose-policy/{id} Get autoclose policy #
DELETE /v2/autoclose-policy/{id} Delete autoclose policy #
GET /v2/event-columns get columns names of Event #
GET /v2/incidents/columns Get column names of IncidentDTO. #
POST /v2/situation-room/{incidentId}/alerts Get alerts for an incident, for the situation room #
GET /v2/stats/overview Get overview statistics for dashboard #
POST /v3/service/summary Get alert/incident summary for dashboard #
GET /v1/alert-workflows/dependent-on Checks for any alert workflows dependent on a specific resource. #
GET /v1/alerts/{alertId}/external-ids/{integrationId} Get details associated with specific external system. #
PATCH /v1/alerts/{alertId}/external-ids/{integrationId} Add externalID information to an alert. #
DELETE /v1/alerts/{alertId}/external-ids/{integrationId} Delete externalID information to an alert. #
POST /v1/alerts/{alertId}/external-ids/{integrationId} Add externalID information to an alert. #
POST /v1/alert-workflows/validate Validates an alert workflows. #
PATCH /v1/automation-config Update automation config for auto close of alerts and incidents. #
GET /v1/automation-config Get automation config for auto close of alerts and incidents. #
GET /v1/incidents/{incidentId}/comments Get all comments of an existing incident #
POST /v1/incidents/{incidentId}/comments Add comment to existing incident #
POST /v1/alert-workflows/test/bulk Tests alert workflows, in bulk. #
POST /v1/incident-workflows/validate Validates an incident workflow. #
PUT /v1/incidents/{incidentId} Update incident information. #
PATCH /v1/incidents/{incidentId} Update the incident to the given status and/or assignee. #
GET /v1/incidents/{incidentId} Get incident by id. #
GET /v1/alerts/{alert_id}/events-timeline List the event timeline buckets associated with the specified alert #
POST /v1/operational-stats Provides details for operational stats in executive summary #
GET /v1/incident-workflows/dependent-on Checks for any alert workflows dependent on a specific resource. #
GET /v1/alerts/{alertId}/snapshot Get an alert snapshots, with highest severity. #
PATCH /v1/incidents Update multiple incidents to the given status and/or assignee. #
GET /v1/incidents List incidents that match the given filter. #
POST /v1/incidents Get a list of all incidents with matching criteria. #
POST /v1/incident-workflows/test Tests an incident workflow. #
POST /v1/alert-workflows/standalone Invokes the given standalone workflow on a single alert. #
GET /v1/incident-filters/columns Get column names available for use with incident filters. #
PATCH /v1/alerts/{alertId} Update the "status" or "assignee" or "assigned_groups" field in a specific alert. #
GET /v1/alerts/{alertId} Get details of the alert with the specified ID. #
GET /v1/alert-workflows/inputs Returns inputs previously seen at the input of alert workflow engine. #
POST /v1/alert-filters/validate Validate Alert Filter #
PATCH /v1/incident-tags-config Update tags config for incidents. #
GET /v1/incident-tags-config Get tags config for incidents. #
PATCH /v1/alerts/{alertId}/tags Overwrite the tags of an alert with the supplied tags. #
POST /v1/incident-workflows/test/bulk Tests incident workflows, in bulk. #
PATCH /v1/incidents/{incidentId}/comments/{commentId} update existing comment #
DELETE /v1/incidents/{incidentId}/comments/{commentId} Delete comment of an incident #
GET /v1/alert-filters/columns Get column names available for use with alert filters. #
GET /v1/alerts/{alert_id}/events List event by alertId with given timeline #
GET /v1/alerts/{alertId}/external-ids Get all externalIds associated with the alert. #
GET /v1/situation-room/columns Get column names of situation room alert DTO. #
POST /v1/alerts/snapshot Get a list of alert snapshots, with highest severity. #
GET /v1/situation-room/{incidentId}/alerts/unlabeled Get alerts for an incident, that are unlabeled #
POST /v1/situation-room/alerts/unlabeled Get total count of unlabeled incidents/alerts, for a set of incidents #
PATCH /v1/alerts Update the "status" or "assignee" or "assigned_groups" field in multiple alerts. #
POST /v1/alerts Get a list of all alerts with matching criteria. #
GET /v1/alerts Get a list of all alerts with matching criteria. #
GET /v1/incidents/{incidentId}/external-ids Get all externalIds associated with the incident. #
GET /v1/incidents/{incidentId}/external-ids/{integrationId} Get details associated with specific external system. #
PATCH /v1/incidents/{incidentId}/external-ids/{integrationId} Update externalID information to an incident. #
DELETE /v1/incidents/{incidentId}/external-ids/{integrationId} Delete externalID information from an incident. #
POST /v1/incidents/{incidentId}/external-ids/{integrationId} Add externalID information to an incident. #
POST /v1/incident-workflows/standalone Invokes the named standalone workflow on a single incident. #
PATCH /v1/incidents/{incidentId}/tags Update the incident with the given tags #
POST /v1/incident-filters/validate Validate Incident Filter #
POST /v1/alert-workflows/test Tests an alert workflow. #
POST /v1/situation-room/{incidentId}/alerts Get alerts for an incident, for the situation room #
GET /v1/incident-workflows/inputs Returns inputs previously seen at the input of incident workflow engine. #
GET /v1/situation-room/{incidentId}/timeline Get timeline for an incident #

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/alerts-incidents"
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-alerts-incidents-openapi.yaml Raw ↑
openapi: 3.1.0
info:
  version: 3.0.0
  title: Alerts/Incidents 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'
paths:
  /v2/alerts/columns:
    get:
      tags:
        - Alert Columns Resource V 2
      summary: Get column names of alert DTO.
      description: Column names for filtering alerts via /alerts endpoint
      operationId: alertDtoColumnNames
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseColumnsDto'
        '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:
          - 'alerts:view'
        description: Required user permissions for this endpoint
  /v2/autoclose-config:
    get:
      tags:
        - autoclose-config
      summary: Get autoclose configs
      description: 'Get autoclose configs for alert, incident, or both'
      operationId: getAutoCloseConfig
      parameters:
        - name: type
          in: query
          schema:
            type: string
            description: 'Type of configuration to retrieve (incident or alert), retrieves both types if empty'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseListOfAutoCloseConfigDto'
        '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:
          - 'automation:view'
        description: Required user permissions for this endpoint
  '/v2/autoclose-config/{id}':
    patch:
      tags:
        - autoclose-config
      summary: Update autoclose config
      description: Update autoclose config for alerts or incidents.
      operationId: patchAutoCloseConfig
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        description: Configs used to update existing configs.
        required: true
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseAutoCloseConfigDto'
        '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:
          - 'automation:edit'
        description: Required user permissions for this endpoint
  /v2/autoclose-policy:
    get:
      tags:
        - autoclose-policy
      summary: Get autoclose policies
      description: 'Get autoclose policies for alert, incident, or both'
      operationId: getAutoClosePolicies
      parameters:
        - name: type
          in: query
          schema:
            type: string
            description: 'Type of policy to retrieve (incident or alert), retrieves both types if empty'
            default: ''
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseListOfAutoClosePolicyDto'
        '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:
          - 'automation:view'
        description: Required user permissions for this endpoint
    post:
      tags:
        - autoclose-policy
      summary: Create autoclose policy
      description: Create autoclose policy for alerts or incidents.
      operationId: postAutoClosePolicy
      requestBody:
        description: Settings used to create new policy
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BaseAutoClosePolicyDto'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseAutoClosePolicyDto'
        '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:
          - 'automation:edit'
        description: Required user permissions for this endpoint
  '/v2/autoclose-policy/{id}':
    patch:
      tags:
        - autoclose-policy
      summary: Update autoclose policy
      description: Update autoclose policy for alerts or incidents.
      operationId: patchAutoClosePolicy
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      requestBody:
        description: Settings used to update existing policies.
        required: true
        content:
          application/json:
            schema:
              type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseAutoClosePolicyDto'
        '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:
          - 'automation:edit'
        description: Required user permissions for this endpoint
    get:
      tags:
        - autoclose-policy
      summary: Get autoclose policy
      description: Get autoclose policy by id
      operationId: getAutoClosePolicy
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseAutoClosePolicyDto'
        '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:
          - 'automation:view'
        description: Required user permissions for this endpoint
    delete:
      tags:
        - autoclose-policy
      summary: Delete autoclose policy
      description: Delete autoclose policy with specified id
      operationId: deleteAutoClosePolicy
      parameters:
        - name: id
          in: path
          required: true
          schema:
            type: string
      responses:
        '204':
          description: No Content
        '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:
          - 'automation:edit'
        description: Required user permissions for this endpoint
  /v2/event-columns:
    get:
      tags:
        - event-columns
      summary: get columns names of Event
      description: get columns names of Event
      operationId: eventDtoColumnNames
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseColumnsDto'
        '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
  /v2/incidents/columns:
    get:
      tags:
        - incident columns resource
      summary: Get column names of IncidentDTO.
      description: 'Column names for filtering alerts in outbound integrations, returns a list of strings'
      operationId: incidentDtoColumnNames
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseColumnsDto'
        '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:
          - 'incidents:view'
        description: Required user permissions for this endpoint
  '/v2/situation-room/{incidentId}/alerts':
    post:
      tags:
        - alerts
      summary: 'Get alerts for an incident, for the situation room'
      description: 'Get alerts for an incident, for the situation room'
      operationId: getSituationRoomAlertsV2
      parameters:
        - name: incidentId
          in: path
          required: true
          schema:
            type: integer
            format: int64
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/SituationRoomAlertsRequestV2'
              __errors__:
                '#/components/schemas/ColumnFilterMap': No foreign doc with id components found
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseSituationRoomAlertList'
        '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:
          - 'alerts:view'
        description: Required user permissions for this endpoint
  /v2/stats/overview:
    get:
      tags:
        - overviewStats
      summary: Get overview statistics for dashboard
      description: Get overview statistics for dashboard
      operationId: getOverviewStats
      parameters:
        - name: activeOnly
          in: query
          description: active only
          schema:
            type: boolean
            default: 'false'
        - name: end
          in: query
          description: end time
          schema:
            type: integer
            format: int64
            exclusiveMinimum: 0
        - name: start
          in: query
          description: time used to filter out the Opensearch data
          schema:
            type: integer
            format: int64
            exclusiveMinimum: 0
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseOverviewWebResponse'
        '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'
  /v3/service/summary:
    post:
      tags:
        - dashboardSummaryPost
      summary: Get alert/incident summary for dashboard
      description: Get alert/incident summary for dashboard
      operationId: getServiceSummaryPost
      requestBody:
        description: Dashboard Summary request
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/DashboardSummaryRequest'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseIncidentSummaryResponse'
        '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
  /v1/alert-workflows/dependent-on:
    get:
      tags:
        - alert-workflows
      summary: Checks for any alert workflows dependent on a specific resource.
      description: Checks for any alert workflows dependent on a specific resource.
      operationId: getAlertWorkflowsDependentOnResource
      parameters:
        - name: resource_name
          in: query
          required: true
          schema:
            type: string
            pattern: \S
        - name: resource_type
          in: query
          required: true
          schema:
            $ref: '#/components/schemas/ResourceType'
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseListOfWorkflowDependentOnResponseDto'
        '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/alerts/{alertId}/external-ids/{integrationId}':
    get:
      tags:
        - alerts
      summary: Get details associated with specific external system.
      description: Get details associated with a specific external system in the alert. Returns the systemName and all the details
      operationId: getAlertExternalId
      parameters:
        - name: alertId
          in: path
          description: alert ID
          required: true
          schema:
            type: integer
            format: int64
            exclusiveMinimum: 0
        - name: integrationId
          in: path
          description: integration ID
          required: true
          schema:
            type: string
            minLength: 1
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MoogResponseExternalSystemDto'
        '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:
          - 'alerts:view'
        description: Required user permissions for this endpoint
    patch:
      tags:
        - alerts
      summary: Add externalID information to an alert.
      description: Add details about an external system to the alert
      operationId: patchAlertExternalId
      parameters:
        - name: alertId
          in: path
          description: alert ID
          required: true
          schema:
            type: integer
            format: int64
            exclusiveMinimum: 0
        - name: integrationId
          in: path
          description: integration ID
          required: true
          schema:
            type: string
            minLength: 1
      requestBody:
        description: Configs used to update existing configs.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalSystemDto'
      responses:
        '204':
          description: No Content
        '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:
          - 'alerts:edit'
        description: Required user permissions for this endpoint
    delete:
      tags:
        - alerts
      summary: Delete externalID information to an alert.
      description: Delete details about an external system in the alert
      operationId: deleteAlertExternalId
      parameters:
        - name: alertId
          in: path
          description: alert ID
          required: true
          schema:
            type: integer
            format: int64
            exclusiveMinimum: 0
        - name: integrationId
          in: path
          description: integration ID
          required: true
          schema:
            type: string
            minLength: 1
      responses:
        '204':
          description: No Content
        '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:
          - 'alerts:edit'
        description: Required user permissions for this endpoint
    post:
      tags:
        - alerts
      summary: Add externalID information to an alert.
      description: Add details about an external system to the alert
      operationId: postAlertExternalId
      parameters:
        - name: alertId
          in: path
          description: alert ID
          required: true
          schema:
            type: integer
            format: int64
            exclusiveMinimum: 0
        - name: integrationId
          in: path
          description: integration ID
          required: true
          schema:
            type: string
            minLength: 1
      requestBody:
        description: Configs used to update existing configs.
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExternalSystemDto'
      responses:
        '201':
          description: Created
        '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:
          - 'alerts:edit'
        description: Required user permissions for this endpoint
  /v1/alert-workflows/validate:
    post:
      tags:
        - alert-workflows
      summary: Validates an alert workflows.
      description: Validates an alert workflow.
      operationId: validateAlertWorkflow
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/BaseWorkflowDto'
      responses:
        '201':
          description: Created
        '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:

# --- truncated at 32 KB (223 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/moogsoft/refs/heads/main/openapi/moogsoft-alerts-incidents-openapi.yaml