Documentation Index
Fetch the complete documentation index at: https://docs.bountygrowth.com/llms.txt
Use this file to discover all available pages before exploring further.
Authentication
bounty-cli uses a normal Bounty user session. It does not require infrastructure credentials.
Browser Login
The browser flow:
- The CLI starts a temporary local callback.
- The browser opens the Bounty CLI authorization page.
- If needed, Bounty sends you through normal login.
- You explicitly approve CLI access.
- The browser returns a one-time code to the local callback.
- The CLI exchanges the code for a user session.
- The CLI stores the session locally for future commands.
The callback receives only a one-time code and state value.
Verify Identity
bounty-cli whoami
bounty-cli whoami --json
The response includes your user, organization, and organization id.
Log Out
This clears the locally stored Bounty CLI session.
Email Login Fallback
Browser login is recommended. Email/password login is available for development and fallback cases:
bounty-cli login --email user@example.com
Config
View active config:
bounty-cli config get
bounty-cli config get --json
Set a backend URL:
bounty-cli config set api-url https://app.bountygrowth.com
Permission Model
CLI requests run with the logged-in user’s Bounty permissions. If you cannot access an organization or object in Bounty, the CLI should not expose it either.