Search Files
Hybrid (vector + keyword) search across accessible files. Results are ranked by relevance and capped at 100.
User-scoped keys search all files the user can read. Org-scoped keys search all non-access-controlled files in the organization.
Pass scope (user-scoped keys only) to constrain the search to one of the three top-level meta-collections shown in the GC AI UI:
my-files: files in the user’s personal “My Files” treeshared-with-me: files explicitly shared with the user (and files inside shared folders)organization: files in the organization’s “Organization Files” tree
Authorizations
API key for authentication. Format: gcai_xxxxxxxxx
Create API keys in the GC AI app under Settings → API.
Query Parameters
Search query (required)
1"force majeure"
Optional scope filter. When omitted, searches all files the user can read.
my-files, shared-with-me, organization "my-files"
Response
Files matching the query, ranked by relevance
Files matching the query, ranked by hybrid (vector + keyword) relevance. At most 100 results.