Get a space’s entity/relation knowledge graph
Get a space’s entity/relation knowledge graph
Returns the whole knowledge graph extracted from the documents in a space: { entities, edges }. Each entity has id, type (one of organization | person | location | identifier | date | amount | other), name, key, and mentionCount; each edge has sourceId, targetId, relation, and the fileId it was observed in. Optional ?limit= (1-2000) caps the number of entities returned. Requires space:read on :spaceId — a caller lacking it gets a 404 (existence is hidden).
Authentication
AuthorizationBearer
Bearer authentication of the form Bearer <token>, where token is your auth token.
Path parameters
spaceId
Query parameters
limit
Maximum entities returned, 1–2000. There is no cursor.
Response
The space graph.
entities
edges