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

# List Product Keys

> Return up to ``PRODUCT_KEYS_HARD_CAP`` product keys matching the given filters.

Same filter shape as ``GET /api/products`` so the UI can call this with
the existing query state and get back the full key list for bulk
selection. ``truncated`` is true if the underlying total exceeds the cap.



## OpenAPI

````yaml /openapi/merchantops-public.json get /api/products/keys
openapi: 3.1.0
info:
  description: >-
    Public API for the MerchantOps product catalog, pricing, and publishing
    surface.
  title: MerchantOps API
  version: 1.0.0
servers:
  - description: Production
    url: https://api.merchantops.ai
security: []
paths:
  /api/products/keys:
    get:
      tags:
        - Products
      summary: List Product Keys
      description: >-
        Return up to ``PRODUCT_KEYS_HARD_CAP`` product keys matching the given
        filters.


        Same filter shape as ``GET /api/products`` so the UI can call this with

        the existing query state and get back the full key list for bulk

        selection. ``truncated`` is true if the underlying total exceeds the
        cap.
      operationId: list_product_keys
      parameters:
        - in: query
          name: product_type
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Product Type
        - in: query
          name: status
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Status
        - in: query
          name: enrichment_status
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Enrichment Status
        - in: query
          name: brand
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Brand
        - in: query
          name: is_published
          required: false
          schema:
            anyOf:
              - type: boolean
              - type: 'null'
            title: Is Published
        - in: query
          name: source
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Source
        - in: query
          name: created_by
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Created By
        - description: >-
            Filter to products that have any record (any status) in the given
            catalog batch.
          in: query
          name: batch_key
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: >-
              Filter to products that have any record (any status) in the given
              catalog batch.
            title: Batch Key
        - description: 'Repeatable: key:value'
          in: query
          name: property_filter
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: 'Repeatable: key:value'
            title: Property Filter
        - in: header
          name: authorization
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Authorization
        - in: header
          name: X-Organization-ID
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: X-Organization-Id
        - in: cookie
          name: stytch_session
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Stytch Session
      responses:
        '200':
          content:
            application/json:
              schema:
                additionalProperties: true
                title: Response List Product Keys Api Products Keys Get
                type: object
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          title: Detail
          type: array
      title: HTTPValidationError
      type: object
    ValidationError:
      properties:
        ctx:
          title: Context
          type: object
        input:
          title: Input
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          title: Location
          type: array
        msg:
          title: Message
          type: string
        type:
          title: Error Type
          type: string
      required:
        - loc
        - msg
        - type
      title: ValidationError
      type: object

````