v1
latestOpenAPI 3.0.32026-07-1718918.2 KBModels
Topics
Documents
Get top documents for a topic (JSON)
Returns a JSON array of documents associated with a topic in model k. Each returned document includes id, label, metadata, plus: - prob: similarity/probability value (as emitted by server) - topics: map of topic-id to probability for that document Supports n query parameter to limit the number of documents. Supports conditional requests via ETag / If-None-Match.
get/{k}/topics/{topic_no}.json
Path parameters
kinteger required
Model size (number of topics).
topic_nointeger required
Topic number.
Query parameters
ninteger
Max number of results to return.
Response
Array of documents with topic mixtures