Developers
Is there an API?#
Yes. The REST API covers agents, knowledge sources and training, and chat runs over a WebSocket. Start with the API introduction.
How do I authenticate with the API?#
Create an API key in Settings → API keys, then send it in the Authorization header of every request:
Authorization: Api-Key YOUR_API_KEYRefreshing a key issues a new one and stops the old one working. Keep keys out of client-side code, and use a separate key for each environment. See Authentication.