An article's neighborhood subgraph (by id)

Nodes and the links among them.

get/graph

Request

  • Base URL: https://www.edgechat.ai/api/v1
  • URL: https://www.edgechat.ai/api/v1/graph
  • Auth: none declared

Query parameters

idstring required

The article's id (ep…), an older id, its address, or its title.

depth1 | 2
limitinteger
format'json' | 'mermaid'

json (default) or mermaid.

fieldsstring

Comma-separated keys: each result (or the answer, when it has no results) keeps only these.

Response

OK

idstring
slugstring
titlestring
depthinteger
limitinteger
neighborsinteger
completeboolean

false when the route's time budget (about a second) cut the answer short: fewer results or edges, or importance by in-degree alone. Such an answer is cached for a minute only.

Changes

No recorded changes to this operation across all 1 revision of this API.