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).
GET
https://api.cloudraker.com/spaces/{spaceId}/ontology