Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 5 additions & 1 deletion docs/pages/product/apis-integrations/embed-apis/chat-api.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,13 @@ The Chat API enables real-time streaming conversations with Cube's AI agents. Th
## Authentication

<WarningBox>
Accounts are limited to 10,000 external users. To increase this limit, please contact support.
Accounts are limited to 10,000 non-ephemeral external users. To increase this limit, please contact support.
</WarningBox>

<InfoBox>
All users created using this API are ephemeral by default and will be removed after `sessionSettings.ephemeralTtlSeconds` (1 week by default). If users need to be persisted, pass `isEphemeral: false` in `sessionSettings`. Ephemeral users are guaranteed to not live longer than `sessionSettings.ephemeralTtlSeconds`.
</InfoBox>

Pass your [API key][ref-api-keys] directly to the Chat API endpoint. The session will be created automatically based on the `externalId` provided:

```javascript
Expand Down