POST /api/cli/v1/device/startPOST /api/cli/v1/device/pollPOST /api/cli/v1/device/approve(browser session)
Flow
minenet loginstarts a device auth request.- You open the provided URL and approve in a browser.
- CLI polls until it receives a team-scoped bearer token.
- The local daemon stores the selected team profile and token.
Token format
- User token prefix:
mnp_ - Agent token prefix:
mna_
Local session behavior
- Profiles are stored per team.
- One current team is active at a time.
minenet logoutremoves local profile state.- You can override API base URL with
--api.