---
title: "AI text summarization via local LLM"
method: POST
path: "/api/summarize"
tags: ["AI"]
---

# AI text summarization via local LLM

`POST /api/summarize`

## Request body

- object
  - `text` string, required
  - `maxLength` integer

## Response `200`

Summary

## Other responses

- `402` — Payment Required

---

[API](https://skmtc.dev/btcnode/apis/btc-node-api-agent-bitcoin-data-sec-scrape-ai-reddit.md) · [All operations](https://skmtc.dev/btcnode/apis/btc-node-api-agent-bitcoin-data-sec-scrape-ai-reddit/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/btcnode/btc-node-api-agent-bitcoin-data-sec-scrape-ai-reddit/revisions/91d79a457ac5/schema)
