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

# List Files

> List all files present in the organization's library



## OpenAPI

````yaml Get /v1/files/
openapi: 3.1.0
info:
  title: ManageXR API
  description: API documentation for ManageXR
  version: 1.0.0
servers:
  - url: https://managexrapi.com
    description: ManageXR API Server
security:
  - basicAuth: []
paths:
  /v1/files/:
    get:
      summary: List files in organization
      description: List all files present in the organization's library
      parameters:
        - name: organizationId
          in: query
          required: false
          schema:
            type: string
          description: >
            Unique identifier of the organization. This parameter is only
            necessary when using multi-organization API keys. 


            Defaults to the organizationId associated with the API key.
      responses:
        '200':
          description: An array of all files in the organization
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      oneOf:
                        - $ref: '#/components/schemas/V1ManagedFile'
components:
  schemas:
    V1ManagedFile:
      type: object
      properties:
        id:
          type: string
          description: Unique identifier of the file
          example: DLO133U5NFLMAL1
        url:
          type: string
          format: uri
          description: >-
            Direct URL to download the file. If hosted on ManageXR, the link
            will begin with `gs://`. If self-hosted, it will be the url you
            supplied when creating the file.
          example: >-
            gs://mighty-platform-prod/organizations/GMrDmBCRcUm4bf61nqH2/files/e75058f2-ee65-4a79-802e-b97af54b6b26
        name:
          type: string
          description: Name of the file, including extension
          example: main_assets_all.bundle
        size:
          type: number
          description: Size of the file in bytes
          example: 1204975930
        md5:
          type: string
          description: MD5 hash of the file for integrity verification
          example: 7ah69cMtXyaz5OfsCRtOjQ==
        description:
          type: string
          description: Optional description of the file's contents or purpose
          example: Content bundle for training app
        libraryDirectoryPath:
          type: string
          description: >-
            Path to the file in the Library > Files section of ManageXR. A
            libraryDirectoryPath of "/" indicates that it is at the root of the
            Files library.
          example: /
      example:
        id: DLO133U5NFLMAL1
        url: >-
          https://storage.googleapis.com/managexr-files/org_456/files/file_123abc.mp4
        name: main_assets_all.bundle
        size: 1204975930
        md5: 7ah69cMtXyaz5OfsCRtOjQ==
        description: Content bundle for training app
        libraryDirectoryPath: /
  securitySchemes:
    basicAuth:
      type: http
      scheme: basic
      description: >
        API key based authentication where <encoded-value> is the Base64
        encoding of `API_KEY_ID`:`API_KEY_SECRET`

        - **Username**: The API Key ID.

        - **Password**: The API Key Secret.

````