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

# List Files

> List files for the active org with optional filters.

Lists non-archived files for the active org, newest first. Note the path — it's `/files/list`, not `/files`.

### Auth

Requires a CRM read [scope](/authentication#scopes) and an active organization on the token. Any of `contacts:read`, `deals:read`, `companies:read`, or `activities:read` qualifies, as does any `*:manage` scope — manage implies read.

### Response

| Field    | Type                  | Description                                                                     |
| -------- | --------------------- | ------------------------------------------------------------------------------- |
| `files`  | array of file objects | Same shape as `file` in [Initiate an Upload](/api-reference/files/upload-init). |
| `offset` | `integer`             | Echoes the request's `offset`.                                                  |
| `limit`  | `integer`             | Echoes the request's `limit`.                                                   |

There is no total-count field — there's no `X-Total-Count` header either — keep incrementing `offset` until a page comes back shorter than `limit`.


## OpenAPI

````yaml GET /files/list
openapi: 3.1.0
info:
  title: anycrm-api
  version: 0.0.1
servers: []
security: []
tags:
  - name: Customer Intelligence
    description: >-
      Company research and ICP-fit scoring — create a research run, track its
      progress, and read back scored companies as leads.
  - name: Outreach
    description: >-
      The cold-email management console — domains, mailboxes, and campaigns — as
      a thin control plane over the SalesForge stack.
  - name: AnyCard
    description: >-
      Authenticated CRUD for AnyCard, the org's digital business-card /
      lead-capture product.
  - name: AnyCard Events
    description: >-
      Event-attribution analytics for AnyCard — which captured leads converted,
      broken down by source, owner, and deal.
  - name: AnyCard Share Links
    description: >-
      Unauthenticated endpoints reached by anyone who scans a QR code or opens a
      shared AnyCard link.
  - name: AI
    description: >-
      A streaming (SSE) AI chat endpoint with account-commit actions it can take
      on the caller's behalf.
  - name: Analytics Assistant
    description: >-
      The natural-language analytics assistant — a guarded text-to-SQL loop
      (SSE) that answers ad-hoc questions over the org's CRM data as a
      least-privilege, read-only database role.
  - name: Account Readiness
    description: >-
      Account Readiness Profiles — AI-scored signals on whether an account is
      ready for outreach or expansion, computed via a Temporal workflow.
  - name: Integrations
    description: >-
      Pipedream Connect — issuing connect tokens and managing the org's
      connected third-party accounts.
  - name: Feedback
    description: >-
      User-submitted platform feedback (bug reports, feature requests) — global,
      not scoped to one organization.
  - name: Public Media
    description: >-
      Unauthenticated image reads for publicly-embeddable assets (card photos,
      inline email images) — allowlisted by key shape; everything else in the
      storage bucket stays private.
  - name: Service Health
    description: Service liveness.
paths:
  /files/list:
    get:
      tags:
        - Files
      summary: List Files
      description: List files for the active org with optional filters.
      operationId: list_files_files_list_get
      parameters:
        - name: folder_id
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Filter by folder. Pass 'root' to get files at the Files root
              (folder_id IS NULL). Omit to list all files across folders.
            title: Folder Id
          description: >-
            Filter by folder. Pass 'root' to get files at the Files root
            (folder_id IS NULL). Omit to list all files across folders.
        - name: recursive
          in: query
          required: false
          schema:
            type: boolean
            description: >-
              When true with folder_id, includes files in every descendant
              folder of the given folder.
            default: false
            title: Recursive
          description: >-
            When true with folder_id, includes files in every descendant folder
            of the given folder.
        - name: tags
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Comma-separated tag list; only files containing every listed tag
              are returned.
            title: Tags
          description: >-
            Comma-separated tag list; only files containing every listed tag are
            returned.
        - name: search
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Case-insensitive substring match against the file's display name;
              * and ? are stripped.
            title: Search
          description: >-
            Case-insensitive substring match against the file's display name; *
            and ? are stripped.
        - name: source
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by how the file was created, e.g. upload or ai_generated.
            title: Source
          description: Filter by how the file was created, e.g. upload or ai_generated.
        - name: uploaded_by
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by the uploader's user id.
            title: Uploaded By
          description: Filter by the uploader's user id.
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 1
            description: Maximum number of files to return per page.
            default: 50
            title: Limit
          description: Maximum number of files to return per page.
        - name: offset
          in: query
          required: false
          schema:
            type: integer
            minimum: 0
            description: Number of files to skip, for pagination.
            default: 0
            title: Offset
          description: Number of files to skip, for pagination.
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                type: object
                additionalProperties: true
                title: Response List Files Files List Get
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    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:
    HTTPBearer:
      type: http
      scheme: bearer

````