ilert Reports API

The Reports API from ilert — 3 operation(s) for reports.

Operations 3

GET /reports/alerts List alert metrics for the requested resources #
GET /reports/alerts/summary Summarize a list of alert metrics #
GET /reports/api-keys/usage List API key usage metrics for the requested resources #

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/ilert-reports-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

ilert-reports-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: ilert REST Reports API
  description: '# Introduction

    The ilert API is a RESTful API and provides programmatic access to entities in ilert and lets you easily integrate ilert with 3rd party tools.'
  version: v2.2026.5-r.3
  x-logo:
    url: ./ilert-logo-spaced.png
    backgroundColor: '#fafafa'
    altText: ilert documentation logo
servers:
- url: /api
security:
- apiKey: []
tags:
- name: Reports
paths:
  /reports/alerts:
    get:
      tags:
      - Reports
      summary: List alert metrics for the requested resources
      parameters:
      - name: sources
        in: query
        description: alert source ids to filter metrics for
        schema:
          type: number
      - name: policies
        in: query
        description: escalation policy ids to filter metrics for
        schema:
          type: number
      - name: numbers
        in: query
        description: phone numbers of call routing numbers to filter metrics for
        schema:
          type: string
      - name: from
        in: query
        description: date-time ISO-UTC e.g. 2021-05-25T21:24:56.771Z, start of the time range, may not exceed 1 year in total span
        required: true
        schema:
          type: string
      - name: until
        in: query
        description: date-time ISO-UTC e.g. 2021-05-25T21:24:56.771Z, end of the time range, must be after 'from', must not be in the future
        required: true
        schema:
          type: string
      - name: timezone
        in: query
        description: Time zone in which the results will be rendered, defaults to tenant's configured default timezone
        schema:
          type: string
      - name: metric
        in: query
        description: 'Describes the metric that should be fetched choose one of: COUNT, MTTA or MTTR - defaults to COUNT'
        schema:
          type: string
      - name: group-by
        in: query
        description: 'Defines the grouping of metrics, choose one of: DAY, WEEK or MONTH - defaults to WEEK'
        schema:
          type: string
      - name: priority
        in: query
        description: 'Sets the priority filter that should be applied, choose one of: LOW, HIGH or ALL - defaults to ALL'
        schema:
          type: string
      responses:
        '200':
          description: "an array of alert report metrics, each metric is another array containing data in the following order: \n\n[long:alertSourceId, long:escalationPolicyId, string:callRoutingNumberPhoneNumber, string:ISO-8601, long:value]\n\ne.g. [ [202541, 13541, \"\", \"2021-08\", 15] ]\n\nPlease note: the ISO-8601 (4th column) in this case depends on the chosen 'group-by' parameter. DAY=2021-08-01, WEEK=2021-W12, MONTH=2021-08"
          content:
            application/json:
              schema:
                type: array
                items:
                  type: array
                  items:
                    oneOf:
                    - type: number
                    - type: string
            metric sample:
              example:
                summary: metric sample
                value:
                - - 202541
                  - 13541
                  - ''
                  - 2021-08
                  - 15
      operationId: getReportsAlerts
      x-operation-id-source: derived
  /reports/alerts/summary:
    get:
      tags:
      - Reports
      summary: Summarize a list of alert metrics
      parameters:
      - name: sources
        in: query
        description: alert source ids to filter metrics for
        schema:
          type: number
      - name: policies
        in: query
        description: escalation policy ids to filter metrics for
        schema:
          type: number
      - name: numbers
        in: query
        description: phone numbers of call routing numbers to filter metrics for
        schema:
          type: string
      - name: from
        in: query
        description: date-time ISO-UTC e.g. 2021-05-25T21:24:56.771Z, start of the time range, may not exceed 1 year in total span
        required: true
        schema:
          type: string
      - name: until
        in: query
        description: date-time ISO-UTC e.g. 2021-05-25T21:24:56.771Z, end of the time range, must be after 'from', must not be in the future
        required: true
        schema:
          type: string
      - name: timezone
        in: query
        description: Time zone in which the results will be rendered, defaults to tenant's configured default timezone
        schema:
          type: string
      - name: metric
        in: query
        description: 'Describes the metric that should be fetched choose one of: COUNT, MTTA or MTTR - defaults to COUNT'
        schema:
          type: string
      - name: group-by
        in: query
        description: 'Defines the grouping of metrics, choose one of: DAY, WEEK or MONTH - defaults to WEEK'
        schema:
          type: string
      - name: priority
        in: query
        description: 'Sets the priority filter that should be applied, choose one of: LOW, HIGH or ALL - defaults to ALL'
        schema:
          type: string
      responses:
        '200':
          description: an array containing summarized alert report metrics for the requested resource
          content:
            application/json:
              schema:
                type: array
                items:
                  type: object
                  properties:
                    alertSourceId:
                      type: number
                    escalationPolicyId:
                      type: number
                    callRoutingNumberPhoneNumber:
                      type: string
                    count:
                      type: number
                    mtta:
                      type: number
                    mttr:
                      type: number
      operationId: getReportsAlertsSummary
      x-operation-id-source: derived
  /reports/api-keys/usage:
    get:
      tags:
      - Reports
      summary: List API key usage metrics for the requested resources
      description: This endpoint requires 'ADMIN' permissions
      parameters:
      - name: scopes
        in: query
        description: scopes of our API resources e.g. alert see https://docs.ilert.com/rest-api/developing-ilert-apps/token-lifetimes-error-codes-app-verification-etc.#ilert-oauth2-scopes
        schema:
          type: string
      - name: from
        in: query
        description: date-time ISO-UTC e.g. 2021-05-25T21:24:56.771Z, start of the time range, may not exceed 1 month (31 days) in total span (use this to paginate)
        required: true
        schema:
          type: string
      - name: until
        in: query
        description: date-time ISO-UTC e.g. 2021-05-25T21:24:56.771Z, end of the time range, must be after 'from', must not be in the future (use this to paginate)
        required: true
        schema:
          type: string
      - name: timezone
        in: query
        description: Time zone in which the results will be rendered, defaults to tenant's configured default timezone
        schema:
          type: string
      responses:
        '200':
          description: "an array of usage metrics, each metric is another array containing data in the following order: \n\n[long:userId, string:scope, string:ISO-8601, long:value]\n\ne.g. [ [202541, \"source\", \"2023-04-21\", 15] ]\n\nPlease note: the ISO-8601 (3th column) in this case is always DAY (2021-08-01) usually 24 hours apart, but there is a slight chance that the same userId and scope have multiple entries for the same DAY"
          content:
            application/json:
              schema:
                type: array
                items:
                  type: array
                  items:
                    oneOf:
                    - type: number
                    - type: string
            metric sample:
              example:
                summary: metric sample
                value:
                - - 202541
                  - alert
                  - 2023-04
                  - 15
      operationId: getReportsApiKeysUsage
      x-operation-id-source: derived
components:
  securitySchemes:
    apiKey:
      type: apiKey
      description: The Bearer API key of your user <a href='/api-docs/#section/Authentication'>more info</a>.
      name: Authorization
      in: header
x-original-swagger-version: '2.0'