Threat Model

Get threat model version

Get one threat model version from the organization history by ID.

get/api/threat-model/versions/{versionId}

Request

  • Base URL
    https://app.cotool.ai
  • Auth
    HTTP bearer

Path parameters

versionIdstring uuid required

Unique identifier for a threat model version in the organization history

Response

Successful response

idstring uuid required

Unique identifier for this threat model version

versioninteger required

Monotonic version number

isCurrentboolean required

Whether this version is currently active for the organization

authorType'ai' | 'user' required

Whether this version was created by AI or a human

authorIdstring uuid nullable required

User ID for human edits, or null for AI-authored versions

modelAliasstring nullable required

Model alias that produced this version, or null for human edits

changeDescriptionstring nullable required

Short description of why this version was created

createdAtstring required

Timestamp when this version was created

contentstring required

Full markdown content for this threat model version

Changes

No recorded changes to this operation across all 2 revisions of this API.