Fastly Alerts API

The Alerts API from Fastly — 3 operation(s) for alerts.

Documentation

📖
Documentation
https://www.fastly.com/documentation/reference/api/services/
📖
Documentation
https://www.fastly.com/documentation/reference/api/purging/
📖
Documentation
https://www.fastly.com/documentation/reference/api/logging/
📖
Documentation
https://www.fastly.com/documentation/reference/api/metrics-stats/
📖
Documentation
https://www.fastly.com/documentation/reference/api/tls/
📖
Documentation
https://www.fastly.com/documentation/reference/api/vcl-services/
📖
Documentation
https://www.fastly.com/documentation/reference/api/account/
📖
Documentation
https://www.fastly.com/documentation/reference/api/auth-tokens/
📖
Documentation
https://www.fastly.com/documentation/reference/api/acls/
📖
Documentation
https://www.fastly.com/documentation/reference/api/dictionaries/
📖
Documentation
https://www.fastly.com/documentation/guides/compute/
📖
Documentation
https://www.fastly.com/documentation/reference/api/ngwaf/
📖
Documentation
https://www.fastly.com/documentation/reference/api/domain-management/
📖
Documentation
https://www.fastly.com/documentation/reference/api/products/
📖
Documentation
https://www.fastly.com/documentation/reference/api/observability/
📖
Documentation
https://www.fastly.com/documentation/reference/api/api-security/
📖
Documentation
https://www.fastly.com/documentation/reference/api/ddos-protection/
📖
Documentation
https://www.fastly.com/documentation/reference/api/client-side-protection/
📖
Documentation
https://www.fastly.com/documentation/reference/api/publishing/
📖
Documentation
https://www.fastly.com/documentation/reference/api/load-balancing/
📖
Documentation
https://www.fastly.com/documentation/reference/api/utils/
📖
Documentation
https://www.fastly.com/products/ai
📖
Documentation
https://www.fastly.com/products/object-storage

Specifications

Other Resources

OpenAPI Specification

fastly-alerts-api-openapi.yml Raw ↑
openapi: 3.1.0
info:
  title: Fastly Account ACL Alerts API
  description: The Fastly Account API provides endpoints for managing customer accounts, users, and identity and access management (IAM) resources. Developers can programmatically manage user invitations, roles, permissions, and service groups to control access to Fastly resources. The API supports retrieving and updating customer information, managing user profiles, and configuring organizational settings for enterprise accounts.
  version: '1.0'
  contact:
    name: Fastly Support
    url: https://support.fastly.com
  termsOfService: https://www.fastly.com/terms
servers:
- url: https://api.fastly.com
  description: Fastly API Production Server
security:
- apiKeyAuth: []
tags:
- name: Alerts
paths:
  /alerts/definitions:
    get:
      tags:
      - Alerts
      summary: List Alert Definitions
      operationId: listAlertDefinitions
      responses:
        '200':
          description: A list of alert definitions
    post:
      tags:
      - Alerts
      summary: Create Alert Definition
      operationId: createAlertDefinition
      requestBody:
        required: true
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/AlertDefinition'
      responses:
        '201':
          description: Alert definition created
  /alerts/definitions/{definition_id}:
    parameters:
    - in: path
      name: definition_id
      required: true
      schema:
        type: string
    get:
      tags:
      - Alerts
      summary: Get Alert Definition
      operationId: getAlertDefinition
      responses:
        '200':
          description: An alert definition
    patch:
      tags:
      - Alerts
      summary: Update Alert Definition
      operationId: updateAlertDefinition
      responses:
        '200':
          description: Updated alert definition
    delete:
      tags:
      - Alerts
      summary: Delete Alert Definition
      operationId: deleteAlertDefinition
      responses:
        '204':
          description: Deleted
  /alerts/history:
    get:
      tags:
      - Alerts
      summary: List Alert History
      operationId: listAlertHistory
      responses:
        '200':
          description: Alert history entries
components:
  schemas:
    AlertDefinition:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        service_id:
          type: string
        type:
          type: string
          enum:
          - stats
          - domains
          - origins
        metric:
          type: string
        evaluation_strategy:
          type: object
        integration_ids:
          type: array
          items:
            type: string
        created_at:
          type: string
          format: date-time
        updated_at:
          type: string
          format: date-time
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Fastly-Key
      description: API token used to authenticate requests to the Fastly API.
externalDocs:
  description: Fastly Account API Documentation
  url: https://www.fastly.com/documentation/reference/api/account/