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

# Retrieve a list of files from Dropbox



## OpenAPI

````yaml /api-reference/openapi.json get /app.rocksky.dropbox.getFiles
openapi: 3.1.0
info:
  title: Rocksky XRPC API
  version: 1.0.0
  description: >-
    Generated from the registered Rocksky XRPC handlers and current lexicons.
    Provider-defined payloads remain open schemas. Some handlers return empty
    fallback objects on service failures. This reference describes the
    repository implementation; production may run an earlier revision.
  license:
    name: MIT License
    identifier: MIT
servers:
  - url: https://api.rocksky.app/xrpc
    description: Rocksky API
security: []
paths:
  /app.rocksky.dropbox.getFiles:
    get:
      tags:
        - app.rocksky.dropbox
      summary: Retrieve a list of files from Dropbox
      operationId: app.rocksky.dropbox.getFiles
      parameters:
        - name: at
          in: query
          required: false
          description: Path to the Dropbox folder or root directory
          schema:
            type: string
            description: Path to the Dropbox folder or root directory
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/app.rocksky.dropbox.defs__fileListView'
        '400':
          description: Invalid XRPC request or parameters.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/XrpcError'
        default:
          description: XRPC error response.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/XrpcError'
      security:
        - Bearer: []
components:
  schemas:
    app.rocksky.dropbox.defs__fileListView:
      type: object
      properties:
        files:
          type: array
          items:
            $ref: '#/components/schemas/app.rocksky.dropbox.defs__fileView'
          description: A list of files in the Dropbox.
        directory:
          $ref: '#/components/schemas/app.rocksky.dropbox.defs__responseDirectoryView'
        parentDirectory:
          $ref: >-
            #/components/schemas/app.rocksky.dropbox.defs__responseParentDirectoryView
        directories:
          type: array
          items:
            $ref: >-
              #/components/schemas/app.rocksky.dropbox.defs__responseDirectoriesItemView
    XrpcError:
      type: object
      required:
        - error
      properties:
        error:
          type: string
        message:
          type: string
    app.rocksky.dropbox.defs__fileView:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the file.
        name:
          type: string
          description: The name of the file.
        pathLower:
          type: string
          description: The lowercased path of the file.
        pathDisplay:
          type: string
          description: The display path of the file.
        clientModified:
          type: string
          description: The last modified date and time of the file on the client.
          format: date-time
        serverModified:
          type: string
          description: The last modified date and time of the file on the server.
          format: date-time
        fileId:
          type: string
        directoryId:
          type: string
        trackId:
          type: string
        createdAt:
          type: string
        updatedAt:
          type: string
    app.rocksky.dropbox.defs__responseDirectoryView:
      type: object
      properties: {}
    app.rocksky.dropbox.defs__responseParentDirectoryView:
      type: object
      properties: {}
    app.rocksky.dropbox.defs__responseDirectoriesItemView:
      type: object
      properties:
        id:
          type: string
        name:
          type: string
        fileId:
          type: string
        path:
          type: string
        parentId:
          type: string
        createdAt:
          type: string
        updatedAt:
          type: string
  securitySchemes:
    Bearer:
      type: http
      scheme: bearer
      description: Rocksky bearer token.

````

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