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

# Update Scheduler

> Updates an existing scheduler



## OpenAPI

````yaml api-reference/tess-public-api.openapi.json PUT /agents/{agentId}/schedulers/{schedulerId}
openapi: 3.0.0
info:
  title: Tess API
  version: '0.1'
servers:
  - url: https://api.tess.im
security: []
paths:
  /agents/{agentId}/schedulers/{schedulerId}:
    put:
      tags:
        - Agent Schedulers
      summary: Update a scheduler
      description: Updates an existing scheduler
      operationId: updateAgentScheduler
      parameters:
        - name: agentId
          in: path
          required: true
          schema:
            type: integer
        - name: schedulerId
          in: path
          required: true
          schema:
            type: integer
        - name: x-workspace-id
          in: header
          description: >-
            Workspace id. If not provided, the user's selected workspace is
            used.
          required: false
          schema:
            type: integer
      requestBody:
        required: false
        content:
          application/json:
            schema:
              properties:
                name:
                  type: string
                  maxLength: 255
                prompt:
                  type: string
                cron_expression:
                  type: string
                  maxLength: 100
                  nullable: true
                execution_timezone:
                  type: string
                  maxLength: 50
                  nullable: true
                run_once_at:
                  type: string
                  format: date-time
                  nullable: true
                enabled:
                  type: boolean
                email_notification_enabled:
                  type: boolean
                start_new_conversation:
                  type: boolean
                agent_root_id_execution:
                  type: integer
                  nullable: true
                forced_stop_reason:
                  type: string
                  maxLength: 500
                  nullable: true
              type: object
      responses:
        '200':
          description: Successful response
      security:
        - token: []
components:
  securitySchemes:
    token:
      type: http
      bearerFormat: Bearer
      scheme: bearer

````

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