v1
latestOpenAPI 3.0.32026-07-1718918.2 KBModels
Documents
Topics
Get similar documents to a document (JSON)
Returns a JSON array of up to n documents most similar to the focal document doc_id in model k. Each document includes id, label, metadata, plus: - prob - topics (topic mixture map) Supports conditional requests via ETag / If-None-Match.
get/{k}/docs_topics/{doc_id}.json
Path parameters
kinteger required
Model size (number of topics).
doc_idstring required
Document id; may include slashes (Bottle <path>).
Query parameters
ninteger
Max number of results to return.
Response
Array of similar documents with topic mixtures