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

# List orders

> Retrieve orders with pagination.
- Filter by status, type, and channel
- Keyword search supported
- Sorted by most recent


Use the same endpoint with a test API key to list persistent test orders. The response includes only test orders owned by the account associated with the key; live orders are not included.


## OpenAPI

````yaml api-reference/openapi.yaml GET /api/v2/orders
openapi: 3.0.0
info:
  title: BIZ MORI API
  version: 2.0.0
  description: >
    BIZ MORI API provides four core services for digital content protection:

    - **Anti-AI**: Protect images from AI training

    - **Watermark Embed**: Embed invisible digital watermarks into images

    - **Watermark Extract**: Extract and verify watermarks from images

    - **AI Detection**: Detect whether an image is AI-generated

    - **Test API keys**: Keys with the `sk_test_` prefix use the same Bearer
    authentication and support order-lifecycle testing with mock responses
    without running processing services or consuming credits; test uploads
    discard file contents and do not create result files
  contact:
    name: BIZ MORI Support
    email: support@contentcare.ai
  license:
    name: Proprietary
    url: https://docs.contentcare.ai/legal/terms
servers:
  - url: https://api.bizmori.com
    description: Production
security: []
tags:
  - name: Anti-AI
    description: Anti-AI image protection orders
  - name: Watermark Embed
    description: Watermark embedding orders
  - name: Watermark Extract
    description: Watermark extraction orders
  - name: AI Detection
    description: AI-generated image detection orders
  - name: Orders
    description: Order query and management
  - name: Webhooks
    description: Webhook configuration and events
  - name: Reports
    description: PDF analysis reports for watermark extract and AI Detection orders
paths:
  /api/v2/orders:
    get:
      tags:
        - Orders
      summary: List orders
      description: |
        Retrieve orders with pagination.
        - Filter by status, type, and channel
        - Keyword search supported
        - Sorted by most recent
      operationId: listOrders
      parameters:
        - in: query
          name: page
          schema:
            type: integer
            default: 1
            minimum: 1
          description: Page number
        - in: query
          name: limit
          schema:
            type: integer
            default: 10
            minimum: 1
            maximum: 100
          description: Items per page (-1 for all)
        - in: query
          name: keyword
          schema:
            type: string
          description: Search keyword
        - in: query
          name: status
          schema:
            type: string
            enum:
              - pending
              - inProgress
              - complete
              - failed
              - expired
              - all
            default: all
          description: Status filter
        - in: query
          name: type
          schema:
            type: string
            enum:
              - antiAi
              - watermarkEmbed
              - watermarkExtract
              - aiDetection
              - all
          description: Order type filter
        - in: query
          name: channel
          schema:
            type: string
            enum:
              - api
              - web
              - all
            default: all
          description: Channel filter
      responses:
        '200':
          description: Success
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: object
                    properties:
                      orders:
                        type: array
                        items:
                          $ref: '#/components/schemas/Order'
                      pageInfo:
                        $ref: '#/components/schemas/PageInfo'
        '401':
          $ref: '#/components/responses/Unauthorized'
      security:
        - BearerAuth: []
      x-codeSamples:
        - lang: curl
          label: cURL
          source: >-
            curl -X GET
            "https://api.bizmori.com/api/v2/orders?page=1&limit=10&status=all" \
              -H "Authorization: Bearer YOUR_API_TOKEN"
        - lang: javascript
          label: JavaScript
          source: >-
            const params = new URLSearchParams({ page: 1, limit: 10, status:
            'all' });

            const response = await fetch(
              `https://api.bizmori.com/api/v2/orders?${params}`,
              { headers: { 'Authorization': 'Bearer YOUR_API_TOKEN' } }
            );

            const data = await response.json();
        - lang: python
          label: Python
          source: |-
            import requests

            response = requests.get(
                'https://api.bizmori.com/api/v2/orders',
                headers={'Authorization': 'Bearer YOUR_API_TOKEN'},
                params={'page': 1, 'limit': 10, 'status': 'all'}
            )
            data = response.json()
components:
  schemas:
    Order:
      type: object
      properties:
        orderId:
          type: string
          description: Order ID
        orderName:
          type: string
          description: Order name
        type:
          type: string
          enum:
            - antiAi
            - watermarkEmbed
            - watermarkExtract
            - aiDetection
          description: >-
            Order type. Orders created with the v3 watermark API are also
            returned as `watermarkEmbed` or `watermarkExtract`
        channel:
          type: string
          enum:
            - api
            - web
          description: Order channel
        status:
          type: string
          enum:
            - pending
            - inProgress
            - complete
            - failed
            - expired
          description: |
            Order status
            * pending - Waiting
            * inProgress - Processing
            * complete - Completed
            * failed - Failed
            * expired - Expired (order files unavailable after 7 days)
        fileCount:
          type: integer
          description: >-
            Number of files. For v3 watermark orders: embed orders count
            original files, extract orders count only the file to inspect
        thumbnailImageUrl:
          type: string
          format: uri
          nullable: true
          description: >
            Thumbnail image URL (presigned URL, 1-hour expiry). For aiDetection
            orders, only returned when generateThumbnail option is used. null
            when expired.

            For v3 watermark orders, a thumbnail up to 100×100 WebP (the first
            page for PDFs) is returned after processing completes. Before
            completion, after a failure, or when no thumbnail exists, a status
            image is returned.
        createdAt:
          type: string
          format: date-time
          description: Created at
        updatedAt:
          type: string
          format: date-time
          description: Last updated at
        probability:
          type: number
          nullable: true
          description: AI detection probability (aiDetection orders only)
        statusCode:
          type: string
          nullable: true
          enum:
            - detected
            - undetected
            - inconclusive
            - unsupported
            - error
            - likely_real
            - uncertain_real
            - uncertain_ai
            - likely_ai
          description: |
            Status code by order type. `null` until a result is available.

            **watermarkExtract orders:**

            * `detected` - Watermark detected
            * `undetected` - Watermark not detected
            * `inconclusive` - Undetermined (v3 orders only)
            * `unsupported` - Input cannot be processed (v3 orders only)
            * `error` - Detection failed (v3 orders only)

            **aiDetection orders** (computed from probability):

            * `likely_real` - Likely real content
            * `uncertain_real` - Uncertain, leaning real
            * `uncertain_ai` - Uncertain, leaning AI
            * `likely_ai` - Likely AI-generated content
    PageInfo:
      type: object
      properties:
        totalItems:
          type: integer
          description: Total number of items
        totalPages:
          type: integer
          description: Total number of pages
        currentPage:
          type: integer
          description: Current page number
        itemsPerPage:
          type: integer
          description: Items per page
    ErrorResponse:
      type: object
      properties:
        code:
          type: string
          description: Error code
  responses:
    Unauthorized:
      description: Authentication failed
      content:
        application/json:
          schema:
            $ref: '#/components/schemas/ErrorResponse'
          example:
            code: AUTH_NOT_AUTHENTICATED
  securitySchemes:
    BearerAuth:
      type: http
      scheme: bearer
      description: >-
        Bearer API key for external client access. Live keys use the `sk_`
        prefix; test keys use the `sk_test_` prefix and support order-lifecycle
        testing with mock responses without processing or credit usage.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.