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

# List files

> List the project's Files, or read the library view.

**Operation ID:** `http.files.list`

```http theme={null}
GET /v1/orgs/{org}/projects/{project}/files
```


## OpenAPI

````yaml openapi.json GET /v1/orgs/{org}/projects/{project}/files
openapi: 3.1.0
info:
  title: Penumbra API
  version: v1
  description: >-
    HTTP reference for Files, search, extraction, reviews, Graph, Shapes and
    sharing.
servers:
  - url: https://api.pnbr.io
    description: Penumbra API
security: []
paths:
  /v1/orgs/{org}/projects/{project}/files:
    get:
      tags:
        - Files
      summary: List files
      description: >-
        List the project's Files, or read the library view.


        Product guidance: [File](/concepts/file), [Synced
        folder](/concepts/source).
      operationId: http.files.list
      parameters:
        - name: org
          in: path
          required: true
          schema:
            type: string
        - name: project
          in: path
          required: true
          schema:
            type: string
        - name: status
          in: query
          required: false
          description: Only Files with this status.
          schema:
            type: string
        - name: tag
          in: query
          required: false
          description: Only Files with every tag given. Repeatable.
          schema:
            anyOf:
              - type: string
              - type: array
                items:
                  type: string
        - name: media_type
          in: query
          required: false
          description: Only Files with one of these media types. Repeatable.
          schema:
            anyOf:
              - type: string
              - type: array
                items:
                  type: string
        - name: collection_id
          in: query
          required: false
          description: Only Files in this collection.
          schema:
            type: string
        - name: name_prefix
          in: query
          required: false
          description: Only Files whose name starts with this.
          schema:
            type: string
        - name: external_key
          in: query
          required: false
          description: Only the File with this external key.
          schema:
            type: string
        - name: created_after
          in: query
          required: false
          description: Only Files created after this RFC 3339 timestamp.
          schema:
            type: string
        - name: created_before
          in: query
          required: false
          description: Only Files created before this RFC 3339 timestamp.
          schema:
            type: string
        - name: include_deleted
          in: query
          required: false
          description: true to include deleted Files. Defaults to false.
          schema:
            type: string
            enum:
              - 'true'
              - 'false'
        - name: expand
          in: query
          required: false
          description: >-
            What to include with each File: current_version, collections.
            Repeatable, or a comma list.
          schema:
            anyOf:
              - type: string
              - type: array
                items:
                  type: string
        - name: limit
          in: query
          required: false
          description: Page size, 1 to 100. Defaults to 50.
          schema:
            type: string
            pattern: ^\d+$
        - name: cursor
          in: query
          required: false
          description: The cursor the previous page returned.
          schema:
            type: string
      responses:
        2XX:
          description: Success.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/http_files_list_response'
      security:
        - bearerAuth: []
components:
  schemas:
    http_files_list_response:
      type: object
      properties:
        data:
          maxItems: 100
          type: array
          items:
            type: object
            properties:
              id:
                type: string
                format: uuid
                pattern: >-
                  ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
              name:
                type: string
              title:
                anyOf:
                  - type: string
                  - type: 'null'
              tags:
                type: array
                items:
                  type: string
              status:
                type: string
                enum:
                  - processing
                  - updating
                  - ready
                  - failed
                  - deleted
                  - purged
              media_type:
                anyOf:
                  - type: string
                  - type: 'null'
              size_bytes:
                anyOf:
                  - type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  - type: 'null'
              current_version_id:
                anyOf:
                  - type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
                  - type: 'null'
              synopsis:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - not_requested
                      - queued
                      - processing
                      - ready
                      - partial
                      - failed
                      - unsupported
                  id:
                    anyOf:
                      - type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
                      - type: 'null'
                  version_id:
                    anyOf:
                      - type: string
                        format: uuid
                        pattern: >-
                          ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
                      - type: 'null'
                  text:
                    anyOf:
                      - type: string
                      - type: 'null'
                  detail_url:
                    anyOf:
                      - type: string
                      - type: 'null'
                  moments_url:
                    anyOf:
                      - type: string
                      - type: 'null'
                  operation_url:
                    anyOf:
                      - type: string
                      - type: 'null'
                  updated_at:
                    anyOf:
                      - anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                      - type: 'null'
                required:
                  - status
                  - id
                  - version_id
                  - text
                  - detail_url
                  - moments_url
                  - operation_url
                  - updated_at
                additionalProperties: false
              created_at:
                anyOf:
                  - type: string
                    format: date-time
                    pattern: >-
                      ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
                  - type: string
                    format: date-time
                    pattern: >-
                      ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
              updated_at:
                anyOf:
                  - type: string
                    format: date-time
                    pattern: >-
                      ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
                  - type: string
                    format: date-time
                    pattern: >-
                      ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
              current_version:
                type: object
                properties:
                  id:
                    type: string
                    format: uuid
                    pattern: >-
                      ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
                  number:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  media_type:
                    type: string
                  size_bytes:
                    type: integer
                    minimum: -9007199254740991
                    maximum: 9007199254740991
                  sha256:
                    type: string
                    pattern: ^[0-9a-f]{64}$
                  input_kind:
                    type: string
                    enum:
                      - upload
                      - text
                      - url
                      - version
                      - content_handle
                  source_url:
                    anyOf:
                      - type: string
                      - type: 'null'
                  lexical_status:
                    type: string
                    enum:
                      - pending
                      - ready
                      - not_applicable
                      - failed
                  semantic_status:
                    type: string
                    enum:
                      - pending
                      - ready
                      - failed
                      - not_requested
                      - not_applicable
                  created_at:
                    anyOf:
                      - type: string
                        format: date-time
                        pattern: >-
                          ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
                      - type: string
                        format: date-time
                        pattern: >-
                          ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                  ready_at:
                    anyOf:
                      - anyOf:
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
                          - type: string
                            format: date-time
                            pattern: >-
                              ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
                      - type: 'null'
                required:
                  - id
                  - number
                  - media_type
                  - size_bytes
                  - sha256
                  - input_kind
                  - source_url
                  - lexical_status
                  - semantic_status
                  - created_at
                  - ready_at
                additionalProperties: false
              collection_ids:
                type: array
                items:
                  type: string
                  format: uuid
                  pattern: >-
                    ^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12})$
            required:
              - id
              - name
              - title
              - tags
              - status
              - media_type
              - size_bytes
              - current_version_id
              - synopsis
              - created_at
              - updated_at
            additionalProperties: false
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
        has_more:
          type: boolean
        snapshot_at:
          anyOf:
            - type: string
              format: date-time
              pattern: >-
                ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z|([+-](?:[01]\d|2[0-3]):[0-5]\d)))$
            - type: string
              format: date-time
              pattern: >-
                ^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$
      required:
        - data
        - next_cursor
        - has_more
        - snapshot_at
      additionalProperties: false
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer

````

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