Skip to main content
GET
/
chat
/
search
Search chats
curl --request GET \
  --url https://app.gc.ai/api/external/v1/chat/search \
  --header 'Authorization: <api-key>'
{
  "chats": [
    {
      "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
      "title": "<string>",
      "summary": "<string>",
      "updated_at": "<string>"
    }
  ]
}

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

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.