Step-by-step guide to getting started with the Camel API, including iframe generation, data sources, knowledge base entries, and reference queries.
Important: All API requests must include your API key in the Authorization header:
uid
(user identifier) is a crucial concept:
uid
share conversation historyNote: Theknowledge_base_entries
andreference_queries
parameters in this API call allow you to provide temporary knowledge base entries and reference queries that will only exist for the duration of the iframe session. They are not saved to your persistent knowledge base or reference query list. If you want to add permanent entries, use the web console or the dedicated API endpoints.
uid
: Unique identifier for the user (required)srcs
: Array of data source IDs (required)ttl
: Time-to-live in seconds, 60-3600 (optional, default: 900)knowledge_base_entries
: Additional context (optional)reference_queries
: Example queries (optional)