Find other files in the space that share entities with this one

View as Markdown
Returns `{ files }` — documents in the same space connected to `:fileId` through shared entities, ranked by `score` (more or rarer shared entities score higher). Each item has `fileId`, `score`, and `shared` (the overlapping entities as `{ entityId, name, type }`). Use it for 'documents related to this one'. Requires `space:read` on `:spaceId`; missing access surfaces as a 404.

Authentication

AuthorizationBearer

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

Path parameters

spaceIdstringRequired
fileIdstringRequired

Response

Related files ranked by shared-entity overlap.

fileslist of objects