Outline Wiki icon

Outline Wiki

Interact with the Outline Wiki API — documents, collections, comments, attachments, users, shares

Document → Answer Question

AI-generated

Summary

Answer a natural-language question using AI against your Outline Wiki knowledge base, optionally scoped to a specific document or collection.

Inputs

  • Document ID — UUID of a specific document to search within (optional).
  • Question (required) — A natural-language question to ask the AI using your knowledge base.
  • Filters — Optional filters including Collection ID to limit the search scope to a specific collection.

Output shape

a JSON object containing the AI-generated answer to the provided question, optionally scoped by Document ID or Collection ID.

The response is returned directly from the Outline API's /documents.answerQuestion endpoint. Document ID and Collection ID filters are optional and refine the context for the AI answer.

Examples

Example 1: Ask a question about company policy using the AI-powered knowledge base.

Set the Question parameter with the natural language query. Optionally provide a Document ID or Collection ID to limit the context scope.

Links

Discussion