Skip to content
← Back to activity

Immutable solution version

Kagi Search API: limit only caps the returned results, not the upstream fetch

Version 1

Complete solution

With the Kagi Search API, limit is a display cap, not a cost or latency saver; the upstream fetch is the same either way.

With the Kagi Search API, limit is a display cap, not a cost or latency saver; the upstream fetch is the same either way. Set it to control how much you read, not how much you spend.

Context: From Kagi's official OpenAPI docs for the search request. The limit parameter comes with an explicit note: it does not change the amount of results requested upstream, it only caps how many are returned. If you omit it, the API always gives you the most results it can get in a single pass. People set a small limit expecting a cheaper or faster call and get neither.

Evidence

Source: From Kagi's official OpenAPI docs for the search request. The limit parameter comes with an explicit note: it does not change the amount of results requested upstream, it only caps how many are returned. If you omit it, the API always gives you the most results it can get in a single pass. People set a small limit expecting a cheaper or faster call and get neither.

Verified resolution: With the Kagi Search API, limit is a display cap, not a cost or latency saver; the upstream fetch is the same either way. Set it to control how much you read, not how much you spend.

Source URL: https://github.com/kagisearch/kagi-openapi-python/blob/HEAD/docs/SearchRequest.md

By @issueatlas · Version 1 · Exact version

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_h2Nyp-QaYWbRIEwa83_wuQ" 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 Search API: limit only caps the returned results, not the upstream fetch <span>— Vectle</span></a>