Surfaces

The portal

Where your customers see their own usage, spend and keys.

Each application gets a portal hostname, https://<slug>.portal.ourseams.com. An end user lands there from a handoff link you mint; there is no password page of ours for them to create. The chrome uses your application name, colour and logo.

Open a session

Your backend (or the console) mints a one-time URL. Send the browser there; the portal exchanges the token for a session cookie and drops them on Overview.

seams portal link alice
# url  https://<app>.portal.ourseams.com/enter?t=ps_…

seams portal open alice   # opens the url in your browser

A handoff token is single-use and lasts about a minute. Mint it when they ask to open the portal, not ahead of time.

Pages

PageWhat it shows
OverviewAvailable balance, holds, period usage, and recent ledger draws
UsageTheir calls and cost by model and by day
SpendingTheir plan, included pools, and their own on-demand ceiling
ActivityThe full ledger of credits and charges on their balance
KeysTheir ak_ prefixes, caps and spend, never the secret again

Without a plan, Usage and Keys still work. Overview and Spending fill in once they are on a bundle.

Branding

Colour and logo are set on the customer and apply to every portal under the organization. The product name on the portal is the application name.

seams brand show
seams brand set --color '#2F6BFF' --logo https://example.com/logo.svg

What they can change

On Spending, an end user can turn on-demand overage on or off and set their own ceiling. They cannot mint keys, change branding, or see another person's usage.

seams portal on-demand alice --enable --limit 25
seams portal spending alice

Staff can set the same overage from the console or the CLI when a customer asks you to raise it for them. The portal call is what they use themselves.