---
title: "Get Jobs Batch"
method: GET
path: "/api/jobs/batch"
tags: ["jobs"]
---

# Get Jobs Batch

`GET /api/jobs/batch`

## Request

- Base URL: `https://api.flagpost.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.flagpost.ai/api/jobs/batch`
- Auth: HTTP bearer

Get multiple jobs by IDs in a single request.

Use this for efficient polling of multiple concurrent jobs.

Args:
    ids: Comma-separated job UUIDs (e.g., "id1,id2,id3")
    ctx: Advisor context

Returns:
    List of job statuses (only jobs user has access to via RLS)

Example:
    GET /api/jobs/batch?ids=abc123,def456,ghi789

## Query parameters

- `ids` string, required

## Response `200`

Successful Response

- JobResponse[]
  - `id` string, uuid, required
  - `status` 'pending' | 'processing' | 'completed' | 'failed', required: Job status enum - must match database enum job_status.
  - `job_type` 'report_generation' | 'custom_report_analysis' | 'report_section_generation' | 'zip_extraction' | 'reminder_processing' | 'document_processing' | 'rag_engine_upload' | 'file_search_index' | 'manifest_generation' | 'vdr_classification' | 'insight_extraction' | 'red_flag_extraction' | 'advisor_insight_fill' | 'research_generation' | 'summary_generation' | 'insight_answer' | 'request_matching' | 'adjustment_generation' | 'adjustment_quantification' | 'data_cleaning' | 'coa_remapping' | 'anonymization_scan' | 'anonymization_run' | 'markdown_extraction' | 'document_indexing' | 'table_extraction' | 'markdown_batch_poll' | 'inbound_email', required: Job type enum - must match database enum job_type.
  - `payload` object
  - `result` object, nullable
  - `error` string, nullable
  - `created_at` string, date-time, required
  - `started_at` string, date-time, nullable
  - `completed_at` string, date-time, nullable

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/flagpost/apis/flagpost-api.md) - [All operations](https://skmtc.dev/flagpost/apis/flagpost-api/llms.txt) - [OpenAPI document](https://skmtc.dev/flagpost/apis/flagpost-api/revisions/0308cef485ca?raw)
