kagi enrich
Query Kagi’s enrichment indexes (Teclis for web, TinyGem for news) for enhanced search capabilities.
Synopsis
Description
Thekagi enrich command provides access to Kagi’s specialized enrichment APIs:
- Teclis - Web enrichment index
- TinyGem - News enrichment index
Authentication
Required:KAGI_API_TOKEN
Enrichment APIs require API access and consume API credit.
Subcommands
enrich web
Query the Teclis web enrichment index.
Example:
enrich news
Query the TinyGem news enrichment index.
Example:
Options
<QUERY> (Required)
The search query for the enrichment index.
Example:
Output Format
Web Enrichment Output
News Enrichment Output
Examples
Web Enrichment
News Enrichment
Research Workflow
Comparison with Standard Search
| Feature | kagi search | kagi enrich web |
|---|---|---|
| Token | API or Session | API only |
| Index | General search | Teclis enrichment |
| Focus | Broad results | Enhanced metadata |
| Cost | Varies | API credit |
Exit Codes
| Code | Meaning |
|---|---|
| 0 | Success |
| 1 | Error |
- Missing API token
- Insufficient credit
- Rate limiting
See Also
- search - General search
- news - Kagi News feed
- Authentication - API token setup