Documentation Index
Fetch the complete documentation index at: https://kagi.micr.dev/llms.txt
Use this file to discover all available pages before exploring further.
API and Product Coverage
This document summarizes what the kagi CLI implements today, which auth path it uses, and which product settings are now manageable from the terminal.
Currently Implemented
Documented Kagi APIs
These are official, documented API endpoints:
| Endpoint | Command | Status |
|---|
| Search API | kagi search | ✅ Implemented for base search |
| Universal Summarizer | kagi summarize | ✅ Implemented |
| FastGPT | kagi fastgpt | ✅ Implemented |
| Web Enrichment (Teclis) | kagi enrich web | ✅ Implemented |
| News Enrichment (TinyGem) | kagi enrich news | ✅ Implemented |
Subscriber Web Product Features
These features use the subscriber web product with KAGI_SESSION_TOKEN:
| Feature | Command | Status |
|---|
| Base search | kagi search | ✅ Implemented |
| Snap-prefixed search | kagi search --snap | ✅ Implemented |
| Lens search | kagi search --lens | ✅ Implemented |
| Filtered search | kagi search --region/--time/... | ✅ Implemented |
| Quick Answer | kagi quick | ✅ Implemented |
| Web Summarizer | kagi summarize --subscriber | ✅ Implemented |
| Assistant prompt + thread management | kagi assistant | ✅ Implemented |
| Custom assistant management | kagi assistant custom | ✅ Implemented |
| Ask questions about a page | kagi ask-page | ✅ Implemented |
| Translate (text mode) | kagi translate | ✅ Implemented |
| Lens settings | kagi lens | ✅ Implemented |
| Custom bang settings | kagi bang custom | ✅ Implemented |
| Redirect rule settings | kagi redirect | ✅ Implemented |
Public Product Endpoints
These require no authentication:
| Endpoint | Command | Status |
|---|
| Kagi News | kagi news | ✅ Implemented |
| Small Web feed | kagi smallweb | ✅ Implemented |
| News categories | kagi news --list-categories | ✅ Implemented |
| Chaos index | kagi news --chaos | ✅ Implemented |
Command Coverage Summary
| Command | Description | Auth | Status |
|---|
search | Base Kagi search | API or Session | ✅ |
search --snap | Snap-prefixed search | API or Session | ✅ |
search --lens | Lens-aware search | Session | ✅ |
search with filters | Region, time, date, order, verbatim, personalization filters | Session | ✅ |
batch | Parallel search with shared search options | API or Session | ✅ |
auth | Credential management | None | ✅ |
summarize | Public API summarizer | API | ✅ |
summarize --subscriber | Web summarizer | Session | ✅ |
news | News feed and metadata | None | ✅ |
quick | Quick Answer | Session | ✅ |
assistant | AI assistant prompt + thread management | Session | ✅ |
assistant custom | Saved assistant CRUD | Session | ✅ |
ask-page | Page-focused Assistant question | Session | ✅ |
translate | Kagi Translate text mode | Session | ✅ |
fastgpt | Fast answers | API | ✅ |
enrich web | Web enrichment | API | ✅ |
enrich news | News enrichment | API | ✅ |
smallweb | Small Web feed | None | ✅ |
lens | Lens CRUD + enable/disable | Session | ✅ |
bang custom | Custom bang CRUD | Session | ✅ |
redirect | Redirect CRUD + enable/disable | Session | ✅ |
Output and Flag Coverage
| Command | Formats |
|---|
search | json, compact, pretty, markdown, csv |
batch | json, compact, pretty, markdown, csv |
quick | json, compact, pretty, markdown |
assistant | json, compact, pretty, markdown |
Search Options
| Option | Commands | Status |
|---|
--snap | search, batch | ✅ |
--lens | search, batch, quick | ✅ |
--region | search, batch | ✅ |
--time | search, batch | ✅ |
--from-date | search, batch | ✅ |
--to-date | search, batch | ✅ |
--order | search, batch | ✅ |
--verbatim | search, batch | ✅ |
--personalized / --no-personalized | search, batch, assistant | ✅ |
Assistant and Settings Options
| Option | Commands | Status |
|---|
--assistant | assistant | ✅ |
--thread-id | assistant | ✅ |
--model | assistant, assistant custom | ✅ |
--lens | assistant, assistant custom | ✅ |
--web-access / --no-web-access | assistant, assistant custom | ✅ |
thread list/get/delete/export | assistant | ✅ |
custom list/get/create/update/delete | assistant | ✅ |
list/get/create/update/delete | lens | ✅ |
enable / disable | lens, redirect | ✅ |
custom list/get/create/update/delete | bang | ✅ |
Live Verification
Live subscriber CRUD and round-trip tests were run against the real product flows for:
- custom assistants
- lenses
- custom bangs
- redirect rules
- assistant thread round-trip
After those tests, the account-level settings pages were checked directly to confirm cleanup and no leftover test data.
Not Available
Intentionally Excluded
- File-upload Assistant workflows are not exposed.
- Kagi Translate document, image, website, proofread, dictionary, and voice modes are not exposed.
- Search-time safe-search overrides are not exposed. Safe-search remains an account setting.
Notes
- Base-search fallback to the session-token path only exists on
kagi search and kagi batch, and only when API-first mode was selected.
- Search filters and lens search remain session-only because they depend on Kagi’s live web-product flow.
- Settings management currently targets Kagi’s authenticated settings forms, not public API endpoints.