---
title: "Get a peer registry"
method: GET
path: "/admin/peers/{peerId}"
tags: ["Admin"]
---

# Get a peer registry

`GET /admin/peers/{peerId}`

## Request

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

**Experimental.** Gets the details of a single peer registry (by `peerId`).

This endpoint is only available when federation is enabled (`apicurio.federation.enabled`). Returns HTTP 409 (Conflict) otherwise.

This operation can fail for the following reasons:

* The `peerId` is invalid (HTTP error `400`)
* No peer registry with the `peerId` exists (HTTP error `404`)
* Federation is not enabled (HTTP error `409`)
* A server error occurred (HTTP error `500`)

## Response `200`

When successful, returns the details of a peer registry.

- Peer: A peer registry that this registry federates with.
  - `peerId` string, required: Unique id of the peer registry. Lowercase letters, digits, `.`, `_` and `-` only, at most 256 characters. `local` is reserved.
  - `url` string, required: Base URL of the peer registry, for example `https://registry.eu.example.com`.
  - `name` string: Display name of the peer registry.
  - `description` string: Description of the peer registry.
  - `enabled` boolean, required: Whether the peer registry is used for federation.
  - `credentialSecretRef` string: Name of the key in the registry's peer credentials directory that holds the credential for this peer. A reference only: the credential value is never stored or returned.

## Other responses

- `400`: Common response for all operations that can return a `400` error.
- `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.
- `409`: Common response used when an input conflicts with existing data.
- `500`: Common response for all operations that can fail with an unexpected server error.

## Changes

- **2026-10-31** `ff9684af2aad`: 30 info
  - added the optional property `ruleViolation/causes/items/code` to the response with the `400` status
  - added the optional property `ruleViolation/causes/items/code` to the response with the `401` status
  - added the optional property `ruleViolation/causes/items/code` to the response with the `403` status
  - added the optional property `ruleViolation/causes/items/code` to the response with the `404` status
  - …26 more
- **2026-10-29** `f17f5df4e79c`: 6 info
  - added the optional property `ruleViolation` to the response with the `400` status
  - added the optional property `ruleViolation` to the response with the `401` status
  - added the optional property `ruleViolation` to the response with the `403` status
  - added the optional property `ruleViolation` to the response with the `404` status
  - …2 more
- **2026-10-21** `627da2a138a2`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/apicurio/apis/apicurio-registry-api-v3/changes/admin/peers/:peerId/get.md)

---

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