Skip to main content
Skip to content

HAWI Developers

Read a workspace from your own code, and resolve approvals or set an agent’s control mode if you choose to. Seven endpoints under /api/v1, each behind a named scope, and keys you issue, scope and rotate yourself.

Getting started

Endpoints

Guides

Resources

What you are building against

Read a workspace from your own code

Five read endpoints under /api/v1: verify a key, read a workspace, list its files with signed download links, and read its agents, approvals and run figures. Cursor pagination, ordinary JSON, ordinary HTTP status codes.

Two changes, behind scopes you tick on purpose

A key with approvals:write can approve or reject a pending agent action, payments included, with the same effect as approving in HAWI. A key with agents:write can change an agent's control mode. Both act as the workspace owner who created the key. No key can start a run.

Keys you scope, rotate and revoke

Issue a key against one workspace in the developer console, choose its scopes and how long it lives, and rotate or revoke it there. A key is shown once. Nothing else in the product can read it back.

Limits you can see before you hit them

Every response carries its own remaining budget, and a 429 tells you when to come back. Both ceilings are documented and both are enforced server-side, so a client that respects the headers never has to guess.

Developer console

Reporting pipeline

hawi_sk_live_••••••••••••••••3f92

Active
  • workspace:readWorkspace metadata and membership
  • files:readFile listings and signed download links
  • control-center:readAgents, pending approvals and service health
  • analytics:readRun counts, usage and spend
  • approvals:writeResolving a pending approval
  • agents:writeChanging an agent's control mode
Expires in7d30d90d365d
Every response
  • X-RateLimit-Limit300per key, per minute
  • X-RateLimit-Remaining287counts down in the response
  • Retry-After12seconds, only on a 429

A second ceiling of 600 a minute applies per network, before the key is read.

Two endpoints change things, and only with a scope somebody ticked when making the key.

Both panels are drawn from the product: the scopes and expiry options come from the same module the console validates against, and the limits are the figures in the routes themselves.