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

# Extract Batch

> Start an async conformal-extraction job for multiple issues, selected
either by explicit `issue_ids` or a basic IssueFilters-shaped `filter`.



## OpenAPI

````yaml /openapi.json post /v1/ai/extract/batch
openapi: 3.1.0
info:
  description: Causeloop Platform Backend
  title: Causeloop API
  version: 1.0.0
servers: []
security: []
paths:
  /v1/ai/extract/batch:
    post:
      tags:
        - ai
      summary: Extract Batch
      description: |-
        Start an async conformal-extraction job for multiple issues, selected
        either by explicit `issue_ids` or a basic IssueFilters-shaped `filter`.
      operationId: extract_batch_v1_ai_extract_batch_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/ExtractBatchBody'
        required: true
      responses:
        '202':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/ExtractBatchResponse'
          description: Successful Response
        '422':
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
          description: Validation Error
      security:
        - HTTPBearer: []
components:
  schemas:
    ExtractBatchBody:
      description: |-
        Either an explicit issue_ids list OR a basic IssueFilters-shaped filter
        (status/source/pattern_id/risk_min/risk_max/date_from/date_to); exactly
        one of the two must be supplied.
      properties:
        filter:
          anyOf:
            - additionalProperties: true
              type: object
            - type: 'null'
          title: Filter
        issue_ids:
          anyOf:
            - items:
                type: string
              maxItems: 200
              minItems: 1
              type: array
            - type: 'null'
          title: Issue Ids
      title: ExtractBatchBody
      type: object
    ExtractBatchResponse:
      properties:
        count:
          title: Count
          type: integer
        job_id:
          title: Job Id
          type: string
        status:
          default: queued
          title: Status
          type: string
      required:
        - job_id
        - count
      title: ExtractBatchResponse
      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
  securitySchemes:
    HTTPBearer:
      scheme: bearer
      type: http

````