---
title: "Import Generation"
method: POST
path: "/history/import"
---

# Import Generation

`POST /history/import`

## Request

- Base URL: `https://api.voicelabs.now` (the document declares no server; this is the origin it was published from)
- URL: `https://api.voicelabs.now/history/import`
- Auth: none declared

Import a generation from a ZIP archive.

Auth-walled (B1): the route was fully unauthenticated and the underlying
importer reached across tenants (unscoped profile lookup + "use any
profile" fallback that leaked a victim's profile name, and an ownerless
generation row written to shared disk). It now requires an identified user
— ``get_current_user`` is a no-op returning ``None`` when SaaS is off
(desktop byte-identical) and 401s an anonymous SaaS caller — and threads
that ``user_id`` into the importer so the row is stamped and the profile
lookup is scoped to the caller.

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/voicelabs/apis/voicebox-api.md) · [All operations](https://skmtc.dev/voicelabs/apis/voicebox-api/llms.txt) · [OpenAPI document](https://skmtc.dev/voicelabs/apis/voicebox-api/revisions/a7a37d1fc02f?raw)
