API Docs
Develop
REST API
- REST API overview: Endpoint catalog, base URLs and authentication
- OAuth2 authorization: Fetch the current user's profile and API Key with an Access Token (Public Cloud only)
- Self-hosted administration: Users, organizations, project collaboration and SSO binding (Self-Hosted Commercial Edition only)
CLI
- swanlab ping: Connectivity and environment diagnostics
- swanlab api: Manage cloud workspaces/projects/experiments via CLI
- swanlab watch: Start offline experiment board
- swanlab login: Login to SwanLab
- swanlab logout: Logout from SwanLab
- swanlab verify: Verify login status
- swanlab convert: Convert external logs to SwanLab project
- swanlab sync: Sync local logs to SwanLab cloud/private deployment
- swanlab local: Set SwanLab to local mode
- swanlab online: Set SwanLab to cloud mode
- swanlab offline: Set SwanLab to offline mode
- swanlab disabled: Set SwanLab to disabled mode