---
title: "POST /ListThreatModels"
method: POST
path: "/ListThreatModels"
---

# POST /ListThreatModels

`POST /ListThreatModels`

Returns a paginated list of threat model summaries for the specified agent space.

## Request body

- object
  - `maxResults` integer — Maximum results for pagination.
  - `nextToken` string — Pagination token.
  - `agentSpaceId` string, required — The unique identifier of the agent space to list threat models for.

## Response `200`

Success

- ListThreatModelsOutput — Output for the ListThreatModels operation.
  - `threatModelSummaries` ThreatModelSummary[] — The list of threat model summaries.
    - `threatModelId` string, required — The unique identifier of the threat model.
    - `agentSpaceId` string, required — The unique identifier of the agent space that contains the threat model.
    - `title` string, required — The title of the threat model.
    - `createdAt` string, date-time — The date and time the threat model was created, in UTC format.
    - `updatedAt` string, date-time — The date and time the threat model was last updated, in UTC format.
  - `nextToken` string — A token to use for paginating results that are returned in the response.

---

[API](https://skmtc.net/aws/apis/securityagent.md) · [All operations](https://skmtc.net/aws/apis/securityagent/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/aws/securityagent/versions/cad56717d636/schema)
