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

# POST /ListArtifacts

`POST /ListArtifacts`

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

## Request body

- object
  - `agentSpaceId` string, required — Unique identifier of the agent space.
  - `nextToken` string — Pagination token.
  - `maxResults` integer — Maximum results for pagination.

## Response `200`

Success

- ListArtifactsOutput
  - `artifactSummaries` ArtifactSummary[], required — The list of artifact summaries.
    - `artifactId` string, required — The unique identifier of the artifact.
    - `fileName` string, required — The file name of the artifact.
    - `artifactType` 'TXT' | 'PNG' | 'JPEG' | 'MD' | 'PDF' | 'DOCX' | 'DOC' | 'JSON' | 'YAML', required — The file type of the artifact.
  - `nextToken` string — A token to use for paginating results that are returned in the response. Set the value of this parameter to null for the first request. For subsequent calls, use the nextToken value returned from the previous request.

## Other responses

- `480` — InternalServerException
- `481` — ResourceNotFoundException
- `482` — ValidationException
- `483` — ThrottlingException
- `484` — AccessDeniedException

---

[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)
