Documentation Index
Fetch the complete documentation index at: https://docs.ansa.so/llms.txt
Use this file to discover all available pages before exploring further.
API Keys
API keys provide programmatic access to the Ansa API.Generating a Key
- Go to Settings > API in your dashboard
- Click Generate API Key
- Copy the key immediately - it won’t be shown again
Using API Keys
Include the key in theAuthorization header:
Key Permissions
API keys have the same permissions as your account:- Access to all your agents
- Ability to create/update/delete resources
- Usage counts against your plan limits
Session Authentication
For dashboard and widget authentication, Ansa uses cookie-based sessions:Sign In
Magic Link
OAuth
Redirect users to:Widget Authentication
The chat widget uses a separate authentication flow for end-users:Anonymous Sessions
By default, widget users are anonymous. A session ID is stored in localStorage.Identified Users
Pass user information to track conversations:- Track conversations by user
- See user information in the dashboard
- Build user-aware responses