---
title: "Fetch images"
method: GET
path: "/docker/{environmentId}/images"
tags: ["docker"]
---

# Fetch images

`GET /docker/{environmentId}/images`

**Access policy**:

## Path parameters

- `environmentId` integer, required

## Query parameters

- `withUsage` boolean

## Response `200`

Success

- ImagesImageResponse[]
  - `created` integer
  - `id` string
  - `nodeName` string
  - `size` integer
  - `tags` string[]
  - `used` boolean — Used is true if the image is used by at least one container supplied only when withUsage is true

## Other responses

- `400` — Bad request
- `500` — Internal server error

---

[API](https://skmtc.net/portainer/apis/portainerce-api.md) · [All operations](https://skmtc.net/portainer/apis/portainerce-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/portainer/portainerce-api/versions/c0b0975cd11b/schema)
