---
title: "Graph of the caller's agents + trust edges"
method: GET
path: "/agents/topology"
tags: ["Agents"]
---

# Graph of the caller's agents + trust edges

`GET /agents/topology`

## Request

- Base URL: `https://api.mnemom.ai/v1`
- URL: `https://api.mnemom.ai/v1/agents/topology`
- Auth: one of:
  - HTTP bearer
  - API key in header `X-Mnemom-Api-Key`
  - API key in cookie `mnemom_session`

Returns a `{nodes, edges}` graph of every agent linked to the authenticated user, suitable for dashboard topology rendering. Available to every authenticated caller — the former `trust_topology` plan gate was retired in MNE-2567, because this returns the caller's own data and output completeness never varies by pricing tier. Falls back to `{nodes: [], edges: []}` if the backing RPC fails.

## Response `200`

Topology graph.

- object
  - `nodes` object[], required
  - `edges` object[], required

## Other responses

- `400`: Bad request
- `401`: Authentication required
- `402`: Paid feature gate — the caller's plan doesn't include this operation's feature flag. Emitted by `requireFeature` / `requireEntitlement` in `src/org/rbac.ts`.
- `403`: Forbidden
- `429`: Rate-limit exceeded. The global per-IP limiter (100 requests/minute, applied to every `/v1/*` route) rejected this request. Back off until the window resets — `Retry-After` carries the cooldown in seconds and `X-RateLimit-Reset` the absolute reset time.
- `500`: Server error — request was well-formed but the server failed to fulfill it. Typically a downstream dependency (DB / RPC / external API) returned an unexpected error.

---

[API](https://skmtc.dev/mnemom/apis/mnemom-api.md) · [All operations](https://skmtc.dev/mnemom/apis/mnemom-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mnemom/apis/mnemom-api/revisions/274b7a6ea182?raw)
