Splunk On-Call (VictorOps) Maintenance Mode API

The Maintenance Mode API from Splunk On-Call (VictorOps) — 3 operation(s) for maintenance mode.

GitHub OpenAPI

Operations 3

GET /api-public/v1/maintenancemode Get an organization's current maintenance mode state #
POST /api-public/v1/maintenancemode/start Start maintenance mode for routing keys #
PUT /api-public/v1/maintenancemode/{maintenancemodeid}/end End maintenance mode for routing keys #

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/victorops:victorops-maintenance-mode-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

victorops-maintenance-mode-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Victorops Maintenance Mode API
  version: 0.0.3
  x-refined-note:
  - x-apievangelist differs across the merged source definitions and was not carried
  description: 'Operations tagged Maintenance Mode across 2 of this provider''s published API definitions: victorops-api-v1.yaml, victorops-openapi.yml. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.victorops.com/
- url: https://api.victorops.com
tags:
- name: Maintenance Mode
paths:
  /api-public/v1/maintenancemode:
    get:
      tags:
      - Maintenance Mode
      summary: Get an organization's current maintenance mode state
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      responses:
        '200':
          description: maintenance mode state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceModeState'
        '403':
          $ref: '#/components/responses/403'
        '500':
          $ref: '#/components/responses/500'
      operationId: getApiPublicV1Maintenancemode
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/maintenancemode/start:
    post:
      tags:
      - Maintenance Mode
      summary: Start maintenance mode for routing keys
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - $ref: '#/components/parameters/StartMaintenanceModePayload'
      responses:
        '200':
          description: maintenance mode state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceModeState'
        '403':
          $ref: '#/components/responses/403'
        '409':
          description: You have an active global maintanance mode and are attempting to start a second. You may only have a single Global maintenance mode at a time
        '420':
          description: You have reached the limit of allowed active maintenance modes
        '500':
          $ref: '#/components/responses/500'
      operationId: postApiPublicV1MaintenancemodeStart
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/maintenancemode/{maintenancemodeid}/end:
    put:
      tags:
      - Maintenance Mode
      summary: End maintenance mode for routing keys
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - $ref: '#/components/parameters/maintenanceModeId'
      responses:
        '200':
          description: maintenance mode state
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/MaintenanceModeState'
        '403':
          $ref: '#/components/responses/403'
        '500':
          $ref: '#/components/responses/500'
      operationId: putApiPublicV1MaintenancemodeByMaintenancemodeidEnd
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
components:
  schemas:
    MaintenanceModeState:
      type: object
      properties:
        companyId:
          type: string
        activeInstances:
          type: array
          items:
            $ref: '#/components/schemas/ActiveMaintenanceMode'
    ActiveMaintenanceMode:
      type: object
      properties:
        instanceId:
          type: string
          description: external friendly unique id for maintenance mode
        startedBy:
          type: string
          description: username of the user that started maintenance mode
        startedAt:
          type: number
          description: millis from epoch marking the start time
        targets:
          type: array
          items:
            $ref: '#/components/schemas/MaintenanceModeTarget'
        isGlobal:
          type: boolean
          description: whether this instance is a global maintenance mode or for specific routing keys
    MaintenanceModeTarget:
      type: object
      properties:
        type:
          type: string
          enum:
          - RoutingKeys
        names:
          type: array
          items:
            type: string
          description: Routing keys that maintenance mode state covers. An empty list indicates global maintenance mode
  parameters:
    apiKey:
      name: X-VO-Api-Key
      description: Your API Key
      required: true
      in: header
      schema:
        type: string
    StartMaintenanceModePayload:
      name: body
      in: body
      required: true
      description: the definition of the maintenance mode you want to start
      schema:
        type: object
        properties:
          type:
            type: string
            enum:
            - RoutingKeys
          names:
            type: array
            items:
              type: string
            description: Routing keys that maintenance mode state covers. An empty list indicates global maintenance mode
          purpose:
            type: string
            description: the reason for the maintenance mode
    maintenanceModeId:
      name: maintenancemodeid
      description: The id of the maintenance mode found in the active maintenance mode object
      in: path
      required: true
      schema:
        type: string
    apiId:
      name: X-VO-Api-Id
      description: Your API ID
      required: true
      in: header
      schema:
        type: string
  responses:
    '403':
      description: Authentication failed or rate-limit reached
    '500':
      description: Internal Server Error
  securitySchemes:
    apiId:
      type: apiKey
      in: header
      name: X-VO-Api-Id
    apiKey:
      type: apiKey
      in: header
      name: X-VO-Api-Key
x-refined-from:
- victorops-api-v1.yaml
- victorops-openapi.yml