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

# Get a scheduled notification

**🔒 Admin only.** Requires administrator privileges — the authenticated principal (API key, embed JWT, or any bearer token) must belong to a user with the admin role.

Returns a single scheduled notification by id, including its cron expression, timezone, enabled state, notification format, and a human-readable schedule summary. Returns `404` if the notification does not exist or does not belong to this deployment.


## OpenAPI

````yaml /api-reference/api.yaml get /api/v1/deployments/{deploymentId}/notifications/{id}
openapi: 3.1.0
info:
  title: Cube Platform API
  version: 1.0.0
  description: >-
    Programmatically manage Cube: deployments and everything scoped to them

    (environments, folders, reports, workbooks, notifications, workspace, and
    agents),

    plus account-level users, groups, policies, embedding, and AI settings.
    Data-model

    authoring, dev mode, branches, and uploads live under /build/api/v1 — same
    host and

    token, routed to the build pods.
servers:
  - url: https://{tenant}.cubecloud.dev
    description: Your tenant host. Replace the whole host if you use a custom domain.
    variables:
      tenant:
        default: your-tenant
        description: Your Cube tenant subdomain
security:
  - bearerAuth: []
tags:
  - name: Deployments
  - name: Deployment Creation
  - name: Environments
  - name: Env Variables
  - name: Regions
  - name: Data Model
  - name: Data Model Uploads
  - name: GitHub
  - name: GitHub Connection
  - name: dbt Sync
  - name: Databricks Metric View Publication
  - name: Databricks Metric View Integration
  - name: Snowflake Semantic View Sync
  - name: Folders
  - name: Reports
  - name: External Documents
  - name: Workbooks
  - name: Workbook Promotions
  - name: Dashboard Exports
  - name: Notifications
  - name: Scheduled Tasks
  - name: Workspace
  - name: Agents
  - name: Users
  - name: Users Admin
  - name: API Keys
  - name: Roles
  - name: User Attributes
  - name: User Attribute Values
  - name: Tenant Settings
  - name: OAuth Integrations
  - name: User OAuth Tokens
  - name: OIDC Token Configs
  - name: App Theme
  - name: Embed
  - name: Embed Tenants
  - name: Dashboard Embed Access
  - name: Usage Analytics
  - name: OpenAPI Spec
  - name: Chat History
  - name: Ossie Conversion
  - name: Report Deliveries
paths:
  /api/v1/deployments/{deploymentId}/notifications/{id}:
    get:
      tags:
        - Notifications
      summary: Get a scheduled notification
      operationId: getNotification
      parameters:
        - in: path
          name: deploymentId
          required: true
          schema:
            type: integer
          description: Numeric id of the deployment that owns the notification.
        - in: path
          name: id
          required: true
          schema:
            type: integer
          description: Numeric id of the notification (scheduled run).
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Notification'
          description: ''
components:
  schemas:
    Notification:
      properties:
        addedControls:
          description: >-
            Controls added through the dashboard's Dynamic controls area that
            the notification renders with.
          oneOf:
            - items:
                $ref: '#/components/schemas/DashboardAddedControl'
              type: array
            - type: 'null'
        cronExpression:
          type: string
        crossFilters:
          description: >-
            Cross-filters the notification renders with: each is one chart's
            selection ("Filter dashboard by this"), as the dashboard's
            `xf_<sourceWidgetId>` link param holds it, and every other chart
            renders filtered by it. The chart must be on the published
            dashboard, with Cross-filtering on.
          oneOf:
            - items:
                $ref: '#/components/schemas/DashboardCrossFilter'
              type: array
            - type: 'null'
        dashboardId:
          type: integer
        deploymentId:
          type: integer
        filters:
          description: Dimension filters applied when the notification is rendered.
          oneOf:
            - items:
                $ref: '#/components/schemas/DashboardFilter'
              type: array
            - type: 'null'
        humanReadableSchedule:
          description: Human-readable description of the cron schedule
          type: string
        id:
          type: integer
        isEnabled:
          type: boolean
        memberSwitchers:
          description: Field-switcher selections applied when the notification is rendered.
          oneOf:
            - items:
                $ref: '#/components/schemas/DashboardMemberSwitcher'
              type: array
            - type: 'null'
        notificationAiSummary:
          description: >-
            Whether this notification carries an AI-generated "what changed"
            summary in its body.
          type: boolean
        notificationEnabled:
          type: boolean
        notificationFormat:
          type: string
        timeGrains:
          description: Time-grain overrides applied when the notification is rendered.
          oneOf:
            - items:
                $ref: '#/components/schemas/DashboardTimeGrain'
              type: array
            - type: 'null'
        timezone:
          type: string
      required:
        - id
        - dashboardId
        - deploymentId
        - cronExpression
        - timezone
        - isEnabled
        - humanReadableSchedule
        - notificationEnabled
        - notificationFormat
        - notificationAiSummary
      type: object
    DashboardAddedControl:
      properties:
        config:
          additionalProperties: true
          type: object
        key:
          type: string
        type:
          $ref: '#/components/schemas/DashboardAddedControlType'
      required:
        - key
        - type
        - config
      type: object
    DashboardCrossFilter:
      properties:
        dimensions:
          items:
            $ref: '#/components/schemas/DashboardCrossFilterDimension'
          type: array
        sourceWidgetId:
          type: string
        view:
          type: string
      required:
        - sourceWidgetId
        - view
        - dimensions
      type: object
    DashboardFilter:
      properties:
        caseSensitive:
          oneOf:
            - {}
            - type: 'null'
        endInclusive:
          oneOf:
            - {}
            - type: 'null'
        member:
          type: string
        operator:
          oneOf:
            - $ref: '#/components/schemas/DashboardFilterOperator'
            - type: 'null'
        startInclusive:
          oneOf:
            - {}
            - type: 'null'
        value:
          oneOf:
            - oneOf:
                - type: string
                - type: number
                - type: boolean
                - type: array
                  items: {}
            - type: 'null'
      required:
        - member
      type: object
    DashboardMemberSwitcher:
      properties:
        member:
          type: string
        selected:
          type: string
      required:
        - member
        - selected
      type: object
    DashboardTimeGrain:
      properties:
        grain:
          type: string
        member:
          type: string
      required:
        - member
        - grain
      type: object
    DashboardAddedControlType:
      enum:
        - FILTER
        - TIME_GRAIN
        - FIELD
      type: string
    DashboardCrossFilterDimension:
      properties:
        grain:
          oneOf:
            - type: string
            - type: 'null'
        member:
          type: string
        operator:
          $ref: '#/components/schemas/DashboardCrossFilterDimensionOperator'
        values:
          items:
            oneOf:
              - type: string
              - type: number
          type: array
      required:
        - member
        - operator
        - values
      type: object
    DashboardFilterOperator:
      enum:
        - equals
        - not_equals
        - greater_than
        - greater_than_or_equal
        - less_than
        - less_than_or_equal
        - contains
        - not_contains
        - starts_with
        - not_starts_with
        - ends_with
        - not_ends_with
        - in_month
        - not_in_month
        - in_quarter
        - not_in_quarter
        - in_year
        - not_in_year
        - is_null
        - is_not_null
        - is_empty
        - is_not_empty
        - between
        - custom
      type: string
    DashboardCrossFilterDimensionOperator:
      enum:
        - equals
        - between
      type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: 'Token authentication. Send `Authorization: Bearer <YOUR_TOKEN>`.'

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.