Splunk On-Call (VictorOps) Alert Rules API

The Alert Rules API from Splunk On-Call (VictorOps) — 2 operation(s) for alert rules.

GitHub OpenAPI

Operations 4

GET /api-public/v1/alertRules Get all alert rules #
POST /api-public/v1/alertRules Create alert rule #
PUT /api-public/v1/alertRules/{ruleId} Update alert rule #
DELETE /api-public/v1/alertRules/{ruleId} Delete alert rule #

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-alert-rules-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-alert-rules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Victorops Alert Rules API
  version: 0.0.3
  x-refined-note:
  - x-apievangelist differs across the merged source definitions and was not carried
  description: 'Operations tagged Alert Rules 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: Alert Rules
paths:
  /api-public/v1/alertRules:
    get:
      tags:
      - Alert Rules
      summary: Get all alert rules
      description: 'Get all the alert rules of an organization.


        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 alert rules of an organization
          content:
            application/json:
              schema:
                type: array
                $ref: '#/components/schemas/AlertRulesResponse'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '500':
          $ref: '#/components/responses/500'
      operationId: getApiPublicV1AlertRules
      x-operation-id-source: derived
    post:
      tags:
      - Alert Rules
      summary: Create alert rule
      description: 'Creates an alert rule for an organization with given rank and increments the rank of other rules.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - $ref: '#/components/parameters/ruleAnnotationsRequest'
      responses:
        '200':
          description: The created alert rule
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertRulesResponse'
        '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: postApiPublicV1AlertRules
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-public/v1/alertRules/{ruleId}:
    put:
      tags:
      - Alert Rules
      summary: Update alert rule
      description: 'Updates the alert rule for an 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/ruleAnnotationsRequest'
      - name: ruleId
        in: path
        description: Alert rule id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The updated alert rule
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertRulesResponse'
        '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: putApiPublicV1AlertRulesByRuleId
      x-operation-id-source: derived
    delete:
      tags:
      - Alert Rules
      summary: Delete alert rule
      description: 'Deletes the alert rule for given ruleId


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: ruleId
        in: path
        description: Alert rule id
        required: true
        schema:
          type: string
      responses:
        '200':
          description: The deleted alert rule id
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DeleteAlertRuleResponse'
        '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: deleteApiPublicV1AlertRulesByRuleId
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
components:
  parameters:
    apiKey:
      name: X-VO-Api-Key
      description: Your API Key
      required: true
      in: header
      schema:
        type: string
    ruleAnnotationsRequest:
      name: body
      in: body
      description: The request body needed to create/update an alert rule with annotations
      required: true
      schema:
        $ref: '#/components/schemas/RuleAndAnnotationsPayload'
    apiId:
      name: X-VO-Api-Id
      description: Your API ID
      required: true
      in: header
      schema:
        type: string
  schemas:
    RuleAndAnnotationsPayload:
      type: object
      properties:
        alertField:
          type: string
        alertValueMatch:
          type: string
        matchType:
          type: String
          enum:
          - WILDCARD
          - REGEX
        stopFlag:
          type: boolean
        notes:
          type: string
          description: Description of the alert rule
        rank:
          type: number
        routingKey:
          type: string
        annotations:
          type: array
          items:
            $ref: '#/components/schemas/AnnotationPayload'
    DeleteAlertRuleResponse:
      type: object
      properties:
        id:
          type: number
    Annotation:
      type: object
      properties:
        id:
          type: number
        annotationType:
          type: string
        fieldName:
          type: string
        fieldValue:
          type: string
        flags:
          type: number
    AnnotationPayload:
      type: object
      properties:
        annotationType:
          type: string
          description: Allowed values for this are ['i', 's', 'u'] i -> image u -> url s -> notes
        fieldName:
          type: string
        fieldValue:
          type: string
        flags:
          type: number
          description: To determine whether it is an annotation or transformation field. If flag is 1, it is a transformation. If flag is 0, it is an annotation.
    AlertRulesResponse:
      type: object
      properties:
        id:
          type: number
        alertField:
          type: string
        alertValueMatch:
          type: string
        matchType:
          type: String
          enum:
          - WILDCARD
          - REGEX
        rank:
          type: number
        stopFlag:
          type: boolean
        lastUpdated:
          type: number
          format: date-time
        lastUpdatedBy:
          type: string
        notes:
          type: string
        routeKey:
          type: string
        annotations:
          type: array
          items:
            $ref: '#/components/schemas/Annotation'
  responses:
    user-not-found:
      description: User not found
    '403':
      description: Authentication failed or rate-limit reached
    '400':
      description: Problem with the request arguments.  The response payload may include an error message.
    '500':
      description: Internal Server Error
    '401':
      description: Authentication parameters missing
  requestBodies:
    RuleAndAnnotationsPayload:
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/RuleAndAnnotationsPayload'
      description: The request body needed to create/update an alert rule with annotations
      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