---
title: "Get artifact version"
method: GET
path: "/groups/{groupId}/artifacts/{artifactId}/versions/{version}"
tags: ["Versions"]
---

# Get artifact version

`GET /groups/{groupId}/artifacts/{artifactId}/versions/{version}`

## Request

- The document declares no server URL.
- Auth: none declared

Retrieves a single version of the artifact content.  Both the `artifactId` and the
unique `version` number must be provided.  The `Content-Type` of the response depends 
on the artifact type.  In most cases, this is `application/json`, but for some types 
it may be different (for example, `PROTOBUF`).

This operation can fail for the following reasons:

* No artifact with this `artifactId` exists (HTTP error `404`)
* No version with this `version` exists (HTTP error `404`)
* A server error occurred (HTTP error `500`)

## Query parameters

- `dereference` boolean

## Response `200`

The content of one version of one artifact.

- string, binary

## Other responses

- `401`: Common response for all operations that can return a `401` error indicating authentication is required.
- `403`: Common response for all operations that can return a `403` error indicating the user is authenticated but not authorized.
- `404`: Common response for all operations that can return a `404` error.
- `500`: Common response for all operations that can fail with an unexpected server error.

## Changes

> 65 revisions in range; 1 not diffed.

- **2024-05-06** (v2) `ca60b618abf4`: 1 warning, 1 info
  - deleted the `query` request parameter `references`
  - added the new optional `query` request parameter `dereference`
- **2023-06-30** (v2) `5f72151f8a80`: 1 warning, 1 info
  - deleted the `query` request parameter `dereference`
  - added the new optional `query` request parameter `references`
- **2022-03-22** (v2) `c7368363b270`: 1 info
  - added the new optional `query` request parameter `dereference`
- **2021-05-05** (v2) `d3f0f99883aa`: 4 breaking, 1 info
  - removed the media type `application/graphql` for the response with the status `200`
  - removed the media type `application/json` for the response with the status `200`
  - removed the media type `application/x-protobuf` for the response with the status `200`
  - removed the media type `application/x-protobuffer` for the response with the status `200`
  - …1 more

[Operation history](https://skmtc.dev/apicurio/apis/apicurio-registry-api-v2/changes/groups/:groupId/artifacts/:artifactId/versions/:version/get.md)

---

[API](https://skmtc.dev/apicurio/apis/apicurio-registry-api-v2.md) - [All operations](https://skmtc.dev/apicurio/apis/apicurio-registry-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/apicurio/apis/apicurio-registry-api-v2/revisions/8c48f413fa1f?raw)
