---
title: "Fetch the sealed export — ONCE (the read burns it)"
method: GET
path: "/platform/deployments/{id}/onion/export/{commandId}"
tags: ["Platform"]
---

# Fetch the sealed export — ONCE (the read burns it)

`GET /platform/deployments/{id}/onion/export/{commandId}`

## Request

- Base URL: `https://api.imprezahost.com/v1`
- URL: `https://api.imprezahost.com/v1/platform/deployments/{id}/onion/export/{commandId}`
- Auth: API key in header `X-API-Key` and API key in header `X-API-Secret`

Returns the sealed blob of a completed export command. READ-ONCE:
the first successful read removes the ciphertext; a second read
is 404. 409 while the agent has not completed the export yet.

## Path parameters

- `id` string, required
- `commandId` string, required

## Response `200`

The sealed blob (shown exactly once).

## Other responses

- `401`: Invalid or missing API credentials
- `404`: Resource not found
- `409`: Export command has not completed yet.

---

[API](https://skmtc.dev/imprezahost/apis/impreza-host-public-api.md) · [All operations](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/imprezahost/apis/impreza-host-public-api/revisions/db86511f604f?raw)
