Authentication Methods
When a Security Key is configured, all API routes require anAuthorization: Bearer <token> header for access. Without a key configured, authentication is disabled and all endpoints are publicly accessible.
Using Bearer Token Authentication
Include the authorization header in your API requests:Configuration
Set your security key when initializing AgentOS or through the configuration file. See the AgentOS Security guide for detailed setup instructions.Developer Resources
- See AgentOS Security for comprehensive security configuration