Skip to navigation

Get one document's own standalone knowledge graph

View as Markdown

Returns { entities, edges } for the document-scoped graph of a single :fileId — the entities and relations extracted from that one file, in the same shape as the space graph. Requires space:read on :spaceId; additionally the file must belong to :spaceId or the response is a 404. Missing space:read also surfaces as a 404.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Path parameters

spaceIdstringRequired
fileIdstringRequired

Response

The document's own graph.
entitieslist of objects
edgeslist of objects