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

# Set a monitoring row's schedule

> Saves the workspace's own schedule for the row (the db layer), as the page's schedule editor does, for any source the table lists, scheduled or not. An entry whose `subtype` is not the row's, or a cadence the source does not take, is a 422 and saves nothing. A (source, subtype) the monitoring table does not list is a 404.



## OpenAPI

````yaml /api/statisfy-api.openapi.json put /v1/integrations/monitoring/{source}/{subtype}/schedule
openapi: 3.1.0
info:
  description: >-
    The agent-first Statisfy API. Authenticate with an API key (`Authorization:
    Bearer stfy_live_…`), then call `GET /v1/meta/capabilities` to discover
    every operation and its schemas.
  title: Statisfy API
  version: 1.0.0
servers:
  - url: https://api.statisfy.com
    description: Production
security: []
paths:
  /v1/integrations/monitoring/{source}/{subtype}/schedule:
    put:
      tags:
        - integrations
      summary: Set a monitoring row's schedule
      description: >-
        Saves the workspace's own schedule for the row (the db layer), as the
        page's schedule editor does, for any source the table lists, scheduled
        or not. An entry whose `subtype` is not the row's, or a cadence the
        source does not take, is a 422 and saves nothing. A (source, subtype)
        the monitoring table does not list is a 404.
      operationId: integrations_monitoring_put_schedule
      parameters:
        - description: The row's `source`, as GET /v1/integrations/monitoring returns it
          in: path
          name: source
          required: true
          schema:
            pattern: ^[^/\x00-\x1f]{1,128}$
            type: string
        - description: The row's `subtype`, as GET /v1/integrations/monitoring returns it
          in: path
          name: subtype
          required: true
          schema:
            pattern: ^[^/\x00-\x1f]{1,128}$
            type: string
      requestBody:
        content:
          application/json:
            schema:
              additionalProperties: false
              properties:
                schedules:
                  description: >-
                    The row's schedule: one entry, its `subtype` the row's.
                    enabled false removes the override, and the row runs on its
                    default cadence
                  items:
                    $ref: '#/components/schemas/ScheduleEntry'
                  title: Schedules
                  type: array
              required:
                - schedules
              type: object
        required: true
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/IntegrationSchedule'
          description: Successful Response
      security:
        - HTTPBearer: []
components:
  schemas:
    ScheduleEntry:
      properties:
        cadence:
          title: Cadence
          type: string
        day:
          anyOf:
            - maximum: 6
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Day
        enabled:
          default: true
          title: Enabled
          type: boolean
        hour:
          anyOf:
            - maximum: 23
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Hour
        minute:
          anyOf:
            - maximum: 59
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Minute
        subtype:
          title: Subtype
          type: string
        timezone:
          anyOf:
            - type: string
            - type: 'null'
          default: null
          title: Timezone
        week_start_day:
          anyOf:
            - maximum: 6
              minimum: 0
              type: integer
            - type: 'null'
          default: null
          title: Week Start Day
      required:
        - subtype
        - cadence
      title: ScheduleEntry
      type: object
    IntegrationSchedule:
      properties:
        schedules:
          description: >-
            One entry per subtype: its cadence, and for weekly an optional day,
            hour, minute and timezone. enabled false means the subtype does not
            run on a schedule
          items:
            $ref: '#/components/schemas/IntegrationSubtypeSchedule'
          title: Schedules
          type: array
      required:
        - schedules
      title: IntegrationSchedule
      type: object
    IntegrationSubtypeSchedule:
      properties:
        cadence:
          description: >-
            hourly, two_hours, four_hours, six_hours, twelve_hours, daily,
            weekly or monthly. product_usage takes daily, weekly or monthly only
          title: Cadence
          type: string
        day:
          anyOf:
            - type: integer
            - type: 'null'
          description: 'weekly: the day it runs, 0 = Monday … 6 = Sunday'
          title: Day
        enabled:
          title: Enabled
          type: boolean
        hour:
          anyOf:
            - type: integer
            - type: 'null'
          title: Hour
        minute:
          anyOf:
            - type: integer
            - type: 'null'
          title: Minute
        subtype:
          title: Subtype
          type: string
        timezone:
          anyOf:
            - type: string
            - type: 'null'
          description: 'weekly: the IANA timezone day, hour and minute are in'
          title: Timezone
        week_start_day:
          anyOf:
            - type: integer
            - type: 'null'
          title: Week Start Day
      required:
        - subtype
        - cadence
        - week_start_day
        - day
        - hour
        - minute
        - timezone
        - enabled
      title: IntegrationSubtypeSchedule
      type: object
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http
      description: >-
        An API key, sent as `Authorization: Bearer stfy_live_…`. See
        [Authentication](/rest-api/authentication) for how to get one and which
        scopes it needs.

````

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