Search a chat's workspace files by name and contents
The chat’s current workspace files whose name or words match q, name matches first, then the best content matches; each content match carries up to two passages around the words it matched. q reads like a web search (“quoted phrases”, or, -word) and its last word matches as a prefix. Answers come from a search index: a new file matches by name at once and by its words about a minute after it is written. Searches what GET /files lists, less StefanBrain’s scratch (frames, temporary folders, logs); a typed output (an image set, video cuts, a report) answers once, as the file in it that matched best.
Authorizations
Authorization: Bearer stefan_sk_... (API key — bills the API wallet) or stefan_oat_... (OAuth member token — bills your plan pool).
Query Parameters
The chat whose files to search (a chat UUID or chat_... id).
What to find: words of a file's name or contents.
1 - 200
