Moogsoft Autoclose Config API

Autoclose config for alerts and incidents

Operations 2

GET /v2/autoclose-config Get autoclose configs #
PATCH /v2/autoclose-config/{id} Update autoclose config #

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-autoclose-config-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-autoclose-config-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  version: 3.0.0
  title: Alerts/Incidents Autoclose Config 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: autoclose-config
  description: Autoclose config for alerts and incidents
paths:
  /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
components:
  schemas:
    Instant:
      type: number
      title: Instant
      format: int64
      examples:
      - '2022-03-10T16:15:50Z'
    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
    MoogResponseListOfAutoCloseConfigDto:
      type: object
      description: Alerts/Incidents API AutoCloseConfigDto response body
      properties:
        status:
          type: string
          description: Success status indicator (always "success")
          examples:
          - success
        data:
          type: array
          items:
            $ref: '#/components/schemas/AutoCloseConfigDto'
      required:
      - status
      - data
    MoogResponseAutoCloseConfigDto:
      type: object
      description: Alerts/Incidents API AutoCloseConfigDto response body
      properties:
        status:
          type: string
          description: Success status indicator (always "success")
          examples:
          - success
        data:
          $ref: '#/components/schemas/AutoCloseConfigDto'
      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
    AutoCloseConfigDto:
      type: object
      title: Auto Close Config Dto
      properties:
        never_auto_close_enabled:
          type: boolean
          description: Indicates whether to use the provided Never Auto Close filters when auto-closing incidents or alerts
        never_auto_close_filters:
          type: array
          description: List of filters used to determine which incidents or alerts will never be auto-closed
          items:
            type: string
        close_alerts_when_all_incidents_closed:
          type: boolean
          description: When set to true, alerts will be automatically closed when all related incidents are closed. When set to false, alerts will be automatically closed when any related incident is closed.
        id:
          type: string
          description: ID of the auto-close config
        type:
          type: string
          description: Type of auto-close config, either incident or alert
        incidents_processed:
          type: integer
          description: Number of incidents processed by the configuration
          format: int32
        alerts_processed:
          type: integer
          description: Number of alerts processed by the configuration
          format: int32
        last_updated:
          $ref: '#/components/schemas/Instant'
          description: Time at which the configuration was last updated
        last_updated_by:
          type: string
          description: Email of the user who last updated the configuration
  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