Make a key with this key, with no browser: a key per worker in an agent swarm.
Needs a full-access key made by an owner or admin (a wallet account's key is one). A read-only key, a developer's or one in a compartment cannot. The new key never has more than this one: account-wide only from an account-wide key, this key's expiry and per-request cap, and when this key has a daily limit, the daily limits of the keys it made add up to at most its own. Each key gets its own agent, so its sandboxes, spend and audit rows are its own. At most 100 live keys made this way in an account, and 1,000 made in any 24 hours; revoke a worker's key when it is done. Every key made is in the audit log as key.created, naming the key that made it.
Request
- Base URL: https://api.withruntime.com
- URL: https://api.withruntime.com/v1/keys
- Auth: HTTP bearer
Headers
Replaying the same key with the same request within 24 hours returns the first result and never repeats the effect. A refusal is not kept: a request refused before it ran (no_capacity, busy, a limit) runs afresh when sent again with its key. The SDKs send one automatically; the server makes one when absent and returns it in the idempotency-key response header.
Request body
Response
Success
Changes
No recorded changes to this operation across all 1 revision of this API.