Core concepts

Applications

The container everything else belongs to, and the two hostnames it gets.

An application is a single product. It owns its end users, its keys, its bundles and its model names, and it is the thing a base URL points at. A customer with two products has two applications and no shared end users between them.

Create one

Creating an application assigns both hostnames at once. You do not configure DNS, and you do not choose the shape.

seams apps create acmechat --name "Acme Chat"

# slug     acmechat
# gateway  https://acmechat.gw.ourseams.com/v1
# portal   https://acmechat.portal.ourseams.com

Clients point at that gateway hostname. The slug in the Host header is how the call finds this application; there is no default app.

cli
curl https://acmechat.gw.ourseams.com/v1/chat/completions \
  -H "Authorization: Bearer ak_acmechat_…" \
  -H "Content-Type: application/json" \
  -d '{
    "model": "acme/smart",
    "messages": [{ "role": "user", "content": "Say hello" }]
  }'

Custom domains are not offered. Every surface is a subdomain of ours, which keeps certificate issuance, application resolution and the portal's cookie scope out of your operations.

Switch and inspect

use records the active application for later calls. Locally the CLI also writes ~/.seams/config.json; the API use is what the SDKs share.

seams apps list
seams apps use acme-chat
seams apps current
seams apps show acme-chat

A sk_ token is scoped to its organization, not to the active application. Switching changes which application your commands read; it does not widen or narrow the token.

Archive

seams apps rm acme-chat

rm archives rather than deletes. Usage rows and ledger entries outlive the application they were written under, because an audit trail that can be removed is not one.

What one holds

FieldMeans
slugThe name in both hostnames; immutable once created
gatewayYour gateway host (what clients call)
portalWhere an end user lands from a portal session
endUsers · keysHow many of each the application has
bundles · modelsWhat is on offer and what it resolves to
costUsdProvider cost attributed to this application