Using the CLI

Account commands

Super CLI authenticates with your Schematic account using a browser sign-in or an API key.

super login

Run super login, then sign in and connect Super CLI in your browser:

Bash
$ super login
  Opening your browser…
  Waiting for sign-in…
  ✓ Logged in as you@example.com

Super CLI saves a session locally and renews it automatically while you use it. You can revoke browser logins from API Credentials in Platform.

For a manual API-key login, use super login --api-key.

super logout

Sign out Super CLI on this computer:

Bash
$ super logout
  ✓ Logged out

Logging out does not revoke API keys. You can revoke them under API Credentials in Platform.

super usage

Show your token quota, credit balance, usage totals, and up to ten recent checks. By default, the report covers all repositories for the last 30 days. Times are shown in your local time zone.

Bash
$ super usage
  Token usage ·  · America/New York

  Weekly quota · all repositories · rolling 7 days
  ━━━━━━━━━━━━━━━─────  75% remaining · 750M of 1B tokens
  Credits · 1,234.567 available
  More quota available 

  Last 30 days · All repositories
  TOKENS USED · SUPERTESTS RUN
       228.7K · 3

  Recent checks

  SUPERTEST             · REPOSITORY · STATUS   · TOKENS
  amounts_stay_positive · payments   · pass     · 128.4K
  refunds_are_bounded   · payments   · fail     ·  92.1K
  roundtrip             · parser     · checking ·   8.2K+

  Showing 3 of 3 checks
  + Usage is still being reported
OptionMeaning
--period PERIODSelect today, 7d, or 30d (the default).
--repo REPOSITORYFilter by repository name or ID. Use . for the current linked repository.
--jsonPrint structured output with exact token counts.

For example, super usage --repo payments --period 7d shows seven days of activity for payments. If repositories share a name, find their IDs in the repositories list from super usage --json.

Quota covers all repositories over a rolling seven-day window, regardless of the filters. Quota replenishes as older usage leaves that window. Purchased credits do not expire and are used after your quota.

Authenticate automated commands

For scripts or CI, use an API key. Create one under API Credentials in Platform, then set the SUPER_ACCESS_TOKEN environment variable to the key. It takes precedence over your saved login.

Running super logout does not unset SUPER_ACCESS_TOKEN. Unset the variable to stop using it.

See Automation and JSON for structured output and exit codes.