Skip to Content
Docs

List one page of a source's graph nodes with type facets

GET
/api/sources/{source_id}/graph/nodes

Paged, searchable list of a graphrag source's nodes, highest degree first, plus type facets over all its nodes (read access: owner or shared). Query params: q (name substring), type (type key), page (1-based), per_page (1-100, default 25). Args: source_id: The source id from the URL.

Returns: Response: {success, nodes, total, page, per_page, types}, or 401/404/400 on missing auth, no read access or a failure. page is clamped to 1..GRAPH_NODE_LIST_MAX_PAGE and per_page to 1..GRAPH_NODE_LIST_MAX_LIMIT. A graph store that is not configured or has no tables yet reads as an empty page, like the overview; any other store query failure is a 400, never an empty 200.

Personal access token scope: sources:read.

Authorization

bearer
headerAuthorizationBearer <token>

A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).

Path Parameters

source_id*string

Response Body

Success

Example Request
curl -X GET 'http://localhost:7091/api/sources/string/graph/nodes'
Example Response200
Empty