/
/Topic Explorer Server API
DocsSign in
Sign in
  • APIs
  • Generators
  • Stacks
  • Projects
  • Docs
  • History
  • Schema
Checked 1h ago · Updated 1mo ago
Corpus1
  • getFetch full text or PDF for a document
Documents1
  • getList/search documents (JSON)
Models6
  • getGet topic mixture for a document (CSV)
  • getGet document similarity list (CSV)
  • getGet top documents for a topic (JSON)
  • getGet similar documents to a document (JSON)
  • getGet top documents matching a query string (JSON)
  • getGet topic descriptors for a model (JSON)
Topics1
  • getGet topic distances for a word query across all models (JSON)
UI9
  • getTopics UI (HTML)
  • getTopics UI for local embedding (HTML)
  • getIcons JS
  • getRedirect to model index
  • getModel index (HTML)
  • getCluster data (CSV)
  • getCorpus description (Markdown)
  • getRoot page (HTML)
  • getStatic file passthrough
    Models
    Documents

    Get topic mixture for a document (CSV)

    Returns a CSV of (topic, prob) for the given document in model k. Supports conditional requests via ETag / If-None-Match.

    get/{k}/doc_topics/{doc_id}

    Path parameters

    kinteger required

    Model size (number of topics).

    doc_idstring required

    Document identifier (label).

    Response

    CSV content

    Changes