---
title: "Upload the rescued artifact bytes (R2 `raw/*` only — never indexed)"
method: POST
path: "/v1/escalations/{id}/raw/{filename}"
tags: ["vault"]
---

# Upload the rescued artifact bytes (R2 \`raw/\*\` only — never indexed)

`POST /v1/escalations/{id}/raw/{filename}`

## Request

- Base URL: `https://api.hyperresearch.ai`
- URL: `https://api.hyperresearch.ai/v1/escalations/{id}/raw/{filename}`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `hr_session`

The customer drains the queue with their own browser and uploads the saved page/PDF. Bytes land under the workspace raw/ prefix and are never embedded; pass the returned raw_r2_key to /resolve with the extracted text.

## Path parameters

- `id` string, required
- `filename` string, required

## Response `201`

Stored

- object
  - `raw_r2_key` string, required
  - `bytes` number, required

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Insufficient scope or plan
- `404`: Not found
- `429`: Rate limited or over quota
- `500`: Internal error

---

[API](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api.md) · [All operations](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/revisions/726ef831ebf4?raw)
