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

# List batches



## OpenAPI

````yaml /api-reference/openapi.yaml get /batches
openapi: 3.1.0
info:
  title: appstatic API
  version: '1.0'
  description: >-
    Generate audited Meta static ads for your app and push them to your ad
    account.
servers:
  - url: https://www.appstatic.io/api/v1
security:
  - bearerAuth: []
paths:
  /batches:
    get:
      summary: List batches
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  batches:
                    type: array
                    items:
                      $ref: '#/components/schemas/Batch'
components:
  schemas:
    Batch:
      type: object
      properties:
        id:
          type: string
          format: uuid
        market:
          type: string
          example: US
        status:
          type: string
          enum:
            - pending
            - generating
            - auditing
            - fixing
            - packaging
            - delivered
            - failed
        targetCount:
          type: integer
        createdAt:
          type: string
          format: date-time
        deliveredAt:
          type: string
          format: date-time
          nullable: true
        metaCampaignId:
          type: string
          nullable: true
        url:
          type: string
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: API key from Settings → API & agents (as_live_…)

````