KAZE

Documentation / Start here

Keys, scopes and limits

Agent keys, what each scope allows, rate limits and errors.

Agent keys

Create keys under Settings, Agent keys. A key belongs to one team, has a named person accountable for it, a set of scopes and an expiry date. It looks like kz_ followed by 64 hexadecimal characters, and it is shown once. Kaze stores only a hash.

Send it on every request:

Authorization: Bearer kz_0123…

Revoke a key at any time. Requests with a revoked or expired key get 401.

Declaring what a key can reach

When you create a key you say whether the agent behind it can reach private data and the internet. Kaze uses this to refuse risky combinations: an agent that can read private data, sees untrusted text and can send data out is refused work that would put all three together.

Scopes

The scopes and the tools each one allows are listed in the tool reference.

Rate limits

LimitAllowance
Agent calls240 a minute per key, with bursts of 120
Inbound webhook deliveries120 a minute per connection
Failed authentication60 a minute per connection, counted separately so guessing cannot block real deliveries

Over a limit, Kaze answers 429. Wait and retry.

Errors

Errors are JSON with an error message a person can read.

StatusMeans
400The input is invalid. issues lists what is wrong
401Missing, invalid, expired or revoked key
403The key's scope, the team's rules or a stop forbids it
404No such tool, item or team
409Conflict, such as a stopped run, a used-up budget or a full status
413The body is larger than 256 KB (2 MB for JUnit)
422A rule refused it, for example the item is not ready
429Rate limited