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.
Requires a user-scoped key (u:gcai_...): chats are user-owned resources and the search is scoped to the chats that user can access. Org-scoped keys are rejected with 400.
Documentation Index
Fetch the complete documentation index at: https://docs.gc.ai/llms.txt
Use this file to discover all available pages before exploring further.
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.