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

# POST /ListThreatModelJobTasks

`POST /ListThreatModelJobTasks`

Returns a paginated list of task summaries for the specified threat model job.

## Request body

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

## Response `200`

Success

- ListThreatModelJobTasksOutput — Output for the ListThreatModelJobTasks operation.
  - `threatModelJobTaskSummaries` ThreatModelJobTaskSummary[] — The list of threat model job task summaries.
    - `taskId` string, required — The unique identifier of the task.
    - `threatModelId` string — The unique identifier of the threat model associated with the task.
    - `threatModelJobId` string — The unique identifier of the threat model job that contains the task.
    - `agentSpaceId` string — The unique identifier of the agent space.
    - `title` string — The title of the task.
    - `executionStatus` 'IN_PROGRESS' | 'ABORTED' | 'COMPLETED' | 'INTERNAL_ERROR' | 'FAILED' — The current execution status of the task.
    - `createdAt` string, date-time — The date and time the task was created, in UTC format.
    - `updatedAt` string, date-time — The date and time the task 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)
