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

# List Schedules

> Retrieves all schedules for your team. Returns a list of schedules with their configuration, status, and metadata.



## OpenAPI

````yaml openapi/schedules.json GET /v1/schedules
openapi: 3.0.3
info:
  title: Schedules API
  version: 1.0.0
servers:
  - url: https://api.olostep.com
security: []
paths:
  /v1/schedules:
    get:
      summary: List Schedules
      description: >-
        Retrieves all schedules for your team. Returns a list of schedules with
        their configuration, status, and metadata. By default, deleted schedules
        are filtered out.
      parameters:
        - name: include_deleted
          in: query
          required: false
          description: >-
            Set to 'true' to include deleted schedules in the response. By
            default, deleted schedules are filtered out.
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
            default: 'false'
      responses:
        '200':
          description: Successful response with list of schedules.
          content:
            application/json:
              schema:
                type: object
                properties:
                  schedules:
                    type: array
                    items:
                      type: object
                      properties:
                        team_id:
                          type: string
                          description: Team identifier
                        schedule_id:
                          type: string
                          description: Unique schedule identifier
                        type:
                          type: string
                          enum:
                            - recurring
                            - onetime
                          description: Type of schedule
                        endpoint:
                          type: string
                          description: The endpoint URL
                        payload:
                          type: object
                          description: The payload to send with the API call
                        cron_expression:
                          type: string
                          description: >-
                            Cron expression (only present for recurring
                            schedules)
                        execute_at:
                          type: string
                          format: date-time
                          description: >-
                            Execution datetime (only present for one-time
                            schedules)
                        expression_timezone:
                          type: string
                          description: Timezone for the schedule
                        text:
                          type: string
                          description: >-
                            Natural language text used to generate cron
                            expression
                        schedule_name:
                          type: string
                          description: Internal schedule name in EventBridge
                        schedule_group:
                          type: string
                          description: Schedule group name
                        created_at:
                          type: string
                          format: date-time
                          description: ISO 8601 datetime when the schedule was created
                        updated_at:
                          type: string
                          format: date-time
                          description: ISO 8601 datetime when the schedule was last updated
                        state:
                          type: string
                          enum:
                            - ENABLED
                            - DELETED
                          description: Current state of the schedule
                        method:
                          type: string
                          enum:
                            - GET
                            - POST
                          description: HTTP method for the scheduled call
                    description: Array of schedule objects
                  count:
                    type: integer
                    description: Total number of schedules
        '401':
          description: Invalid API key.
        '500':
          description: Internal server error while fetching schedules.
      security:
        - Authorization: []
components:
  securitySchemes:
    Authorization:
      type: http
      scheme: bearer
      description: >-
        Bearer authentication header of the form Bearer <token>, where <token>
        is your auth token.

````