Skip to main content
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 section_text; redacted hits include snippet.

Request

string
required
Natural language query. Trimmed to the first 1000 characters before embedding.
integer
default:"10"
Maximum number of section hits returned. Capped at 25.

Example

Response

array
Each hit references a single section inside one of your Disks.
For an owner-private Disk, the same hit shape uses section_text:

Errors