---
title: "Hs Upload Declare"
method: POST
path: "/api/asclepius/hs/uploads/sessions"
tags: ["asclepius-provider"]
---

# Hs Upload Declare

`POST /api/asclepius/hs/uploads/sessions`

## 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/hs/uploads/sessions`
- Auth: none declared

Declare a bundle and receive its chunk plan.

Idempotent on the declared bytes: re-declaring the same ``{sha256, size}``
returns the EXISTING session, so a refresh at 3.2 GB resumes instead of
restarting. The session id IS the idempotency key.

## Request body

- HsUploadDeclareRequest: What the client declares up front — an EXPLICIT list, so a field the client invents is dropped by the model rather than reaching anything.
  - `filename` string, required
  - `size` integer, required
  - `sha256` string, required
  - `content_type` string, nullable
  - `request_id` string

## 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)
