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

# List schedule files

> Returns the authenticated company's schedule files in reverse
chronological order.

**Required scope:** `read:schedule_files`




## OpenAPI

````yaml https://api.getkroo.com/api/v3/openapi.yaml get /schedule_files
openapi: 3.0.1
info:
  title: Kroo API v3
  version: 1.0.0
  description: |
    OAuth 2.0 Client Credentials authenticated API for machine-to-machine
    integrations.

    ## Authentication

    All v3 endpoints require Bearer token authentication. Request a token
    from `/oauth/token` with your client credentials, then send it on
    subsequent requests as `Authorization: Bearer <token>`. Tokens
    expire after 1 hour.

    ## Rate Limiting

    - V3 API endpoints: 60 requests per minute per IP
    - OAuth token endpoint: 10 requests per minute per IP

    Every response carries `X-RateLimit-Limit`, `X-RateLimit-Remaining`,
    and `X-RateLimit-Reset` headers. When the limit is exceeded the
    server returns `429 rate_limit_exceeded`; back off until the
    `X-RateLimit-Reset` Unix timestamp and retry.
  contact:
    name: Kroo API Support
    email: implementations@getkroo.com
servers:
  - url: https://api.getkroo.com/api/v3
    description: Production
security:
  - BearerAuth: []
tags:
  - name: Authentication
    description: >-
      Exchange client credentials for short-lived Bearer tokens used to
      authorize every other v3 request.
  - name: Schedule Files
    description: >-
      Upload, list, retrieve, and delete P6 schedule files (XER, XML, PPX).
      Uploads are parsed and ingested asynchronously.
paths:
  /schedule_files:
    get:
      tags:
        - Schedule Files
      summary: List schedule files
      description: |
        Returns the authenticated company's schedule files in reverse
        chronological order.

        **Required scope:** `read:schedule_files`
      operationId: listScheduleFiles
      parameters:
        - name: page
          in: query
          required: false
          description: 1-indexed page number. Clamped to [1, 10000].
          schema:
            type: integer
            minimum: 1
            maximum: 10000
            default: 1
        - name: per_page
          in: query
          required: false
          description: Page size. Clamped to [1, 100].
          schema:
            type: integer
            minimum: 1
            maximum: 100
            default: 10
      responses:
        '200':
          description: Paginated list of schedule files
          content:
            application/json:
              schema:
                type: object
                required:
                  - data
                  - meta
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ScheduleFile'
                  meta:
                    type: object
                    required:
                      - page
                      - per_page
                      - total_count
                      - total_pages
                    properties:
                      page:
                        type: integer
                        description: Current page (1-indexed).
                      per_page:
                        type: integer
                        description: Page size applied to this response.
                      total_count:
                        type: integer
                        description: >-
                          Total number of schedule files for the authenticated
                          company.
                      total_pages:
                        type: integer
                        description: Total number of pages at the current per_page.
        '401':
          description: Missing or invalid token
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '403':
          description: Token lacks required scope
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        '429':
          description: Rate limit exceeded
          headers:
            X-RateLimit-Limit:
              schema:
                type: integer
            X-RateLimit-Remaining:
              schema:
                type: integer
            X-RateLimit-Reset:
              schema:
                type: integer
                format: int64
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      security:
        - BearerAuth: []
components:
  schemas:
    ScheduleFile:
      type: object
      required:
        - id
        - name
        - is_baseline
        - company_id
        - customer_project
        - created_at
      properties:
        id:
          type: integer
          format: int64
          description: Unique identifier for the schedule file.
          example: 482
        name:
          type: string
          description: Human-readable name supplied when the file was uploaded.
          example: October 2026 Baseline
        is_baseline:
          type: boolean
          description: >-
            True if the file was marked as a baseline at upload time; baselines
            are preserved for variance reporting.
          example: false
        company_id:
          type: integer
          format: int64
          description: >-
            ID of the company that owns this file. Always equal to the
            authenticated client's company.
          example: 1042
        customer_project:
          type: object
          nullable: true
          description: >-
            Project association if one was provided on upload. `null` for
            unassociated files.
          properties:
            id:
              type: integer
              format: int64
              description: Kroo-side project ID.
            name:
              type: string
              description: Human-readable project name.
            source:
              type: string
              description: Partner source the project was synced from (e.g. `procore`).
            customer_project_id:
              type: string
              description: Project identifier in the source partner system.
        created_at:
          type: string
          format: date-time
          description: ISO 8601 timestamp of when the upload was accepted.
          example: '2026-04-27T15:30:00Z'
    Error:
      type: object
      required:
        - error
        - error_description
      properties:
        error:
          type: string
          description: >-
            Machine-readable error code. See the operation description for the
            codes a specific endpoint can return.
        error_description:
          type: string
          description: >-
            Human-readable description of the error. Safe to log; do not show to
            end users verbatim.
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      bearerFormat: JWT
      description: >-
        Bearer token obtained from `POST /oauth/token`. Send as `Authorization:
        Bearer <token>`. Tokens expire after 1 hour; refresh by requesting a new
        one with the same client credentials.

````