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

# Get Jobs Batch

> Return status hashes for many jobs in one round trip.

Built for fan-out pollers (a Brand Intelligence refresh enqueues ~50-60
ingestion jobs; polling them one GET at a time is 50+ requests per
cycle). Unknown/expired ids map to ``null`` instead of failing the
batch, and a job whose ``result_ref`` the caller doesn't own is ALSO
reported as ``null`` — a batch never 403s wholesale, and non-owners
can't distinguish "expired" from "not yours".



## OpenAPI

````yaml /openapi.json post /api/v1/jobs/status-batch
openapi: 3.1.0
info:
  title: AITasker
  version: 0.1.0
servers: []
security: []
paths:
  /api/v1/jobs/status-batch:
    post:
      tags:
        - Jobs
      summary: Get Jobs Batch
      description: |-
        Return status hashes for many jobs in one round trip.

        Built for fan-out pollers (a Brand Intelligence refresh enqueues ~50-60
        ingestion jobs; polling them one GET at a time is 50+ requests per
        cycle). Unknown/expired ids map to ``null`` instead of failing the
        batch, and a job whose ``result_ref`` the caller doesn't own is ALSO
        reported as ``null`` — a batch never 403s wholesale, and non-owners
        can't distinguish "expired" from "not yours".
      operationId: get_jobs_batch_api_v1_jobs_status_batch_post
      requestBody:
        content:
          application/json:
            schema:
              $ref: '#/components/schemas/JobStatusBatchRequest'
        required: true
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                additionalProperties: true
                type: object
                title: Response Get Jobs Batch Api V1 Jobs Status Batch Post
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - HTTPBearer: []
components:
  schemas:
    JobStatusBatchRequest:
      properties:
        job_ids:
          items:
            type: string
          type: array
          maxItems: 200
          minItems: 1
          title: Job Ids
      type: object
      required:
        - job_ids
      title: JobStatusBatchRequest
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
  securitySchemes:
    HTTPBearer:
      type: http
      scheme: bearer

````