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

# Tutor Available Slots

> Free bookable time slots for a tutor in [from, to], computed by subtracting the
tutor's already-scheduled sessions from their weekly availability rules. 404 if the
tutor isn't an accepted member of your org. v1 is deliberately coarse: availability
clock-times are treated as UTC and emitted as '...Z'.



## OpenAPI

````yaml /openapi.json get /v1/tutors/{tutor_id}/available-slots
openapi: 3.1.0
info:
  title: EquateIt Public API
  description: >-
    REST API for EquateIt tutoring organisations. Pipe your sessions, invoices,
    payments, tutor earnings, students, and more into your own tools. Most
    endpoints are reads; a focused set of writes (each gated by a *:write scope)
    create or update data, including creating student/tutor/parent accounts.


    Authenticate every request with an org API key:

        Authorization: Token token=ei_live_...

    Mint keys in the EquateIt app under Settings → Developers.
  version: 1.0.0
servers: []
security:
  - ApiKeyAuth: []
tags:
  - name: General
  - name: Sessions
  - name: Tutors
  - name: Students & Parents
  - name: Billing
  - name: Curriculum
  - name: Coursework
  - name: Operations
  - name: Pricing
  - name: Bookings
  - name: Blog
  - name: Reports
paths:
  /v1/tutors/{tutor_id}/available-slots:
    get:
      tags:
        - Tutors
      summary: Tutor Available Slots
      description: >-
        Free bookable time slots for a tutor in [from, to], computed by
        subtracting the

        tutor's already-scheduled sessions from their weekly availability rules.
        404 if the

        tutor isn't an accepted member of your org. v1 is deliberately coarse:
        availability

        clock-times are treated as UTC and emitted as '...Z'.
      operationId: tutor_available_slots_v1_tutors__tutor_id__available_slots_get
      parameters:
        - name: tutor_id
          in: path
          required: true
          schema:
            type: string
            title: Tutor Id
        - name: from
          in: query
          required: true
          schema:
            type: string
            description: Window start, ISO date e.g. 2026-07-01
            title: From
          description: Window start, ISO date e.g. 2026-07-01
        - name: to
          in: query
          required: true
          schema:
            type: string
            description: Window end, ISO date e.g. 2026-07-07
            title: To
          description: Window end, ISO date e.g. 2026-07-07
        - name: duration
          in: query
          required: false
          schema:
            type: integer
            maximum: 600
            minimum: 1
            description: Slot length in minutes (default 60)
            default: 60
            title: Duration
          description: Slot length in minutes (default 60)
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/AvailableSlots'
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
components:
  schemas:
    AvailableSlots:
      properties:
        tutor_id:
          type: string
          title: Tutor Id
        duration_minutes:
          type: integer
          title: Duration Minutes
        from_date:
          type: string
          title: From Date
        to_date:
          type: string
          title: To Date
        slots:
          items:
            $ref: '#/components/schemas/AvailableSlot'
          type: array
          title: Slots
          default: []
      type: object
      required:
        - tutor_id
        - duration_minutes
        - from_date
        - to_date
      title: AvailableSlots
      description: >-
        GET /v1/tutors/{tutor_id}/available-slots — free slots in the window,
        computed

        by subtracting scheduled sessions from the tutor's weekly availability
        rules.
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    AvailableSlot:
      properties:
        starts_at:
          type: string
          title: Starts At
        ends_at:
          type: string
          title: Ends At
      type: object
      required:
        - starts_at
        - ends_at
      title: AvailableSlot
      description: One free bookable time slot from GET /v1/tutors/{id}/available-slots.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: Authorization
      description: Org API key as `Token token=ei_live_...`

````