---
title: "Resolve the peer for a platform connection"
method: GET
path: "/v1/peers/by-connection/{connection_id}"
tags: ["Memory"]
---

# Resolve the peer for a platform connection

`GET /v1/peers/by-connection/{connection_id}`

## Request

- Base URL: `https://api.1claw.co`
- URL: `https://api.1claw.co/v1/peers/by-connection/{connection_id}`
- Auth: HTTP bearer

## Path parameters

- `connection_id` string, uuid, required

## Response `200`

Peer

- object
  - `peer` Peer
    - `id` string, uuid, required
    - `peer_type` 'user' | 'platform_connection' | 'external', required
    - `peer_ref` string, required
    - `display_name` string, nullable
    - `profile` object, required
    - `status` 'active' | 'archived', required: Archived when a connection is disconnected. Agents lose observation; the person keeps export and delete.
    - `observer_count` integer, required: How many agents observe this peer. The list itself is not returned here.
    - `created_at` string, date-time, required

## Other responses

- `403`: Insufficient permissions
- `404`: Resource not found

---

[API](https://skmtc.dev/1claw/apis/1claw-api.md) · [All operations](https://skmtc.dev/1claw/apis/1claw-api/llms.txt) · [OpenAPI document](https://skmtc.dev/1claw/apis/1claw-api/revisions/5fa0918f3b41?raw)
