---
title: "Get the content of an image by type files"
method: GET
path: "/images/{imageDigest}/content/files"
tags: ["Images"]
---

# Get the content of an image by type files

`GET /images/{imageDigest}/content/files`

## Path parameters

- `imageDigest` string, required

## Headers

- `x-anchore-account` string

## Response `200`

Content of specified type from the image

- ContentFilesResponse — File content listings from images
  - `imageDigest` string
  - `content_type` string
  - `content` ContentFilesResponseContentInner[]
    - `filename` string
    - `gid` integer
    - `linkdest` string, nullable
    - `mode` string
    - `sha256` string, nullable
    - `size` integer
    - `type` string
    - `uid` integer

## Other responses

- `500` — Internal error

## Changes

- **2026-07-17** `38e5705e0b21` — 1 breaking
  - the `content/items/` response's property type/format changed from ``/`` to `object`/`` for status `200`
- **2019-10-02** `75f483ab10a0` — 1 breaking
  - the `content/items/` response's property type/format changed from `object`/`` to ``/`` for status `200`

[Change history](https://skmtc.dev/banzaicloud/apis/anchore-engine-api-server/changes/images/:imageDigest/content/files/get.md)

---

[API](https://skmtc.dev/banzaicloud/apis/anchore-engine-api-server.md) · [All operations](https://skmtc.dev/banzaicloud/apis/anchore-engine-api-server/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/banzaicloud/anchore-engine-api-server/revisions/38e5705e0b21/schema)
