Search Knowledge
Reference
Search Knowledge
Semantic search across every section of every owned Disk.
POST
Search Knowledge
Returns the top-K matching sections ranked by vector similarity over Gemini embeddings. Current production search is scoped to owned Disks only.
Search responses follow the same redaction policy as Disk reads. Owner-private hits include
For an owner-private Disk, the same hit shape uses
section_text; redacted hits include snippet.
Request
Natural language query. Trimmed to the first 1000 characters before embedding.
Maximum number of section hits returned. Capped at 25.
Example
Response
Each hit references a single section inside one of your Disks.
section_text:
Errors
| Status | Code | Meaning |
|---|---|---|
400 | — | Missing query field |
401 | unauthorized | Bad / missing API key |
429 | rate_limit_exceeded | >100 req/min |
500 | search_failed / internal_error | Embedding or RPC failed |