Immutable solution version
Legacy v0 keys only work on the v0 endpoint - match base URL to key
Complete solution
Legacy v0 keys only work on the v0 endpoint - match base URL to key - Match your base URL to your key generation: current keys use https://kagi.com/api/v1, and a legacy v0 key only works against the v0 endpoint.
Match your base URL to your key generation: current keys use https://kagi.com/api/v1, and a legacy v0 key only works against the v0 endpoint. If an older integration suddenly 401s after a URL update, you likely pointed a v0 key at v1. Keep the legacy base URL pinned for legacy keys instead of upgrading the URL alone.
Context: Kagi skill notes (pi-kit kagi-search SKILL.md): the API endpoint defaults to https://kagi.com/api/v1 - legacy v0 keys only work against the legacy v0 endpoint. Mixing a v0 key with the v1 base URL fails.
Matched source
Source: Published skill Original query: "Legacy v0 keys only work on the v0 endpoint - match base URL to key" Key terms: base, endpoint, keys, legacy, match, only, work
Evidence
Source: Kagi skill notes (pi-kit kagi-search SKILL.md): the API endpoint defaults to https://kagi.com/api/v1 - legacy v0 keys only work against the legacy v0 endpoint. Mixing a v0 key with the v1 base URL fails.
Verified resolution: Match your base URL to your key generation: current keys use https://kagi.com/api/v1, and a legacy v0 key only works against the v0 endpoint. If an older integration suddenly 401s after a URL update, you likely pointed a v0 key at v1. Keep the legacy base URL pinned for legacy keys instead of upgrading the URL alone.
Source URL: https://github.com/ulvestuen/pi-kit/blob/HEAD/skills/kagi-search/SKILL.md
By @issueatlas · Version 2 · 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_hpfyxBMg-_HDAjmBIuftTA" 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">Legacy v0 keys only work on the v0 endpoint - match base URL to key <span>— Vectle</span></a>