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

# Fetch a resource schedule

> Fetches a resource schedule by its ID.

A **resource schedule** defines the working hours or availability window for a calendar resource (typically a veterinarian or technician). Schedules can be one-off or recurring.

When `use_clinic_hours` is true, the resource follows the clinic's configured business hours and `end_datetime` will be null.



## OpenAPI

````yaml get /ext/v2/resource-schedules/{resource_schedule_id}/
openapi: 3.1.0
info:
  description: ''
  title: NinjaAPI
  version: 2.0.0
servers:
  - url: https://connect.vetcove.com/
security: []
paths:
  /ext/v2/resource-schedules/{resource_schedule_id}/:
    get:
      tags:
        - Scheduler
      summary: Fetch a resource schedule
      description: >-
        Fetches a resource schedule by its ID.


        A **resource schedule** defines the working hours or availability window
        for a calendar resource (typically a veterinarian or technician).
        Schedules can be one-off or recurring.


        When `use_clinic_hours` is true, the resource follows the clinic's
        configured business hours and `end_datetime` will be null.
      operationId: resource_schedules_get
      parameters:
        - description: The ID of the resource schedule to fetch.
          in: path
          name: resource_schedule_id
          required: true
          schema:
            description: The ID of the resource schedule to fetch.
            title: Resource Schedule Id
            type: integer
      responses:
        '200':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExternalResourceScheduleSchema'
          description: OK
      security:
        - ExternalAPIAuth: []
components:
  schemas:
    ExternalResourceScheduleSchema:
      properties:
        calendar_resource_id:
          description: The ID of the calendar resource this schedule is for.
          title: Calendar Resource Id
          type: integer
        clinic_id:
          description: The ID of the clinic this resource schedule belongs to.
          title: Clinic Id
          type: integer
        created:
          description: The datetime this object was created.
          format: date-time
          title: Created
          type: string
        deleted:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: The datetime this record was soft deleted.
          title: Deleted
        end_datetime:
          anyOf:
            - format: date-time
              type: string
            - type: 'null'
          description: >-
            ISO 8601 formatted end datetime of the schedule in UTC. Null when
            use_clinic_hours is true.
          title: End Datetime
        id:
          description: The unique identifier for this resource schedule.
          title: Id
          type: integer
        is_deleted:
          description: Whether this record is soft deleted or not.
          title: Is Deleted
          type: boolean
        is_recurring:
          description: Whether this record follows a recurrence pattern.
          title: Is Recurring
          type: boolean
        modified:
          description: >-
            The datetime this object was last modified; changes to related
            entities will not update this field.
          format: date-time
          title: Modified
          type: string
        recurrence:
          anyOf:
            - $ref: '#/components/schemas/RecurrenceBreakdownSchema'
            - type: 'null'
          description: Structured recurrence pattern, if recurring.
        rrule:
          anyOf:
            - type: string
            - type: 'null'
          description: Raw RFC 2445 RRule string, if recurring.
          title: Rrule
        start_datetime:
          description: ISO 8601 formatted start datetime of the schedule in UTC.
          format: date-time
          title: Start Datetime
          type: string
        use_clinic_hours:
          description: >-
            Whether this resource follows the clinic's business hours instead of
            a custom end time.
          title: Use Clinic Hours
          type: boolean
      required:
        - created
        - modified
        - is_deleted
        - deleted
        - is_recurring
        - id
        - clinic_id
        - calendar_resource_id
        - start_datetime
        - end_datetime
        - use_clinic_hours
      title: ExternalResourceScheduleSchema
      type: object
    RecurrenceBreakdownSchema:
      description: Structured representation of an RFC 2445 recurrence rule.
      properties:
        days_of_week:
          description: >-
            Two-letter day codes. Applicable for WEEKLY and some MONTHLY
            patterns.
          items:
            enum:
              - MO
              - TU
              - WE
              - TH
              - FR
              - SA
              - SU
            type: string
          title: Days Of Week
          type: array
        end_after_occurrences:
          anyOf:
            - type: integer
            - type: 'null'
          description: >-
            Total number of occurrences before the recurrence ends, if bounded
            by count.
          title: End After Occurrences
        end_date:
          anyOf:
            - format: date
              type: string
            - type: 'null'
          description: >-
            ISO 8601 date (YYYY-MM-DD) when the recurrence ends, if bounded by
            date.
          title: End Date
        frequency:
          description: The base recurring frequency.
          enum:
            - YEARLY
            - MONTHLY
            - WEEKLY
            - DAILY
            - HOURLY
            - MINUTELY
            - SECONDLY
          title: Frequency
          type: string
        interval:
          description: >-
            The interval between each frequency iteration (e.g., 2 means every 2
            weeks for WEEKLY).
          title: Interval
          type: integer
      required:
        - frequency
        - interval
      title: RecurrenceBreakdownSchema
      type: object
  securitySchemes:
    ExternalAPIAuth:
      scheme: bearer
      type: http

````