---
title: "Prepare Upload Promotion"
method: POST
path: "/api/asclepius/ingestion/uploads/{upload_id}/prepare"
tags: ["asclepius"]
---

# Prepare Upload Promotion

`POST /api/asclepius/ingestion/uploads/{upload_id}/prepare`

## Request

- Base URL: `https://app.archangelhealth.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://app.archangelhealth.ai/api/asclepius/ingestion/uploads/{upload_id}/prepare`
- Auth: none declared

Step 1 of the upload-scoped promote: run the conversion + automated tests
on ONE sample case from this partner file and return it for review (labs,
notes, EHR records, candidates, test scores) WITHOUT committing anything. The
admin reviews, then calls /promote-all to extend case creation to the rest.

## Path parameters

- `upload_id` string, required

## Headers

- `authorization` string, nullable

## Request body

- UploadPromoteRequest: Upload-scoped promotion (prepare a sample, then promote the rest). The clinical question is OPTIONAL — when blank a sensible per-specialty default is used, so the admin can promote a whole partner file in one click.
  - `question` string, nullable
  - `max_labels` integer
  - `grounding_mode` string, nullable
  - `independent_mode` string, nullable
  - `open_to_all_specialties` boolean

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/archangelhealth/apis/archangel-health-surgical-patient-platform.md) - [All operations](https://skmtc.dev/archangelhealth/apis/archangel-health-surgical-patient-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/archangelhealth/apis/archangel-health-surgical-patient-platform/revisions/3514f4e119da?raw)
