Seams
Get started

Getting Started

Quickstart

One key, one call, one row in the ledger.

1. Mint a key for a customer

curl https://api.ourseams.com/v1/keys \
  -H "content-type: application/json" \
  -d '{"endUserId":"ada@acme.com"}'

The response carries the secret once. Only its SHA-256 is stored, so a lost key is rotated rather than recovered.

2. Make a call with it

curl https://gw.ourseams.com/v1/chat/completions \
  -H "authorization: Bearer ak_…" \
  -d '{"model":"acme/fast","messages":[{"role":"user","content":"hi"}]}'

3. Read what it cost

That call is now a row: who made it, what it resolved to, what the provider charged, and what you billed.

curl https://api.ourseams.com/v1/usage

Built by Seams. The source is available on GitHub.