Materialize an API Chat
Surface an API-created chat into chat history and return a shareable deep link.
Chats created through POST /chat/completions stay out of chat history (both the GC AI web app and chat search) until you materialize them. Use the chat_id from a completed completion response. The endpoint is idempotent. Calling it again on an already-materialized chat returns the same link without side effects.
Authorization: User-scoped keys can only materialize chats they created. Organization-scoped keys can only materialize chats created by other organization-scoped keys.
See Chat Visibility for how this works.
Authorizations
API key for authentication. Format: gcai_xxxxxxxxx
Create API keys in the GC AI app under Settings → API.
Path Parameters
The chat ID