import_threat_model_archive
Import a JSON audit archive into a workspace, assigning a fresh model ID each time and avoiding title collisions with auto-suffix.
Instructions
Import a JSON audit archive (from export_threat_model_archive)
into the target workspace.
A fresh model_id is assigned every time, so the same envelope can be
imported any number of times without collisions. Title collisions in
the target workspace auto-suffix (imported YYYY-MM-DD). The caller
must have write access to the target workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| envelope | Yes | The full archive dict returned by `export_threat_model_archive`. | |
| workspace_id | Yes | Target workspace to import into. | |
| server_version | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||