---
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` object[]
    - `filename` string
    - `gid` integer
    - `linkdest` string, nullable
    - `mode` string
    - `sha256` string, nullable
    - `size` integer
    - `type` string
    - `uid` integer

## Other responses

- `500` — Internal error

## Changes

- **2020-11-04** `ce07c565cfc8` — 2 info
  - api tag `Image Content` removed
  - api tag `Queries` removed
- **2020-03-17** `001d1fd95836` — 2 info
  - api tag `Image Content` added
  - api tag `Queries` added

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

---

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