Platform covers everything around the products: who can call them, what they used, and what happened on each request.

You wantCallServed by
Create, list, update and revoke API keys/v1/keysEdge
See who a credential isGET /v1/keys/currentEdge
Usage totals and records/v1/usageEdge
Your limits and current usage against themGET /v1/limitsEdge
Organizations, members and projects/v1/orgs, /v1/projectsEdge
Signing secrets and delivery history for job webhooks/v1/webhooksNode
The record of any request, with its timing phases/v1/requestsNode

Edge-served operations answer at https://beta-api.b3os.org only. From inside a sandbox they return 421 edge_only.

Organizations and projects

Your invite creates an organization with one project, named default, and a first key. Members have a role in the organization: owner, admin or member; members cannot manage keys or billing. Every object you create belongs to one project, and every key to one project, so projects separate environments or customers. Create more with POST /v1/projects (platform:write). Organization settings are managed in the dashboard.

Signing in

WhoHow
People, in the dashboardGitHub or a 6-digit code sent by email, then a session cookie
The CLIb3os login, a device login (RFC 8628) that issues a b3os_pat_ token
CodeAn API key, b3os_sk_...

The device login works from any terminal. The CLI shows a code and a link to https://beta.b3os.org/app/device; you approve it there for one organization and project, with scopes no wider than your own, and the CLI receives its token. Tokens last 90 days by default.

Scopes

ScopeFor
platform:readRead keys, usage, requests, organizations, projects and webhook deliveries
platform:writeCreate, update and revoke keys; manage projects; read and rotate webhook secrets

A few operations need only a valid credential (GET /v1/keys/current, GET /v1/limits, GET /v1/orgs), and dashboard-only operations need a signed-in session.

API keys

Create scoped, capped, expiring keys.

Learn More
Webhooks

Secrets, test deliveries and history.

Learn More
Request log

Every request with its phases.

Learn More
Limits and FAQ

Caps and common questions.

Learn More
Ask a question... ⌘I