Splunk On-Call (VictorOps) Reporting API

The Reporting API from Splunk On-Call (VictorOps) — 2 operation(s) for reporting.

GitHub OpenAPI

Operations 2

GET /api-reporting/v1/team/{team}/oncall/log A list of shift changes for a team #
GET /api-reporting/v2/incidents Get/search incident history #

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-reporting-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-reporting-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Victorops Reporting API
  version: 0.0.3
  x-refined-note:
  - x-apievangelist differs across the merged source definitions and was not carried
  description: 'Operations tagged Reporting 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: Reporting
paths:
  /api-reporting/v1/team/{team}/oncall/log:
    get:
      tags:
      - Reporting
      summary: A list of shift changes for a team
      description: 'Returns a log of user shift changes for the specified team. This is historical

        data, and may be up to 15 minutes behind real-time log data.


        This API may be called a maximum of 2 times per second.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - name: team
        in: path
        description: The VictorOps team 'slug'
        required: true
        schema:
          type: string
      - name: start
        description: Return shift changes occurring after this timestamp. The default is the start of the day at midnight. Specify the timestamp in ISO8601 format
        in: query
        required: false
        schema:
          type: string
          format: date-time
      - name: end
        description: Return shift changes occurring before this timestamp. The default is the end of the day at 11:59:59. Specify the timestamp in ISO8601 format
        in: query
        required: false
        schema:
          type: string
          format: date-time
      - name: userName
        description: The VictorOps user ID. Return shift changes occurring during the interval specified for this user. Without this parameter, all relevant users (with respect to the specified interval) are returned
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: The result of the take request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/OnCallLog'
        '400':
          $ref: '#/components/responses/400'
        '401':
          $ref: '#/components/responses/401'
        '403':
          $ref: '#/components/responses/403'
        '404':
          description: Team or user(s) not found
        '500':
          $ref: '#/components/responses/500'
      operationId: getApiReportingV1TeamByTeamOncallLog
      x-operation-id-source: derived
    servers:
    - url: https://api.victorops.com/
  /api-reporting/v2/incidents:
    get:
      tags:
      - Reporting
      summary: Get/search incident history
      description: 'Retrieve incident history for your company, searching over date ranges and with filtering options.


        This API may be called a maximum of once a minute.


        Incident requests are paginated with a offset and limit query string parameters.

        The query for incidents is run and offset records are skipped, after which limit records will be returned.


        The default offset is 0 and the default limit is 20. The maximum value allowed for limit is 100.


        Unless specified otherwise with the parameter currentPhase, the response will only contain resolved incidents.


        On return, the total number of records available for that query will be returned in the payload as ''total''.'
      parameters:
      - $ref: '#/components/parameters/apiId'
      - $ref: '#/components/parameters/apiKey'
      - $ref: '#/components/parameters/offset'
      - $ref: '#/components/parameters/limit'
      - name: entityId
        description: The entity ID involved  This is the unique identifier for the entity causing the incident.
        in: query
        required: false
        schema:
          type: string
      - name: incidentNumber
        description: 'The incident number as shown in VictorOps Multiple values and ranges are allowed: 4,5,20:50

          '
        in: query
        required: false
        schema:
          type: string
      - name: startedAfter
        description: Return incidents started after this timestamp Specify the timestamp in ISO8601 format
        in: query
        required: false
        schema:
          type: string
      - name: startedBefore
        description: Find incidents started before this timestamp  Specify the timestamp in ISO8601 format
        in: query
        required: false
        schema:
          type: string
      - name: host
        description: The host involved in the incident Multiple values can be separated with commas.
        in: query
        required: false
        schema:
          type: string
      - name: service
        description: The service involved in the incident (if any) Multiple values can be separated with commas.
        in: query
        required: false
        schema:
          type: string
      - name: currentPhase
        description: The current phase of the incident "resolved", "triggered" or "acknowledged". Multiple values can be separated with commas. By default, response contains only "resolved" incidents
        in: query
        required: false
        schema:
          type: string
      - name: routingKey
        description: The original routing of the incident
        in: query
        required: false
        schema:
          type: string
      responses:
        '200':
          description: The list of incidents matching the request filters
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ReportingIncidentList'
        '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: getApiReportingV2Incidents
      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
    limit:
      name: limit
      description: The maximum number of matching incidents to return (100 max)
      required: false
      in: query
      schema:
        type: number
        default: 20
        maximum: 100
    offset:
      name: offset
      description: The offset within the set of matching incidents
      required: false
      in: query
      schema:
        type: number
        default: 0
    apiId:
      name: X-VO-Api-Id
      description: Your API ID
      required: true
      in: header
      schema:
        type: string
  schemas:
    ReportingIncidentInfo:
      type: object
      description: Incidents contain the following fields (all should be considered optional)
      properties:
        alertCount:
          type: number
          description: The number of alerts received for this incident
        currentPhase:
          type: string
          description: The current phase of the incident can be resolved, triggered (UNACKED) or acknowledged (ACKED).
          enum:
          - RESOLVED
          - UNACKED
          - ACKED
        entityDisplayName:
          type: string
          description: The display name of the incident. This is the "Incident Description" field when manually creating an incident.
        entityId:
          type: string
          description: The unique identification of the entity being monitored that caused the incident
        entityState:
          type: string
          description: The entity's state
        entityType:
          type: string
          description: The type of the entity
        host:
          type: string
          description: The host on which the incident occurred
        incidentNumber:
          type: string
          description: The VictorOps incident number
        lastAlertId:
          type: string
          description: The UUID of the last alert for the 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`'
        routingKey:
          type: string
          description: 'The original routing of the incident


            Routing keys tie the alerts from your monitoring tools to the specific team (or escalation policy) in VictorOps'
        service:
          type: string
          description: The service name causing the incident (if any)
        startTime:
          type: string
          description: 'The time the incident started


            The format of the start time is in `yyyy-MM-dd''T''HH:mm:ssZ`'
        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
        pagedUsers:
          type: array
          description: A list of the Victorops usernames of the users that were paged for the incident.
          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'
    OnCallInterval:
      type: object
      properties:
        'on':
          type: string
        'off':
          type: string
        duration:
          type: object
          properties:
            hours:
              type: number
            minutes:
              type: number
        escalationPolicy:
          $ref: '#/components/schemas/EscalationPolicySummary'
    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}`'
    UserLog:
      type: object
      properties:
        userId:
          type: string
        total:
          type: object
          properties:
            hours:
              type: number
            minutes:
              type: number
        adjustedTotal:
          type: object
          properties:
            hours:
              type: number
            minutes:
              type: number
        log:
          type: array
          items:
            $ref: '#/components/schemas/OnCallInterval'
    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.
    ReportingIncidentList:
      type: object
      description: The list of incidents in various states
      properties:
        offset:
          type: integer
          description: The pagination offset
        limit:
          type: integer
          description: The maximum number of incidents to fetch
        total:
          type: integer
          description: The total incidents matching the supplied parameters
        incidents:
          type: array
          description: The list of incidents matching the supplied parameters, up to the provided limit.
          items:
            $ref: '#/components/schemas/ReportingIncidentInfo'
    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
    OnCallLog:
      type: object
      properties:
        teamSlug:
          type: string
        start:
          type: string
          format: date-time
        end:
          type: string
          format: date-time
        userLogs:
          type: array
          items:
            $ref: '#/components/schemas/UserLog'
    EscalationPolicyInfo:
      type: object
      required:
      - policy
      - team
      properties:
        policy:
          $ref: '#/components/schemas/EscalationPolicySummary'
        team:
          $ref: '#/components/schemas/Team'
    OnCallInterval_2:
      type: object
      properties:
        true:
          type: string
        false:
          type: string
        duration:
          type: object
          properties:
            hours:
              type: number
            minutes:
              type: number
        escalationPolicy:
          $ref: '#/components/schemas/EscalationPolicySummary'
  responses:
    '403':
      description: Authentication failed or rate-limit reached
    '404':
      description: Path not found
    '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
  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