Get started

auth login

Usage

uqbitz auth login

Log in to UQBITZ (email/password, or --token with an API key for SSO/CI)

Options

NameDescriptionDefault
-u, --url <url>API base URL (default: the configured one)
-e, --email <email>Email address
-p, --password <password>Password (omit to be prompted)
-t, --token <apikey>Log in with an API key — required for Google/GitHub SSO accounts and CI
--mfa-code <code>TOTP code for MFA-protected accounts (6 digits)

auth logout

Usage

uqbitz auth logout

Log out and clear local credentials

Options

NameDescriptionDefault
--allRevoke all sessions across devices (POST /auth/logout-all)

auth status

Usage

uqbitz auth status

Show current session status

Options

NameDescriptionDefault
--jsonOutput structured JSON

auth whoami

Usage

uqbitz auth whoami

Print the authenticated user

Options

NameDescriptionDefault
--jsonOutput structured JSON

auth sessions list

Usage

uqbitz auth sessions list

List active sessions for the current user

Options

NameDescriptionDefault
--jsonOutput structured JSON

auth sessions revoke

Usage

uqbitz auth sessions revoke <sessionId>

Revoke a specific session

Arguments

NameDescriptionDefault
sessionId Required

Options

NameDescriptionDefault
-y, --yesSkip confirmation prompt

auth api-keys list

Usage

uqbitz auth api-keys list

List your API keys (secrets are not shown)

Options

NameDescriptionDefault
--jsonOutput structured JSON

auth api-keys create

Usage

uqbitz auth api-keys create

Create a new API key (token shown only once)

Options

NameDescriptionDefault
-n, --name <name>Human-readable label (e.g. "ci-deploy")
-s, --scope <scope>Scope (repeatable)
--expires-in-days <days>Expiration in days (1-365, default: never)
--jsonOutput structured JSON (includes the secret)

auth api-keys revoke

Usage

uqbitz auth api-keys revoke <keyId>

Revoke an API key

Arguments

NameDescriptionDefault
keyId Required

Options

NameDescriptionDefault
-y, --yesSkip confirmation prompt

auth mfa status

Usage

uqbitz auth mfa status

Show MFA status for the current user

Options

NameDescriptionDefault
--jsonOutput structured JSON

auth mfa enable

Usage

uqbitz auth mfa enable

Enable MFA: scan QR with an authenticator app, then verify

Options

NameDescriptionDefault
--code <code>TOTP code (skip the prompt; useful for scripted enablement)

auth mfa disable

Usage

uqbitz auth mfa disable

Disable MFA (requires a current TOTP code)

Options

NameDescriptionDefault
--code <code>TOTP code (skip the prompt)
-y, --yesSkip confirmation prompt

auth profile show

Usage

uqbitz auth profile show

Show your profile

Options

NameDescriptionDefault
--jsonOutput structured JSON

auth profile update

Usage

uqbitz auth profile update

Update editable profile fields (name, phone, locale, timezone, avatar)

Options

NameDescriptionDefault
--name <name>Full display name
--first-name <first>First name
--last-name <last>Last name
--display-name <name>Public display name
--phone <phone>Phone (E.164)
--avatar-url <url>Avatar image URL
--locale <locale>Locale, e.g. pt-BR
--timezone <tz>Timezone, e.g. America/Sao_Paulo
--jsonOutput structured JSON

login

Usage

uqbitz login

Authorize this assistant in the browser (DCR + PKCE); the key never appears on screen

Options

NameDescriptionDefault
-u, --url <url>API base URL (default: the configured one)
-a, --assistant <name>Assistant name shown on the authorization page (default: uqbitz-cli@<hostname>)
--jsonOutput structured JSON (never includes the key)

status

Usage

uqbitz status

Session status for the assistant: org, validity and what is still pending

Options

NameDescriptionDefault
--jsonOutput structured JSON

help

Usage

uqbitz help [command...]

Show help for a command; with --json, print the machine-readable command manifest

Arguments

NameDescriptionDefault
command Optional

Options

NameDescriptionDefault
--jsonPrint the full command manifest as JSON

health

Usage

uqbitz health

Check API health

Options

NameDescriptionDefault
-u, --url <url>API base URL (default: the configured one)

Global options

NameDescriptionDefault
-V, --versionoutput the version number
--api-url <url>Override API base URL for this command
--profile <name>Use an isolated profile (~/.config/uqbitz/profiles/<name>) instead of the shared one