Chats
Create a public share link
Make a chat publicly accessible via a share URL. Security note: anyone with the URL can read the chat, even without authenticating. Treat this as a deliberate publishing action. Omit expiry fields to use the default 7-day lifetime (or keep the current expiry when re-sharing a live link). Pass expires_at: null for a link that never expires.
post/chats/{id}/share
Request
- Base URLhttps://app.gc.ai/api/external/v1
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
idstring uuid required
The chat ID
Request body
Response
Share link created
Changes
No recorded changes to this operation across all 1 revision of this API.