---
title: "Get current peer info for a cluster lock"
method: GET
path: "/lock/{lockHash}/peer-info"
tags: ["Cluster Lock"]
---

# Get current peer info for a cluster lock

`GET /lock/{lockHash}/peer-info`

Returns current-state peer rows from Mongo peer_info keyed by lock_hash (identity fields by default). Does not require the lock to exist in clusterlocks; returns an empty array when no peer_info rows match. Client-only stubs with null lock_hash are included when their cluster_hash matches the lock hash prefix. Pass client-details=true to include BN/VC/EL/Charon versions. Optional filters: node-index, operator-address. Note: until the data-pipelines peer_key/stub merge fix is deployed, the same Charon peer name may appear twice (a thin client stub with null node_index and a full identity row).

## Path parameters

- `lockHash` string, required

## Query parameters

- `client-details` string
- `node-index` string
- `operator-address` string

## Response `200`

Array of peers for the lock

- object[]
  - `peer` string, nullable
  - `peer_nickname` string, nullable
  - `node_index` integer, nullable
  - `operator_address` string, nullable
  - `peer_info_last_updated_at` string, date, nullable
  - `last_checked_at` string, date-time, nullable
  - `client_details` object, nullable — Present only when client-details=true
    - `beacon_client` string, nullable
    - `beacon_client_last_updated_at` string, date-time, nullable
    - `validator_client` string, nullable
    - `validator_client_last_updated_at` string, date-time, nullable
    - `execution_client` string, nullable
    - `execution_client_last_updated_at` string, date-time, nullable
    - `charon_version` string, nullable
    - `charon_version_last_updated_at` string, date-time, nullable

## Other responses

- `400` — Invalid client-details, node-index, or operator-address
- `404` — Filter matched no peer (node-index and/or operator-address)
- `500` — An unknown error occurred

---

[API](https://skmtc.net/obol/apis/obol-api.md) · [All operations](https://skmtc.net/obol/apis/obol-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/obol/obol-api/revisions/707a88e0b355/schema)
