---
title: "Retrieve ECR repository images"
method: GET
path: "/api/containers/ecr/repository"
tags: ["Elastic Container Registry (ECR)"]
---

# Retrieve ECR repository images

`GET /api/containers/ecr/repository`

Lists Amazon ECR images from repositories tagged with the current SOCA cluster ID

## Query parameters

- `repository` string

## Headers

- `X-EDH-USER` string, required
- `X-EDH-TOKEN` string, required

## Response `200`

ECR images retrieved successfully

- object
  - `success` boolean, required
  - `message` object, required

## Other responses

- `400` — Bad request - invalid parameters
- `401` — Unauthorized - invalid authentication
- `500` — Internal server error

## Changes

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

- **2026-04-21** (v1) `6db97cead8df` — 2 info
  - the endpoint scheme security `edhAuth AND edhToken` was added to the API
  - the endpoint scheme security `socaAuth AND socaToken` was removed from the API
- **2025-08-05** (v1) `55c07c16d2e1` — 2 breaking, 2 warning, 2 info
  - added the new required `header` request parameter `X-SOCA-TOKEN`
  - added the new required `header` request parameter `X-SOCA-USER`
  - deleted the `header` request parameter `X-EDH-TOKEN`
  - deleted the `header` request parameter `X-EDH-USER`
  - …2 more

[Change history](https://skmtc.dev/aws-samples/apis/engineering-development-hub-edh-api/changes/api/containers/ecr/repository/get.md)

---

[API](https://skmtc.dev/aws-samples/apis/engineering-development-hub-edh-api.md) · [All operations](https://skmtc.dev/aws-samples/apis/engineering-development-hub-edh-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/aws-samples/engineering-development-hub-edh-api/revisions/058396b8f0f1/schema)
