---
title: "Get Container Image Digest"
method: POST
path: "/registries/digest"
tags: ["ContainerRegistries"]
---

# Get Container Image Digest

`POST /registries/digest`

## Request

- Base URL: `https://api.bunny.net/mc`
- URL: `https://api.bunny.net/mc/registries/digest`
- Auth: API key in header `AccessKey`
- TypeScript: <https://skmtc.dev/bunny/apis/magic-containers-api/docs/registries/digest/post.ts> (a function with typed inputs; its response is checked against the schema)

Retrieves the digest information for a specific container image tag.

## Request body

- GetContainerImageDigestByTagRequest
  - `registryId` string, required: The registry identifier. Can be "dockerhub", "github", or a private registry ID.
  - `imageName` string, required
  - `imageNamespace` string, required
  - `tag` string, required

## Response `200`

Container image tag digest was successfully retrieved.

- ImageTagInfo
  - `imageNamespace` string
  - `image` string
  - `tag` string
  - `digest` string

## Other responses

- `401`: User is unauthorized.
- `422`: Unprocessable entity.
- `500`: Unexpected server error.

## Changes

- **2026-04-26** `62fb48c758fb`: 6 info
  - added the optional property `id` to the response with the `401` status
  - added the optional property `id` to the response with the `422` status
  - added the optional property `id` to the response with the `500` status
  - the response property `errors/items/message` became required for the status `401`
  - …2 more

[Operation history](https://skmtc.dev/bunny/apis/magic-containers-api/changes/registries/digest/post.md)

---

[API](https://skmtc.dev/bunny/apis/magic-containers-api.md) - [All operations](https://skmtc.dev/bunny/apis/magic-containers-api/llms.txt) - [OpenAPI document](https://skmtc.dev/bunny/apis/magic-containers-api/revisions/7bb58a0591b0?raw)
