---
title: "External Threat Model to OTM"
method: POST
path: "/api/v1/startleft/external-threat-model"
tags: ["Threat Model"]
---

# External Threat Model to OTM

`POST /api/v1/startleft/external-threat-model`

It generates an OTM from another threat models formats

## Response `201`

Provided source file has been successfully processed and a new OTM file has been created

- unknown

## Other responses

- `400` — Bad request
- `500` — Internal server error

## Changes

- **2023-03-21** (v1) `e26f51f73f6a` — 3 info
  - added the non-success response with the status `500`
  - removed the non-success response with the status `401`
  - removed the non-success response with the status `403`
- **2023-03-09** (v1) `edb3ad9fb88a` — 1 breaking, 1 warning, 2 info
  - request property `source_type` was restricted to a list of enum values
  - removed `#/components/schemas/EtmType` from the `source_type` request property `allOf` list
  - added the new `MTMT` enum value to the request property `source_type`
  - the `source_type` request property type/format was generalized from ``/`` to `string`/``
- **2023-02-28** (v1) `a59c1a86a96d` — 2 breaking, 4 info
  - added `#/components/schemas/EtmType` to the `source_type` request property `allOf` list
  - removed the enum value `MTMT` of the request property `source_type`
  - the `source_type` request property type/format was generalized from `string`/`` to ``/``
  - added the non-success response with the status `401`
  - …2 more

[Change history](https://skmtc.dev/iriusrisk/apis/startleft-api/changes/api/v1/startleft/external-threat-model/post.md)

---

[API](https://skmtc.dev/iriusrisk/apis/startleft-api.md) · [All operations](https://skmtc.dev/iriusrisk/apis/startleft-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/iriusrisk/startleft-api/revisions/ce8f48659eca/schema)
