---
title: "POST /v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:checkPrewarmedArtifact"
method: POST
path: "/v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:checkPrewarmedArtifact"
tags: ["projects"]
---

# POST /v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:checkPrewarmedArtifact

`POST /v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:checkPrewarmedArtifact`

## Request

- Base URL: `https://artifactregistry.googleapis.com`
- URL: `https://artifactregistry.googleapis.com/v1/projects/{projectsId}/locations/{locationsId}/repositories/{repositoriesId}:checkPrewarmedArtifact`
- Auth: one of:
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform`
  - OAuth 2 and OAuth 2
    - Implicit: `https://accounts.google.com/o/oauth2/auth`
    - Scopes: `https://www.googleapis.com/auth/cloud-platform.read-only`
    - Authorization code: `https://accounts.google.com/o/oauth2/auth`
    - Token URL: `https://accounts.google.com/o/oauth2/token` scopes: `https://www.googleapis.com/auth/cloud-platform.read-only`

Checks an artifact streaming.

## Path parameters

- `projectsId` string, required
- `locationsId` string, required
- `repositoriesId` string, required

## Query parameters

- `$.xgafv` '1' | '2'
- `access_token` string
- `alt` 'json' | 'media' | 'proto'
- `callback` string
- `fields` string
- `key` string
- `oauth_token` string
- `prettyPrint` boolean
- `quotaUser` string
- `uploadType` string
- `upload_protocol` string

## Request body

- CheckPrewarmedArtifactRequest: The request for checking an artifact for streaming.
  - `streamLocation` string: Optional. The location of the prewarmed artifact. multi-region is not supported for this field.
  - `tag` string: Optional. The artifact tag Format:projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/tags/{tag}
  - `version` string: Optional. The artifact version Format: projects/{project}/locations/{location}/repositories/{repository}/packages/{package}/versions/{version}

## Response `200`

Successful response

- CheckPrewarmedArtifactResponse: The response for checking an artifact for streaming.
  - `prewarmedArtifact` PrewarmedArtifact: PrewarmedArtifact represents a streamed artifact.
    - `createTime` string, google-datetime: Output only. The time the artifact was first prewarmed.
    - `errorMessage` string: Output only. The error message if the state is `FAILED`.
    - `expirationTime` string, google-datetime: The expiration time of the prewarmed artifact.
    - `location` string: The location of the prewarmed artifact.
    - `sizeBytes` string, int64: Output only. The compressed size of the prewarmed artifact in bytes. This is the size counted against the prewarm storage quota.
    - `state` 'STATE_UNSPECIFIED' | 'CACHING' | 'ACTIVE' | 'FAILED': Output only. The caching state of the prewarmed artifact.
    - `uri` string: URL to access the image. Example: us-west4-docker.pkg.dev/test-project/test-repo/nginx@sha256:e9954c1fc875017be1c3e36eca16be2d9e9bccc4bf072163515467d6a823c7cf

## Changes

- **2026-11-07** `83834d32294c`: 4 info
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform` was added to the endpoint's security scheme `Oauth2c`
  - the security scope `https://www.googleapis.com/auth/cloud-platform.read-only` was removed from the endpoint's security scheme `Oauth2`
  - the security scope `https://www.googleapis.com/auth/cloud-platform.read-only` was removed from the endpoint's security scheme `Oauth2c`

[Operation history](https://skmtc.dev/google/apis/artifactregistry/changes/v1/projects/:projectsId/locations/:locationsId/repositories/:repositoriesId:checkPrewarmedArtifact/post.md)

---

[API](https://skmtc.dev/google/apis/artifactregistry.md) - [All operations](https://skmtc.dev/google/apis/artifactregistry/llms.txt) - [OpenAPI document](https://skmtc.dev/google/apis/artifactregistry/revisions/83834d32294c?raw)
