> ## Documentation Index
> Fetch the complete documentation index at: https://agno-v2.mintlify.site/llms.txt
> Use this file to discover all available pages before exploring further.

# Enable Schedule

> Enable a schedule after verifying access to its target and confirming that the target is published, active, and still matches the schedule endpoint.



## OpenAPI

````yaml /reference-api/openapi.yaml post /schedules/{schedule_id}/enable
openapi: 3.1.0
info:
  title: Agno API Reference
  description: The all-in-one, private, secure agent platform that runs in your cloud.
  version: 3.0.4
servers: []
security: []
paths:
  /schedules/{schedule_id}/enable:
    post:
      tags:
        - Schedules
      summary: Enable Schedule
      description: >-
        Enable a schedule after verifying access to its target and confirming
        that the target is published, active, and still matches the schedule
        endpoint.
      operationId: enable_schedule_schedules__schedule_id__enable_post
      parameters:
        - name: schedule_id
          in: path
          required: true
          schema:
            type: string
            title: Schedule Id
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ScheduleStateResponse'
        '401':
          description: Authentication is required by the configured AgentOS security policy
        '403':
          description: The caller cannot run the target or schedule the target endpoint
        '404':
          description: Schedule not found
        '409':
          description: >-
            The target is archived or unpublished, or the schedule endpoint no
            longer matches its target
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
        '503':
          description: >-
            The configured database does not support scheduler operations or
            scheduler dependencies are not installed
      security:
        - {}
        - HTTPBearer: []
components:
  schemas:
    ScheduleStateResponse:
      properties:
        id:
          type: string
          title: Id
        name:
          type: string
          title: Name
        enabled:
          type: boolean
          title: Enabled
        next_run_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Next Run At
        updated_at:
          anyOf:
            - type: integer
            - type: 'null'
          title: Updated At
      type: object
      required:
        - id
        - name
        - enabled
      title: ScheduleStateResponse
      description: Trimmed response for state-changing operations (enable/disable).
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````

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