Site Qwality Alert Rules API

The Alert Rules API from Site Qwality — 3 operation(s) for alert rules.

GitHub OpenAPI

Operations 6

GET /alert-rules List alert rules #
POST /alert-rules Create alert rule #
GET /alert-rules/{id} Get alert rule #
PUT /alert-rules/{id} Update alert rule #
DELETE /alert-rules/{id} Delete alert rule #
POST /alert-rules/{id}/test Test 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/siteqwality-com:siteqwality-com-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

siteqwality-com-alert-rules-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: Siteqwality Com Alert Rules API
  version: 0.1.0
  contact:
    name: Site Qwality Support
    url: https://siteqwality.com
    email: support@siteqwality.com
  license:
    name: Proprietary
  description: 'Operations tagged Alert Rules across 2 of this provider''s published API definitions: siteqwality-com-openapi-openapi.json, siteqwality-com-openapi.json. Each path carries the servers of the definition it was published in.'
servers:
- url: https://api.siteqwality.com
  description: Production
tags:
- name: Alert Rules
paths:
  /alert-rules:
    get:
      tags:
      - Alert Rules
      operationId: list_alert_rules
      responses:
        '200':
          description: Alert rules
          content:
            application/json:
              schema:
                type: array
                items:
                  $ref: '#/components/schemas/AlertRule'
        '401':
          description: Unauthorized
      security:
      - bearer_auth: []
      summary: List alert rules
      x-summary-source: derived
    post:
      tags:
      - Alert Rules
      operationId: create_alert_rule
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/CreateAlertRule'
        required: true
      responses:
        '201':
          description: Alert rule created
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertRule'
        '400':
          description: Invalid request
        '401':
          description: Unauthorized
        '403':
          description: Plan limit
        '500':
          description: Internal error
      security:
      - bearer_auth: []
      summary: Create alert rule
      x-summary-source: derived
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /alert-rules/{id}:
    get:
      tags:
      - Alert Rules
      operationId: get_alert_rule
      parameters:
      - name: id
        in: path
        description: Alert rule id
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Alert rule
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertRule'
        '404':
          description: Not found
      security:
      - bearer_auth: []
      summary: Get alert rule
      x-summary-source: derived
    put:
      tags:
      - Alert Rules
      operationId: update_alert_rule
      parameters:
      - name: id
        in: path
        description: Alert rule id
        required: true
        schema:
          type: string
          format: uuid
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/UpdateAlertRule'
        required: true
      responses:
        '200':
          description: Updated
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertRule'
        '400':
          description: Invalid
        '404':
          description: Not found
      security:
      - bearer_auth: []
      summary: Update alert rule
      x-summary-source: derived
    delete:
      tags:
      - Alert Rules
      operationId: delete_alert_rule
      parameters:
      - name: id
        in: path
        description: Alert rule id
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '204':
          description: Deleted
        '404':
          description: Not found
      security:
      - bearer_auth: []
      summary: Delete alert rule
      x-summary-source: derived
    servers:
    - url: https://api.siteqwality.com
      description: Production
  /alert-rules/{id}/test:
    post:
      tags:
      - Alert Rules
      operationId: test_alert_rule
      parameters:
      - name: id
        in: path
        description: Alert rule id
        required: true
        schema:
          type: string
          format: uuid
      responses:
        '200':
          description: Evaluation result
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AlertRuleTestResult'
        '404':
          description: Not found
      security:
      - bearer_auth: []
      summary: Test alert rule
      x-summary-source: derived
    servers:
    - url: https://api.siteqwality.com
      description: Production
components:
  schemas:
    AlertQuery:
      oneOf:
      - allOf:
        - $ref: '#/components/schemas/LogAlertQuery'
        - type: object
          required:
          - type
          properties:
            type:
              type: string
              enum:
              - log
      - allOf:
        - $ref: '#/components/schemas/MetricAlertQuery'
        - type: object
          required:
          - type
          properties:
            type:
              type: string
              enum:
              - metric
      - allOf:
        - $ref: '#/components/schemas/RumAlertQuery'
        - type: object
          required:
          - type
          properties:
            type:
              type: string
              enum:
              - rum
    MetricAlertQuery:
      type: object
      required:
      - metric_name
      properties:
        metric_name:
          type: string
        aggregation:
          type:
          - string
          - 'null'
        filters:
          type:
          - string
          - 'null'
    AlertRule:
      type: object
      required:
      - id
      - account_id
      - created_at
      - updated_at
      - name
      - kind
      - enabled
      - query
      - window_seconds
      - eval_interval_seconds
      - comparison
      - threshold
      - for_seconds
      - group_notification_ids
      - tags
      - current_state
      properties:
        id:
          type: string
          format: uuid
        account_id:
          type: string
          format: uuid
        created_by_user_id:
          type:
          - string
          - 'null'
          format: uuid
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
        name:
          type: string
        kind:
          type: string
        enabled:
          type: boolean
        query: {}
        window_seconds:
          type: integer
          format: int32
        eval_interval_seconds:
          type: integer
          format: int32
        comparison:
          type: string
        threshold:
          type: number
          format: double
        for_seconds:
          type: integer
          format: int32
        group_notification_ids:
          type: array
          items:
            type: string
            format: uuid
        tags:
          type: array
          items:
            type: string
        current_state:
          type: string
        pending_since:
          type:
          - string
          - 'null'
          format: date-time
        last_evaluated_at:
          type:
          - string
          - 'null'
          format: date-time
        last_value:
          type:
          - number
          - 'null'
          format: double
        last_error:
          type:
          - string
          - 'null'
        last_state_change_at:
          type:
          - string
          - 'null'
          format: date-time
    UpdateAlertRule:
      type: object
      properties:
        name:
          type:
          - string
          - 'null'
        enabled:
          type:
          - boolean
          - 'null'
        query:
          oneOf:
          - $ref: '#/components/schemas/AlertQuery'
          - type: 'null'
        window_seconds:
          type:
          - integer
          - 'null'
          format: int32
        eval_interval_seconds:
          type:
          - integer
          - 'null'
          format: int32
        comparison:
          type:
          - string
          - 'null'
        threshold:
          type:
          - number
          - 'null'
          format: double
        for_seconds:
          type:
          - integer
          - 'null'
          format: int32
        group_notification_ids:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
        tags:
          type:
          - array
          - 'null'
          items:
            type: string
    LogAlertQuery:
      type: object
      properties:
        search:
          type:
          - string
          - 'null'
        level:
          type:
          - string
          - 'null'
        source:
          type:
          - string
          - 'null'
        env:
          type:
          - string
          - 'null'
        host:
          type:
          - string
          - 'null'
        tags:
          type:
          - string
          - 'null'
        excluded:
          type:
          - string
          - 'null'
        metadata_search:
          type:
          - string
          - 'null'
    AlertRuleTestResult:
      type: object
      required:
      - breaching
      - current_state
      properties:
        value:
          type:
          - number
          - 'null'
          format: double
        breaching:
          type: boolean
        current_state:
          type: string
        error:
          type:
          - string
          - 'null'
    RumAlertQuery:
      type: object
      description: 'A RUM alert rule. Issue triggers fire per issue event; threshold

        and metric triggers are windowed like log and metric rules.'
      required:
      - application_id
      - trigger
      properties:
        application_id:
          type: string
          format: uuid
        trigger:
          $ref: '#/components/schemas/RumAlertTrigger'
        filters:
          type: array
          items:
            type: string
          description: 'Filters in the RUM grammar (`common::rum::filter`): issue fields for issue triggers.'
        measure:
          oneOf:
          - $ref: '#/components/schemas/RumAlertMeasure'
            description: What threshold and metric triggers measure.
          - type: 'null'
        route:
          type:
          - string
          - 'null'
        device_class:
          oneOf:
          - $ref: '#/components/schemas/DeviceClass'
          - type: 'null'
        action_interval_seconds:
          type:
          - integer
          - 'null'
          format: int32
          description: Minimum seconds between notifications per issue for issue triggers. Default 3600.
    CreateAlertRule:
      type: object
      required:
      - name
      - kind
      - query
      - threshold
      properties:
        name:
          type: string
        kind:
          type: string
        enabled:
          type:
          - boolean
          - 'null'
        query:
          $ref: '#/components/schemas/AlertQuery'
        window_seconds:
          type:
          - integer
          - 'null'
          format: int32
        eval_interval_seconds:
          type:
          - integer
          - 'null'
          format: int32
        comparison:
          type:
          - string
          - 'null'
        threshold:
          type: number
          format: double
        for_seconds:
          type:
          - integer
          - 'null'
          format: int32
        group_notification_ids:
          type:
          - array
          - 'null'
          items:
            type: string
            format: uuid
        tags:
          type:
          - array
          - 'null'
          items:
            type: string
    RumAlertMeasure:
      type: string
      enum:
      - events
      - users
      - sessions_pct
      - p75_lcp_ms
      - p75_inp_ms
      - p75_cls
      - sessions_with_errors_pct
      - failed_request_pct
    RumAlertTrigger:
      type: string
      enum:
      - new_issue
      - regression
      - escalating
      - threshold
      - metric
    DeviceClass:
      type: string
      enum:
      - desktop
      - mobile
  securitySchemes:
    bearer_auth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: 'Generate an API key in account settings and pass it as `Authorization: Bearer <KEY>`.'
x-refined-from:
- siteqwality-com-openapi-openapi.json
- siteqwality-com-openapi.json