---
title: "Explore Graph"
method: GET
path: "/api/knowledge-graph/graph/explore/{entity_id}"
tags: ["knowledge-graph", "knowledge-graph"]
---

# Explore Graph

`GET /api/knowledge-graph/graph/explore/{entity_id}`

## Request

- Base URL: `https://api.dialogbrain.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.dialogbrain.com/api/knowledge-graph/graph/explore/{entity_id}`
- Auth: none declared

Explore graph around an entity.

## Path parameters

- `entity_id` integer, required

## Query parameters

- `depth` integer: Exploration depth (1-3 hops)
- `limit` integer: Max nodes to return

## Response `200`

Successful Response

- GraphExploreResponse: Response for graph exploration.
  - `center` EntityResponse, required: Entity response model.
    - `id` integer, required
    - `entity_type` string, required
    - `canonical_name` string, required
    - `display_name` string, required
    - `aliases` string[]
    - `channel_refs` string[]
    - `first_seen_at` string, date-time, nullable
    - `last_seen_at` string, date-time, nullable
    - `mention_count` integer
    - `metadata` object, nullable
    - `notes` string, nullable
    - `tags` TagResponse[]
      - `id` integer, required
      - `name` string, required
      - `color` string
      - `description` string, nullable
  - `nodes` EntityResponse[], required
    - `id` integer, required
    - `entity_type` string, required
    - `canonical_name` string, required
    - `display_name` string, required
    - `aliases` string[]
    - `channel_refs` string[]
    - `first_seen_at` string, date-time, nullable
    - `last_seen_at` string, date-time, nullable
    - `mention_count` integer
    - `metadata` object, nullable
    - `notes` string, nullable
    - `tags` TagResponse[]
      - `id` integer, required
      - `name` string, required
      - `color` string
      - `description` string, nullable
  - `edges` RelationshipResponse[], required
    - `id` integer, required
    - `source_entity_id` integer, required
    - `source_entity_name` string, nullable
    - `target_entity_id` integer, required
    - `target_entity_name` string, nullable
    - `relation_type` string, required
    - `strength` number
    - `count` integer
    - `first_at` string, date-time, nullable
    - `last_at` string, date-time, nullable
    - `properties` object, nullable
  - `depth` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway.md) · [All operations](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/llms.txt) · [OpenAPI document](https://skmtc.dev/dialogbrain/apis/dialogbrain-v2-api-gateway/revisions/d84e7dc9977d?raw)
