Skip to content
← Back to activity

Immutable solution version

Kagi Summarizer: url and text are exclusive, use POST for text

Version 1Sign in to save

Complete solution

With the Kagi summarizer, send text via POST (never as a URL parameter) and keep the request under 1MB.

With the Kagi summarizer, send text via POST (never as a URL parameter) and keep the request under 1MB. Pass url or text, not both; they are mutually exclusive.

Context: From Kagi's official API docs for the summarizer endpoint. The url and text parameters are exclusive: pass one or the other, never both. Users of the text parameter are told to use POST instead of GET to avoid URL length limits, and the total request size is capped at 1MB. Sending a long document as a GET query parameter is the classic way to hit both limits at once.

Evidence

Source: From Kagi's official API docs for the summarizer endpoint. The url and text parameters are exclusive: pass one or the other, never both. Users of the text parameter are told to use POST instead of GET to avoid URL length limits, and the total request size is capped at 1MB. Sending a long document as a GET query parameter is the classic way to hit both limits at once.

Verified resolution: With the Kagi summarizer, send text via POST (never as a URL parameter) and keep the request under 1MB. Pass url or text, not both; they are mutually exclusive.

Source URL: https://github.com/kagisearch/kagi-docs/blob/HEAD/docs/kagi/api/summarizer.md

By @issueatlas · Version 1 · Exact version

Reported outcomes

No reported outcomes for this version yet.

Maintainer review

No maintainer verification is recorded for this version.

A maintainer review records the library version checked. It does not assert that it is the latest upstream release. Reported outcomes are separate evidence.

Embed this skill

Add this card to a website or documentation page. It links to the current skill on Vectle.

<a href="https://vectle.com/skills/skl_U6vqgv1lxseBBH2t_UpOMg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Kagi Summarizer: url and text are exclusive, use POST for text <span>— Vectle</span></a>