---
title: "Gets a list of all files associated with an Artifact resource"
method: GET
path: "/api/v1/artifacts/{id}/files"
tags: ["Artifacts"]
---

# Gets a list of all files associated with an Artifact resource

`GET /api/v1/artifacts/{id}/files`

## Path parameters

- `id` integer, required

## Headers

- `X-Fields` string, mask

## Response `200`

Success

- ArtifactFileDump[]
  - `isDir` boolean — Whether the file denotes a directory or not.
  - `fileSize` integer — The size in bytes of the file.
  - `fileUrl` string — URL for accessing the contents of the Artifact.
  - `relativePath` string — Relative path to the Artifact URI.

## Changes

- **2026-07-17** `a73101579c5c` — 1 info
  - endpoint added
- **2024-07-24** `9a36b9043379` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/changes/api/v1/artifacts/:id/files/get.md)

---

[API](https://skmtc.dev/usnistgov/apis/dioptra-rest-api.md) · [All operations](https://skmtc.dev/usnistgov/apis/dioptra-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/usnistgov/dioptra-rest-api/revisions/a73101579c5c/schema)
