> ## Documentation Index
> Fetch the complete documentation index at: https://docs.coralogix.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Create multiple alert scheduler rules

> No description available



## OpenAPI

````yaml openapi_v4.yaml post /alerts/suppression-rules/v1/all/rules
openapi: 3.0.0
info:
  title: ''
  version: 1.0.0
servers:
  - url: https://api.coralogix.com/mgmt/openapi/4
  - url: https://api.eu2.coralogix.com/mgmt/openapi/4
  - url: https://api.coralogix.us/mgmt/openapi/4
  - url: https://api.cx498.coralogix.com/mgmt/openapi/4
  - url: https://api.coralogix.in/mgmt/openapi/4
  - url: https://api.coralogixsg.com/mgmt/openapi/4
  - url: https://api.ap3.coralogix.com/mgmt/openapi/4
security:
  - apiKeyAuth: []
tags:
  - name: Recording Rules Service
    description: A service to manage recording rules.
    externalDocs:
      url: ''
  - name: Slos Service
    description: A service for managing Service Level Objectives (SLOs).
    externalDocs:
      url: ''
  - name: Scopes Service
    description: A service to manage scopes
    externalDocs:
      url: ''
  - name: Quota Allocation Rule Set service
    description: Manage quota allocation rules for different entity types.
    externalDocs:
      url: ''
  - name: Extension deployment service
    description: A service that enables querying for extension deployment information.
    externalDocs:
      description: Find out more about extensions in our documentation.
      url: https://coralogix.com/docs/integrations/extensions/
  - name: Contextual data integration service
    description: Query for contextual data integration information.
    externalDocs:
      url: ''
  - name: Alert events service
    description: >-
      Get information regarding your alert events - instances of alerts being
      triggered.
    externalDocs:
      description: Learn more about alert events and incidents in our documentation.
      url: https://coralogix.com/docs/user-guides/alerting/incidents/
  - name: Views service
    description: Create and manage views.
    externalDocs:
      url: ''
  - name: Retentions Service
    description: View and manage retentions
    externalDocs:
      url: ''
  - name: Extension testing service
    externalDocs:
      description: Find out more about extensions in our documentation.
      url: https://coralogix.com/docs/integrations/extensions/
  - name: Rule Groups Service
    description: A service to manage rule groups.
    externalDocs:
      url: ''
  - name: Global routers service
    description: >-
      View and manage your global routers - entities that direct notifications
      to configured destinations based on conditions
    externalDocs:
      description: Lean more about global routers in our documentation
      url: >-
        https://coralogix.com/docs/user-guides/notification-center/routing/introduction/
  - name: Connectors service
    description: >-
      View and manage your connectors - integration instances for notification
      destinations
    externalDocs:
      description: Lean more about connectors in our documentation
      url: >-
        https://coralogix.com/docs/user-guides/notification-center/connectors/introduction/
  - name: IP access service
    description: >-
      IP access service provides the API for managing company IP access
      settings.
    externalDocs:
      url: ''
  - name: Dashboard folders service
    description: Manage your dashboard folders.
    externalDocs:
      url: ''
  - name: Events Service
    description: A service for querying events.
    externalDocs:
      description: Learn more about alerts in our documentation
      url: https://coralogix.com/docs/user-guides/alerting/introduction-to-alerts/
  - name: Data Usage Service
    description: A service to manage data usage metrics.
    externalDocs:
      url: ''
  - name: Extension service
    description: A service that enables querying for extension information.
    externalDocs:
      description: Learn more about extensions in our documentation.
      url: https://coralogix.com/docs/integrations/extensions/
  - name: Outgoing webhooks service
    externalDocs:
      description: Find out more about outbound webhooks in our documentation.
      url: >-
        https://coralogix.com/docs/user-guides/alerting/outbound-webhooks/generic-outbound-webhooks-alert-webhooks/
  - name: Presets service
    description: >-
      View and manage your presets - pre-configured templates for notification
      content rendering
    externalDocs:
      description: Lean more about presets in our documentation
      url: >-
        https://coralogix.com/docs/user-guides/notification-center/presets/introduction/
  - name: API Keys Service
    description: Manage your API Keys.
    externalDocs:
      url: ''
  - name: Events2Metrics Service
    description: Manage your events2metrics.
    externalDocs:
      url: ''
  - name: Custom Enrichments Service
    description: Manage your enrichments.
    externalDocs:
      url: ''
  - name: Alert definitions service
    description: >-
      View and manage your alerts using alert definitions - data structures that
      contain the configuration required to create an alert.
    externalDocs:
      description: Learn more about alerts in our documentation
      url: https://coralogix.com/docs/user-guides/alerting/introduction-to-alerts/
  - name: Folders for views service
    description: Create and manage view folders.
    externalDocs:
      url: ''
  - name: Policies Service
    description: View and manage your TCO policies
    externalDocs:
      url: ''
  - name: Cases service
    description: >-
      Manage cases throughout their lifecycle. Create, view, assign,
      acknowledge, resolve, and close cases to streamline investigations and
      follow-ups.
    externalDocs:
      description: Learn more about Cases in our documentation
      url: https://coralogix.com/docs/user-guides/cases/
  - name: Team Groups Management Service
    description: Manage Team Groups.
    externalDocs:
      url: ''
  - name: API Keys Admin Service
    description: Administrative operations for API Keys management.
    externalDocs:
      url: ''
  - name: Dashboard service
    description: Get information about the Coralogix Dashboard catalog.
    externalDocs:
      url: ''
  - name: Actions Service
    description: View and manage your Actions.
    externalDocs:
      url: ''
  - name: Target Service
    description: View and manage your storage targets for logs.
    externalDocs:
      description: Find out more about archives
      url: >-
        https://coralogix.com/docs/user-guides/data-flow/s3-archive/connect-s3-archive/
  - name: Integration service
    description: A service that enables querying for integration information.
    externalDocs:
      description: Find out more about integrations in our documentation.
      url: https://coralogix.com/docs/integrations/getting-started/
  - name: Alert Scheduler Rule service
    description: Manage your alert scheduler rules.
    externalDocs:
      url: ''
  - name: Entities service
    description: Query information about registered entities in the notification center
    externalDocs:
      description: Lean more about the notification center in our documentation
      url: https://coralogix.com/docs/user-guides/notification-center/introduction/
  - name: Incidents service
    description: >-
      Handle all operations related to incident management within Coralogix.
      Identify, manage, and resolve incidents efficiently through automated
      workflows and team collaboration.
    externalDocs:
      description: Find out more about incident management in our documentation
      url: https://coralogix.com/docs/user-guides/alerting/incidents/
  - name: Metrics Data Archive Service
    description: View and manage your storage targets for metrics.
    externalDocs:
      description: Find out more about archives
      url: >-
        https://coralogix.com/docs/user-guides/data-flow/s3-archive/connect-s3-archive/
  - name: Enrichments Service
    description: Manage your enrichments.
    externalDocs:
      url: ''
  - name: SAML Configuration Service
    description: Manage your SAML configuration
    externalDocs:
      url: ''
  - name: Role Management Service
    description: Service for managing system and custom roles.
    externalDocs:
      url: ''
paths:
  /alerts/suppression-rules/v1/all/rules:
    post:
      tags:
        - Alert Scheduler Rule service
      summary: Create multiple alert scheduler rules
      description: No description available
      operationId: AlertSchedulerRuleService_CreateBulkAlertSchedulerRule
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              description: This is a request sent to create multiple alert scheduler rules
              properties:
                createAlertSchedulerRuleRequests:
                  type: array
                  items:
                    $ref: '#/components/schemas/CreateAlertSchedulerRuleRequest'
              required:
                - createAlertSchedulerRuleRequests
              title: Create bulk alert scheduler rule request data structure
              type: object
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/CreateBulkAlertSchedulerRuleResponse'
          description: ''
        '400':
          content:
            application/json: {}
          description: Bad Request
        '401':
          content:
            application/json: {}
          description: Unauthorized request
        '500':
          content:
            application/json: {}
          description: Internal server error
      externalDocs:
        url: ''
components:
  schemas:
    CreateAlertSchedulerRuleRequest:
      title: Create alert scheduler rule request data structure
      required:
        - alertSchedulerRule
      type: object
      properties:
        alertSchedulerRule:
          $ref: '#/components/schemas/AlertSchedulerRule'
      description: This is a request sent to create an alert scheduler rule
      externalDocs:
        description: Find out more about alert scheduler rules in our documentation.
        url: >-
          https://coralogix.com/docs/developer-portal/apis/data-management/alert-suppression-rules-api/
    CreateBulkAlertSchedulerRuleResponse:
      title: Create bulk alert scheduler rule response data structure
      required:
        - createSuppressionResponses
      type: object
      properties:
        createSuppressionResponses:
          type: array
          items:
            $ref: '#/components/schemas/CreateAlertSchedulerRuleResponse'
      description: This is a response sent after creating multiple alert scheduler rules
      externalDocs:
        description: Find out more about alert scheduler rules in our documentation.
        url: >-
          https://coralogix.com/docs/developer-portal/apis/data-management/alert-suppression-rules-api/
    AlertSchedulerRule:
      type: object
      properties:
        createdAt:
          type: string
        description:
          type: string
        enabled:
          type: boolean
        filter:
          $ref: '#/components/schemas/alert_scheduler_rule_protobuf.v1.Filter'
        id:
          type: string
        metaLabels:
          type: array
          items:
            $ref: '#/components/schemas/meta_labels_protobuf.v1.MetaLabel'
        name:
          type: string
        schedule:
          $ref: '#/components/schemas/Schedule'
        uniqueIdentifier:
          type: string
        updatedAt:
          type: string
    CreateAlertSchedulerRuleResponse:
      title: Create alert scheduler rule response data structure
      required:
        - alertSchedulerRule
      type: object
      properties:
        alertSchedulerRule:
          $ref: '#/components/schemas/AlertSchedulerRule'
      description: This is a response sent after creating an alert scheduler rule
      externalDocs:
        description: Find out more about alert scheduler rules in our documentation.
        url: >-
          https://coralogix.com/docs/developer-portal/apis/data-management/alert-suppression-rules-api/
    alert_scheduler_rule_protobuf.v1.Filter:
      oneOf:
        - $ref: >-
            #/components/schemas/AlertSchedulerRuleProtobufV1FilterAlertMetaLabels
        - $ref: >-
            #/components/schemas/AlertSchedulerRuleProtobufV1FilterAlertUniqueIds
    meta_labels_protobuf.v1.MetaLabel:
      type: object
      properties:
        id:
          type: string
        key:
          type: string
        value:
          type: string
    Schedule:
      oneOf:
        - $ref: '#/components/schemas/ScheduleOneTime'
        - $ref: '#/components/schemas/ScheduleRecurring'
    AlertSchedulerRuleProtobufV1FilterAlertMetaLabels:
      type: object
      properties:
        alertMetaLabels:
          $ref: '#/components/schemas/MetaLabels'
        whatExpression:
          type: string
      additionalProperties: false
    AlertSchedulerRuleProtobufV1FilterAlertUniqueIds:
      type: object
      properties:
        alertUniqueIds:
          $ref: '#/components/schemas/AlertUniqueIds'
        whatExpression:
          type: string
      additionalProperties: false
    ScheduleOneTime:
      type: object
      properties:
        oneTime:
          $ref: '#/components/schemas/OneTime'
        scheduleOperation:
          $ref: '#/components/schemas/ScheduleOperation'
      additionalProperties: false
    ScheduleRecurring:
      type: object
      properties:
        recurring:
          $ref: '#/components/schemas/Recurring'
        scheduleOperation:
          $ref: '#/components/schemas/ScheduleOperation'
      additionalProperties: false
    MetaLabels:
      type: object
      properties:
        value:
          type: array
          items:
            $ref: '#/components/schemas/meta_labels_protobuf.v1.MetaLabel'
    AlertUniqueIds:
      type: object
      properties:
        value:
          type: array
          items:
            type: string
    OneTime:
      type: object
      properties:
        timeframe:
          $ref: '#/components/schemas/Timeframe'
    ScheduleOperation:
      enum:
        - SCHEDULE_OPERATION_UNSPECIFIED
        - SCHEDULE_OPERATION_MUTE
        - SCHEDULE_OPERATION_ACTIVATE
      type: string
    Recurring:
      oneOf:
        - $ref: '#/components/schemas/RecurringAlwaysActive'
        - $ref: '#/components/schemas/RecurringSchedule'
    Timeframe:
      oneOf:
        - $ref: '#/components/schemas/TimeframeEndTime'
        - $ref: '#/components/schemas/TimeframeDuration'
    RecurringAlwaysActive:
      type: object
      properties:
        alwaysActive:
          $ref: '#/components/schemas/Always'
      additionalProperties: false
    RecurringSchedule:
      type: object
      properties:
        schedule:
          $ref: '#/components/schemas/Recurring.Dynamic'
      additionalProperties: false
    TimeframeEndTime:
      type: object
      properties:
        endTime:
          type: string
        startTime:
          type: string
        timezone:
          type: string
      additionalProperties: false
    TimeframeDuration:
      type: object
      properties:
        duration:
          $ref: '#/components/schemas/v1.Duration'
        startTime:
          type: string
        timezone:
          type: string
      additionalProperties: false
    Always:
      type: object
    Recurring.Dynamic:
      oneOf:
        - $ref: '#/components/schemas/RecurringDynamicDaily'
        - $ref: '#/components/schemas/RecurringDynamicWeekly'
        - $ref: '#/components/schemas/RecurringDynamicMonthly'
    v1.Duration:
      type: object
      properties:
        forOver:
          type: integer
          format: int32
        frequency:
          $ref: '#/components/schemas/DurationFrequency'
    RecurringDynamicDaily:
      type: object
      properties:
        daily:
          $ref: '#/components/schemas/Daily'
        repeatEvery:
          type: integer
          format: int32
        terminationDate:
          type: string
        timeframe:
          $ref: '#/components/schemas/Timeframe'
      additionalProperties: false
    RecurringDynamicWeekly:
      type: object
      properties:
        repeatEvery:
          type: integer
          format: int32
        terminationDate:
          type: string
        timeframe:
          $ref: '#/components/schemas/Timeframe'
        weekly:
          $ref: '#/components/schemas/Weekly'
      additionalProperties: false
    RecurringDynamicMonthly:
      type: object
      properties:
        monthly:
          $ref: '#/components/schemas/Monthly'
        repeatEvery:
          type: integer
          format: int32
        terminationDate:
          type: string
        timeframe:
          $ref: '#/components/schemas/Timeframe'
      additionalProperties: false
    DurationFrequency:
      enum:
        - DURATION_FREQUENCY_UNSPECIFIED
        - DURATION_FREQUENCY_MINUTE
        - DURATION_FREQUENCY_HOUR
        - DURATION_FREQUENCY_DAY
      type: string
    Daily:
      type: object
    Weekly:
      type: object
      properties:
        daysOfWeek:
          type: array
          items:
            type: integer
            format: int32
    Monthly:
      type: object
      properties:
        daysOfMonth:
          type: array
          items:
            type: integer
            format: int32
  securitySchemes:
    apiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: API key authentication

````