An article's neighborhood subgraph

Nodes and the links among them. complete: false means the route's time budget cut the answer short; such an answer is cached for a minute only.

get/graph/{slug}

Request

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

Path parameters

slugstring required

The article address, such as koala.

Query parameters

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.