> ## Documentation Index
> Fetch the complete documentation index at: https://docs.tolmo.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Get the latest threat model

> Fetch the most recent threat model generated for the organization, in full.



## OpenAPI

````yaml /api-reference/openapi.json get /api/v1/orgs/{orgSlug}/threat-models/latest
openapi: 3.0.3
info:
  title: Tolmo API
  version: 1.0.0
  description: >-
    The Tolmo REST API. Use an organization API key for automation or a CLI user
    token for user-authenticated operations. Most endpoints are scoped to one
    organization.
servers:
  - url: https://api.tolmo.com
    description: Production
security: []
paths:
  /api/v1/orgs/{orgSlug}/threat-models/latest:
    get:
      tags:
        - threat-models
      summary: Get the latest threat model
      description: >-
        Fetch the most recent threat model generated for the organization, in
        full.
      operationId: getLatestThreatModel
      parameters:
        - schema:
            type: string
          in: path
          name: orgSlug
          required: true
      responses:
        '200':
          description: Default Response
          content:
            application/json:
              schema:
                type: object
                properties:
                  id:
                    type: string
                  orgId:
                    type: string
                  version:
                    type: number
                  content:
                    type: string
                  workflowRunId:
                    nullable: true
                    type: string
                  createdAt:
                    type: string
                required:
                  - id
                  - orgId
                  - version
                  - content
                  - workflowRunId
                  - createdAt
                additionalProperties: false
        '404':
          description: Default Response
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HttpError'
      security:
        - bearerAuth: []
components:
  schemas:
    HttpError:
      type: object
      properties:
        statusCode:
          type: number
        code:
          type: string
        error:
          type: string
        message:
          type: string
      title: HttpError
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      description: >-
        A Tolmo API token, sent as `Authorization: Bearer <token>`. Either a
        user token (`usr_tok.*`, minted by `tolmo auth login`, scoped to your
        own permissions) or an org API token created in the Tolmo app, for CI
        and automation.

````

This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.