Search Chats
Hybrid search across the caller’s chat history that merges two lanes: a case-insensitive title-substring match and a semantic (vector) match over each chat’s AI-generated summary. Title matches are returned first (a strong signal the user remembers the chat name), followed by semantic matches in relevance order, de-duplicated and capped at limit.
Authorization: User-scoped keys (u:gcai_...) search the chats that user can access. Organization-scoped keys search every chat shared with the entire organization, regardless of who or what created it. Chats that remain private to an individual user are never returned to an org-scoped key.
API-created chats appear here only once they’ve been materialized; unmaterialized chats are not in anyone’s history and won’t match.
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-500 chars). Natural language is fine.
1 - 500"force majeure carve-out"
Max chats to return (default 20, max 50)
1 <= x <= 50Response
Chats matching the query
Chats matching the query. Title-substring matches first, then semantic (vector) matches in relevance order, de-duplicated and capped at limit.