---
title: "Get the history of an image"
method: GET
path: "/images/{name}/history"
tags: ["Image"]
---

# Get the history of an image

`GET /images/{name}/history`

Return parent layers of an image.

## Path parameters

- `name` string, required

## Query parameters

- `platform` string

## Response `200`

List of image layers

- object[]
  - `Id` string, required
  - `Created` integer, required
  - `CreatedBy` string, required
  - `Tags` string[], required
  - `Size` integer, required
  - `Comment` string, required

## Other responses

- `404` — No such image
- `500` — Server error

## Changes

> 4 revisions in range; 3 could not be searched.

- **2023-04-21** `04e23a3e68d7` — 1 warning
  - deleted the `query` request parameter `platform`

[Change history](https://skmtc.dev/openshift/apis/docker-engine-api/changes/images/:name/history/get.md)

---

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