Skip to content

Download the model as Open Threat Model

GET
/api/models/{id}/export/otm
curl --request GET \
--url https://forge.example.com/api/models/2489E9AD-2EE2-8E00-8EC9-32D5F69181C0/export/otm \
--header 'Authorization: Bearer <token>'

The same revision as an Open Threat Model document, version 0.2.0, in JSON: zones as trust zones, elements, their components and boundary devices as components, flows as dataflows, threats on the components and dataflows they target with the controls that treat them as mitigations. project.attributes names the revision and classification, and what OTM has no place for.

id
required
string format: uuid

The export, a JSON file, as an attachment to keep or send.

Media typeapplication/json
string

Example generated

example

A refusal or an error, as a problem document. A model or draft you may not see answers 404, as one that does not exist.

Media typeapplication/problem+json
object
type
string
title
string
status
integer
detail
string
instance
string

Example generated

{
"type": "example",
"title": "example",
"status": 1,
"detail": "example",
"instance": "example"
}