Skip to main content
GET
Search chats

Authorizations

Authorization
string
header
required

API key for authentication. Format: gcai_xxxxxxxxx

Create API keys in the GC AI app under Settings → API.

Query Parameters

q
string
required

Search query (required, 1-500 chars). Natural language is fine.

Required string length: 1 - 500
Example:

"force majeure carve-out"

limit
integer
default:20

Max chats to return (default 20, max 50)

Required range: 1 <= x <= 50

Response

Chats matching the query

chats
object[]
required

Chats matching the query. Title-substring matches first, then semantic (vector) matches in relevance order, de-duplicated and capped at limit.