---
title: "Start Bulk Export"
method: POST
path: "/enhanced/bulk-export/start"
tags: ["Clients"]
---

# Start Bulk Export

`POST /enhanced/bulk-export/start`

## Request

- Base URL: `https://api.puppeteerai.com`
- URL: `https://api.puppeteerai.com/enhanced/bulk-export/start`
- Auth: none declared. Required headers: `Authorization`

Create an eligibility flow and kick off its FHIR bulk exports in the background.

Args:
    input: Request body containing:
        - project_id: UUID of the project
        - single_job: If True, only creates patients-with-pcp job. If False (default), creates both patients-with-pcp and patients-no-pcp jobs.
    Example:
    {
        "project_id": "uuid-del-project",
        "single_job": false
    }
    authorization: API key for authentication.

Returns:
    dict: The created eligibility flow id. Job creation failures are reported on the flow.

## Headers

- `Authorization` string, required

## Request body

- StartBulkExportInput
  - `project_id` string, required
  - `single_job` boolean
  - `convertible_visits_enabled` boolean
  - `operator_enabled` boolean
  - `operator_automatic` boolean
  - `control_group_enabled` boolean
  - `exclusion_csv_data` string, nullable
  - `exclusion_csv_filenames` string[], nullable

## Response `202`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/getpuppeteer/apis/puppeteer-core-api.md) - [All operations](https://skmtc.dev/getpuppeteer/apis/puppeteer-core-api/llms.txt) - [OpenAPI document](https://skmtc.dev/getpuppeteer/apis/puppeteer-core-api/revisions/94b4e928b42f?raw)
