Summarize
Generate a concise summary of any web page. The page is scraped, cleaned, and passed to an LLM which produces a summary of the specified length.
POST
/v1/summarizeGenerate an LLM-powered summary of a web page.
Request body
| Field | Type | Required | Description |
|---|---|---|---|
url | string | Yes | URL of the page to summarize. |
max_sentences | number | No | Maximum number of sentences in the summary. Default: 3. |
Response
Note
Like the extract endpoint, summarize uses the LLM provider chain: Ollama (local) first, then OpenAI, then Anthropic. At least one must be configured.