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

# POST /BatchGetArtifactMetadata

`POST /BatchGetArtifactMetadata`

Retrieves metadata for one or more artifacts in an agent space.

## Request body

- object
  - `agentSpaceId` string, required — Unique identifier of the agent space.
  - `artifactIds` ArtifactId[], required — The list of artifact identifiers to retrieve metadata for.

## Response `200`

Success

- BatchGetArtifactMetadataOutput
  - `artifactMetadataList` ArtifactMetadataItem[], required — The list of artifact metadata items that were found.
    - `agentSpaceId` string, required — The unique identifier of the agent space that contains the artifact.
    - `artifactId` string, required — The unique identifier of the artifact.
    - `fileName` string, required — The file name of the artifact.
    - `updatedAt` string, date-time, required — The date and time the artifact was last updated, in UTC format.

## Other responses

- `480` — ValidationException
- `481` — InternalServerException
- `482` — ResourceNotFoundException
- `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/revisions/cad56717d636/schema)
