POST
/api/v1/search/askAsk AI about your items
Answers a question from the items you can open, with Claude Haiku 5.5: AI turns the question into search terms, search finds up to 40 matching items, and AI picks the relevant ones and writes a short answer that cites them as [n]. Only text you can open is sent, never an encrypted item. Streams server-sent events: status (the stage), results (the matching items), delta (answer text as it's written), then done with answer, citations and ranked; or limit when an AI limit stops it, or error. Counts towards your AI limits.
Guide: Ask AI
Code samples and Try itRequest body
#application/json, required
questionstringRequired1–500 characters.
scopestringUp to 40 characters.
currentstringUp to 40 characters.
Responses
#200OK.401No token, or the token is revoked or mistyped.422The request didn't validate.detaillists each problem, with where it is (loc) and why (msg).429Too many requests from your IP address. Wait the seconds inRetry-After.