---
title: "Get Graphiti-backed topology for agent Scenes"
method: GET
path: "/api/agent/topology"
tags: ["Agent"]
---

# Get Graphiti-backed topology for agent Scenes

`GET /api/agent/topology`

## Request

- Base URL: `/api/plugins/consensys-asko11y-app/resources` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/plugins/consensys-asko11y-app/resources/api/agent/topology`
- Auth: one of:
  - API key in cookie `grafana_session`
  - HTTP bearer

## Query parameters

- `query` string
- `maxNodes` integer
- `maxEdges` integer

## Headers

- `X-Grafana-Org-Id` string

## Response `200`

Topology graph

- AgentTopology
  - `enabled` boolean, required
  - `source` string, required
  - `nodes` TopologyNode[], required
    - `id` string, required
    - `label` string, required
    - `type` string, required
  - `edges` TopologyEdge[], required
    - `id` string, required
    - `source` string, required
    - `target` string, required
    - `label` string
  - `rawFactCount` integer
  - `warnings` string[]

## Changes

- **2026-05-29** `642c928dd8e4`: 1 info
  - endpoint added
- **2026-02-18** `5e7e9a233e2d`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/changes/api/agent/topology/get.md)

---

[API](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api.md) - [All operations](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/llms.txt) - [OpenAPI document](https://skmtc.dev/consensys/apis/ask-o11y-ai-powered-observability-assistant-api/revisions/ee3ccd0f186d?raw)
