Splunk On-Call (VictorOps) Incidents API

The Incidents API from Splunk On-Call (VictorOps) — 9 operation(s) for incidents.

GitHub OpenAPI

Operations 12

GET /api-public/v1/incidents/{incidentNumber} Get a single incident #
GET /api-public/v1/incidents Get current incident information #
POST /api-public/v1/incidents Create a new incident #
PATCH /api-public/v1/incidents/ack Acknowledge an incident or list of incidents #
POST /api-public/v1/incidents/reroute Reroute one or more incidents to one or more new routable destinations #
PATCH /api-public/v1/incidents/resolve Resolve an incident or list of incidents #
PATCH /api-public/v1/incidents/byUser/ack Acknowledge all incidents for which a user was paged #
PATCH /api-public/v1/incidents/byUser/resolve Resolve all incidents for which a user was paged #
GET /api-public/v1/incidents/{incidentNumber}/notes Get the notes associated with an incident #
POST /api-public/v1/incidents/{incidentNumber}/notes Create a new Note #
PUT /api-public/v1/incidents/{incidentNumber}/notes/{noteName} Update a Note #
DELETE /api-public/v1/incidents/{incidentNumber}/notes/{noteName} Delete a Note #

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-incidents-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-incidents-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Victorops Incidents API
  version: 0.0.3
  x-refined-note:
  - x-apievangelist differs across the merged source definitions and was not carried
  description: 'Operations tagged Incidents 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: Incidents
paths:
  /api-public/v1/incidents/{incidentNumber}:
    get:
      tags:
      - Incidents
      summary: Get a single incident
      description: 'Get detailed data for a single incident with the provided incident number, if it exists. The incident will be returned regardless if it is active or not.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: incidentNumber
        in: path
        description: The Victorops incident number
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: 'A single incident matching the provided incident number

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentInfo'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
      operationId: getApiPublicV1IncidentsByIncidentNumber
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/incidents:
    get:
      tags:
      - Incidents
      summary: Get current incident information
      description: 'Get a list of the currently open, acknowledged and recently resolved incidents.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      responses:
        '200':
          description: 'The set of incidents.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IncidentList'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
      operationId: getApiPublicV1Incidents
      x-operation-id-source: derived
    post:
      tags:
      - Incidents
      summary: Create a new incident
      description: 'Create a new incident.


        This call replicates the function of our

        manual incident creation process.

        Monitoring tools and custom integrations

        should be configured using our

        REST Endpoint.


        The "isMultiResponder" option will require a response from each paged user and escalation policy before

        paging is stopped. The option is available only to Enterprise accounts.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - $ref: '#/components/parameters/createIncidentPayload'
      responses:
        '200':
          description: 'Information about the incident created

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Note'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
      operationId: postApiPublicV1Incidents
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/incidents/ack:
    patch:
      tags:
      - Incidents
      summary: Acknowledge an incident or list of incidents
      description: 'The incident(s) must be currently open. The user supplied must be a valid VictorOps user and a member of your organization.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - $ref: '#/components/parameters/ackResolvePayload'
      responses:
        '200':
          description: The result of each acknowledge incident action.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AckOrResolveResponse'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/user-not-found'
        '500':
          $ref: '#/components/responses/500'
      operationId: patchApiPublicV1IncidentsAck
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/incidents/reroute:
    post:
      tags:
      - Incidents
      summary: Reroute one or more incidents to one or more new routable destinations
      description: 'Reroute one or more incidents to one or more users and/or escalation policies.


        The "addTargets" option converts the incident to requiring a response from each paged user

        and escalation policy before paging is stopped. The option is available only to Enterprise accounts.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - $ref: '#/components/parameters/rerouteBody'
      responses:
        '200':
          description: The created reroute object
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/RerouteStatusResponse'
      operationId: postApiPublicV1IncidentsReroute
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/incidents/resolve:
    patch:
      tags:
      - Incidents
      summary: Resolve an incident or list of incidents
      description: 'The incident(s) must be currently open. The user supplied must be a valid VictorOps user and a member of your organization.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - $ref: '#/components/parameters/ackResolvePayload'
      responses:
        '200':
          description: The result of each resolve incident action.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AckOrResolveResponse'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/user-not-found'
        '500':
          $ref: '#/components/responses/500'
      operationId: patchApiPublicV1IncidentsResolve
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/incidents/byUser/ack:
    patch:
      tags:
      - Incidents
      summary: Acknowledge all incidents for which a user was paged
      description: 'The incident(s) must be currently open. The user supplied must be a valid VictorOps user and a member of your organization.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - $ref: '#/components/parameters/ackResolveByUserPayload'
      responses:
        '200':
          description: The result of each acknowledge incident action.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AckOrResolveResponse'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/user-not-found'
        '500':
          $ref: '#/components/responses/500'
      operationId: patchApiPublicV1IncidentsByUserAck
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/incidents/byUser/resolve:
    patch:
      tags:
      - Incidents
      summary: Resolve all incidents for which a user was paged
      description: 'The incident(s) must be currently open. The user supplied must be a valid VictorOps user and a member of your organization.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - $ref: '#/components/parameters/ackResolveByUserPayload'
      responses:
        '200':
          description: The result of each resolve incident action.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AckOrResolveResponse'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/user-not-found'
        '500':
          $ref: '#/components/responses/500'
      operationId: patchApiPublicV1IncidentsByUserResolve
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/incidents/{incidentNumber}/notes:
    get:
      tags:
      - Incidents
      summary: Get the notes associated with an incident
      description: 'Get notes any associated with a single incident with the provided incident number.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: incidentNumber
        in: path
        description: The incident number
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: 'The set of notes associated with the incidentNumber.

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Notes'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
      operationId: getApiPublicV1IncidentsByIncidentNumberNotes
      x-operation-id-source: derived
    post:
      tags:
      - Incidents
      summary: Create a new Note
      description: 'Create a new note.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - $ref: '#/components/parameters/notesPost'
      - name: incidentNumber
        in: path
        description: The incident number
        required: true
        schema:
          type: integer
      responses:
        '200':
          description: 'Information about the note created

            '
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Notes'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
      operationId: postApiPublicV1IncidentsByIncidentNumberNotes
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/incidents/{incidentNumber}/notes/{noteName}:
    put:
      tags:
      - Incidents
      summary: Update a Note
      description: 'Update a note.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - $ref: '#/components/parameters/notesPost'
      - name: incidentNumber
        in: path
        description: The incident number
        required: true
        schema:
          type: integer
      - name: noteName
        in: path
        description: The html encoded name field of the note
        required: true
        schema:
          type: string
      responses:
        '200':
          description: 'Information about the note updated

            '
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
      operationId: putApiPublicV1IncidentsByIncidentNumberNotesByNoteName
      x-operation-id-source: derived
    delete:
      tags:
      - Incidents
      summary: Delete a Note
      description: 'Delete a note.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: incidentNumber
        in: path
        description: The incident number
        required: true
        schema:
          type: integer
      - name: noteName
        in: path
        description: The html encoded name field of the note
        required: true
        schema:
          type: string
      responses:
        '200':
          description: 'Whether the note was successfully deleted

            '
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          $ref: '#/components/responses/404'
        '500':
          $ref: '#/components/responses/500'
      operationId: deleteApiPublicV1IncidentsByIncidentNumberNotesByNoteName
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
components:
  schemas:
    CreateIncidentRequest:
      type: object
      required:
      - summary
      - details
      - userName
      - targets
      properties:
        summary:
          type: string
        details:
          type: string
        userName:
          type: string
        targets:
          type: array
          items:
            $ref: '#/components/schemas/IncidentTarget'
        isMultiResponder:
          type: boolean
    AckOrResolveResponse:
      type: object
      description: The results of ack/resolve for each incident
      properties:
        results:
          type: array
          items:
            $ref: '#/components/schemas/AckOrResolveResult'
    Reroute:
      type: object
      required:
      - incidentNumber
      - targets
      properties:
        incidentNumber:
          type: string
        targets:
          type: array
          items:
            $ref: '#/components/schemas/IncidentTarget'
        addTargets:
          type: boolean
    IncidentInfo:
      type: object
      description: Incidents contain the following fields (all should be considered optional)
      properties:
        incidentNumber:
          type: string
          description: The VictorOps incident number
        startTime:
          type: string
          description: 'The time the incident started


            The format of the start time is in `yyyy-MM-dd''T''HH:mm:ssZ`.'
        currentPhase:
          type: string
          description: The current phase of the incident can be resolved, triggered (UNACKED) or acknowledged (ACKED).
          enum:
          - RESOLVED
          - UNACKED
          - ACKED
        alertCount:
          type: number
          description: The number of alerts received for this incident
        lastAlertTime:
          type: string
          description: 'The time of the last alert received for the incident


            The format of the last alert time is in `yyyy-MM-dd''T''HH:mm:ssZ`.'
        lastAlertId:
          type: string
          description: The UUID of the last alert for the incident
        entityId:
          type: string
          description: The unique identification of the entity being monitored that caused the incident
        host:
          type: string
          description: The host on which the incident occurred
        service:
          type: string
          description: The service name causing the incident (if any)
        pagedUsers:
          type: array
          description: A list of the Victorops usernames of the users that were paged for the incident.
          items:
            type: string
        pagedTeams:
          type: array
          description: 'The teams that were paged for the incident


            This is a list of the team slugs of the teams that were paged.


            The team slug is in the format `team-[\w\d]{16}`'
          items:
            type: string
        pagedPolicies:
          type: array
          description: The escalation policy summaries that were triggered for the incident
          items:
            $ref: '#/components/schemas/EscalationPolicyInfo'
        transitions:
          type: array
          description: Transitions of the incident state over time
          items:
            $ref: '#/components/schemas/IncidentTransition'
        firstAlertUuid:
          type: string
          description: 'The UUID of the first alert for this incident.


            You can use this id to call the get alert endpoint in the Alerts section (`/api-public/v1/alerts/{uuid}`) to get more information about the alert that started this incident.


            The state message field for the first alert will have the original, more detailed description of the incident.'
        monitorName:
          type: string
          description: 'This is the name of the creator of this incident. If this incident was manually triggered, this is the username of the user that triggered it. If this incident was not manually triggered, this is the name of the service that triggered it.


            The format for manual creation is `vouser-{username}`.


            The format for a system creating an incident is `{service-name}`.'
        monitorType:
          type: string
          description: The type of the monitor of the incident, as named in the monitorName, that triggered the incident. Either manual (if a user created the incident) or the name of the service that triggered the incident
          enum:
          - UNKNOWN
          - PINGDOM
          - NAGIOS
          - HEALTHCHECKER
          - API
          - Cloudwatch
          - NewRelic
          - Zabbix
          - Email
          - Splunk
          - ServiceNow
          - Manual
          - etc
    RerouteTargetStatus:
      type: object
      required:
      - slug
      - success
      properties:
        slug:
          type: string
          description: User name or escalation policy slug
        success:
          type: boolean
        message:
          type: string
    NotesPayload:
      type: object
      properties:
        name:
          type: string
        display_name:
          type: string
        json_value:
          type: object
          description: The note body
    Team:
      type: object
      required:
      - name
      - slug
      properties:
        name:
          type: string
          description: The team name
        slug:
          type: string
          description: 'The unique identifier for this team.


            The slug is in the format `team-[\w\d]{16}`'
    IncidentTransition:
      type: object
      description: A transition of incident state
      properties:
        name:
          type: string
          description: The transition name
        at:
          type: string
          description: The time of the transition
        by:
          type: string
          description: The user that caused the transition (if any)
        message:
          type: string
          description: The message entered by that user (if any)
        manually:
          type: boolean
          description: If the incident transition was caused by a person
        alertId:
          type: string
          description: The unique alert ID that caused the transition
        alertUrl:
          type: string
          description: A URL to retrieve the details of the alert that caused the transition
    EscalationPolicyInfo:
      type: object
      required:
      - policy
      - team
      properties:
        policy:
          $ref: '#/components/schemas/EscalationPolicySummary'
        team:
          $ref: '#/components/schemas/Team'
    RerouteCollection:
      type: object
      required:
      - userName
      - reroutes
      properties:
        userName:
          type: string
        reroutes:
          type: array
          items:
            $ref: '#/components/schemas/Reroute'
    AckOrResolveRequest:
      type: object
      required:
      - userName
      - incidentNames
      properties:
        userName:
          type: string
        incidentNames:
          type: array
          items:
            type: string
        message:
          type: string
    Notes:
      type: object
      properties:
        name:
          type: string
          description: The unique name of your note
        displayName:
          type: string
          description: The name that will typically be displayed when viewing each note. This plus the name field can often be used as a key/value pair themselves.
        json_value:
          type: object
          description: A valid JSON object of arbitrary key value pairs. This is the k/v store of notes data you'll want to attach to an incident. Maximum size = 16 MB
    RerouteStatusResponse:
      type: object
      properties:
        statuses:
          type: array
          items:
            $ref: '#/components/schemas/RerouteStatus'
    AckOrResolveByUserRequest:
      type: object
      required:
      - userName
      properties:
        userName:
          type: string
        message:
          type: string
    AckOrResolveResult:
      type: object
      description: The results of ack/resolve for a individual incident
      properties:
        incidentNumber:
          type: string
        entityId:
          type: string
        cmdAccepted:
          type: boolean
        message:
          type: string
    EscalationPolicySummary:
      type: object
      description: A summary containing minimal, high-level information about an escalation policy.
      required:
      - name
      - slug
      - _selfUrl
      properties:
        name:
          type: string
          description: The name of this escalation policy
        slug:
          type: string
          description: 'A unique identifier for this escalation policy.


            The slug is in the format `pol-[\w\d]{16}`'
        _selfUrl:
          type: string
          description: This is a URI that is generated for this escalation policy. It points to the entire escalation policy resource. and can be used to get detailed information about this escalation policy instead of just the summary.
    IncidentTarget:
      type: object
      required:
      - type
      - slug
      properties:
        type:
          type: string
          description: Type of target
          enum:
          - User
          - EscalationPolicy
        slug:
          type: string
          description: User name or escalation policy slug
    RerouteStatus:
      type: object
      required:
      - incidentNumber
      - success
      - targetStatus
      properties:
        incidentNumber:
          type: string
        success:
          type: boolean
        targetStatus:
          type: array
          items:
            $ref: '#/components/schemas/RerouteTargetStatus'
        message:
          type: string
    IncidentList:
      type: object
      description: The list of incidents in various states
      properties:
        incidents:
          type: array
          description: The incident data
          items:
            $ref: '#/components/schemas/IncidentInfo'
    Note:
      type: object
      description: Referenced by this document but never defined in it. API Evangelist added this empty placeholder so the document resolves; the shape is unknown and is NOT a claim about the API.
      x-ae-placeholder: true
  parameters:
    notesPost:
      name: body
      in: body
      required: true
      schema:
        $ref: '#/components/schemas/NotesPayload'
    apiKey:
      name: X-VO-Api-Key
      description: Your API Key
      required: true
      in: header
      schema:
        type: string
    apiId:
      name: X-VO-Api-Id
      description: Your API ID
      required: true
      in: header
      schema:
        type: string
    ackResolveByUserPayload:
      name: body
      description: Ack/Resolve payload
      in: body
      required: true
      schema:
        $ref: '#/components/schemas/AckOrResolveByUserRequest'
    rerouteBody:
      name: body
      description: The reroute rules
      in: body
      required: true
      schema:
        $ref: '#/components/schemas/RerouteCollection'
    createIncidentPayload:
      name: body
      description: The incident details
      in: body
      required: true
      schema:
        $ref: '#/components/schemas/CreateIncidentRequest'
    ackResolvePayload:
      name: body
      description: Ack/Resolve payload
      in: body
      required: true
      schema:
        $ref: '#/components/schemas/AckOrResolveRequest'
  responses:
    '500':
      description: Internal Server Error
    '400':
      description: Problem with the request arguments.  The response payload may include an error message.
    user-not-found:
      description: User not found
    '401':
      description: Authentication parameters missing
    '403':
      description: Authentication failed or rate-limit reached
    '404':
      description: Path not found
  requestBodies:
    AckOrResolveByUserRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AckOrResolveByUserRequest'
      description: Ack/Resolve payload
      required: true
    AckOrResolveRequest:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/AckOrResolveRequest'
      description: Ack/Resolve payload
      required: true
    NotesPayload:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/NotesPayload'
      required: true
  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