files.find_related
Retrieve files sharing tags with a given file, ranked by shared tag count. Use optional content-type filters and limit to find related notes, journals, or projects.
Instructions
Find other files sharing tags with the given file, ranked by shared_tag_count descending. Read-only; no side effects, auth, or rate limits. Returns annotated file rows with shared_tag_count and shared_tags. Empty result means the file has no tags or no other file shares them — try files.search/files.regex_search for content-based discovery, or tags.suggest to bootstrap labels first. kind narrows to one content class. Default limit 10.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| kind | No | Filter related results to a single content class. | |
| limit | No | Maximum number of related files to return (default 10) | |
| file_id | Yes | ID of the file to find relations for |