> ## 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 Batches

> List price batches with filtering + sorting + pagination.



## OpenAPI

````yaml /openapi/merchantops-public.json get /api/pricing/batches
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/pricing/batches:
    get:
      tags:
        - Pricing
        - Pricing
        - Price Batches
      summary: List Batches
      description: List price batches with filtering + sorting + pagination.
      operationId: list_batches
      parameters:
        - description: Filter by status
          in: query
          name: status
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by status
            title: Status
        - description: Filter by brand key
          in: query
          name: brand_key
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Filter by brand key
            title: Brand Key
        - in: query
          name: created_by
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Created By
        - description: Search name + description
          in: query
          name: q
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            description: Search name + description
            title: Q
        - in: query
          name: effective_date_from
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Effective Date From
        - in: query
          name: effective_date_to
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Effective Date To
        - in: query
          name: sort_by
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Sort By
        - in: query
          name: sort_dir
          required: false
          schema:
            default: desc
            title: Sort Dir
            type: string
        - in: query
          name: skip
          required: false
          schema:
            default: 0
            minimum: 0
            title: Skip
            type: integer
        - in: query
          name: limit
          required: false
          schema:
            default: 50
            maximum: 200
            minimum: 1
            title: Limit
            type: integer
        - 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:
                $ref: '#/components/schemas/PaginatedResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
components:
  schemas:
    PaginatedResponse:
      description: Standard paginated list response.
      properties:
        items:
          items:
            additionalProperties: true
            type: object
          title: Items
          type: array
        limit:
          title: Limit
          type: integer
        skip:
          title: Skip
          type: integer
        total:
          title: Total
          type: integer
      required:
        - items
        - total
        - skip
        - limit
      title: PaginatedResponse
      type: object
    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

````