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

# List all files

> Retrieve a list of all files associated with a store. Supports filtering by product and variant IDs, along with pagination via the `limit` parameter.



## OpenAPI

````yaml /api-reference/blink-api.json get /files
openapi: 3.0.0
info:
  title: Blink API
  description: Comprehensive API documentation for Blink.
  version: 1.0.0
servers:
  - url: https://api.blink.store/v1
security:
  - storeIdHeader: []
tags:
  - name: Invoices
    description: Unified merchant of record invoices for products and subscriptions.
  - name: Geo Pricing
    description: Resolve Purchasing Power Parity (PPP) localized pricing.
paths:
  /files:
    get:
      tags:
        - Deliverables
      summary: List all files
      description: >-
        Retrieve a list of all files associated with a store. Supports filtering
        by product and variant IDs, along with pagination via the `limit`
        parameter.
      parameters:
        - name: limit
          in: query
          schema:
            type: integer
          description: Maximum number of files to retrieve, default is 50, maximum is 100.
        - name: product_id
          in: query
          schema:
            type: string
          description: Filter files by the associated product ID.
        - name: variant_id
          in: query
          schema:
            type: string
          description: Filter files by the associated variant ID.
      responses:
        '200':
          description: List of files retrieved successfully.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/FilesList'
      security:
        - storeIdHeader: []
components:
  schemas:
    FilesList:
      type: object
      properties:
        meta:
          type: object
          properties:
            total:
              type: integer
        data:
          type: array
          items:
            type: object
            properties:
              id:
                type: string
              product_id:
                type: string
              variant_id:
                type: string
              type:
                type: string
              title:
                type: string
              description:
                type: string
              url:
                type: string
              button_label:
                type: string
              created_at:
                type: string
                format: date-time
  securitySchemes:
    storeIdHeader:
      type: apiKey
      in: header
      name: x-store-id

````