---
title: "Refill the entropy pool from an uploaded bits file"
method: POST
path: "/admin/ingest"
tags: ["admin"]
---

# Refill the entropy pool from an uploaded bits file

`POST /admin/ingest`

## Request

- Base URL: `https://api.qeaas.eu`
- URL: `https://api.qeaas.eu/admin/ingest`
- Auth: API key in header `X-Admin-Token`

AC-7, Q5: multipart `.txt` upload (`0`/`1` only), <= 10 MB, refills the pool.

## Response `200`

Successful Response

- AdminIngestResponse
  - `ingested` boolean, required
  - `bytes_added` integer, required
  - `pool_bytes_remaining` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/qeaas/apis/quantum-entropy-as-a-service.md) · [All operations](https://skmtc.dev/qeaas/apis/quantum-entropy-as-a-service/llms.txt) · [OpenAPI document](https://skmtc.dev/qeaas/apis/quantum-entropy-as-a-service/revisions/f0670c8db625?raw)
