Documentation / v1 / Concepts

Agents and scoped API keys

Allow low-risk work within an application's authority. Keep sensitive security and financial changes reviewable.

Delegate the smallest useful scope

Application API keys are bound to a workspace and application. A key with keys:manage can create a child key only within its permitted authority; requesting extra scopes is refused. The active parent must hold keys:manage and every scope it delegates; account and application are fixed by that authenticated key. The service rechecks this ceiling transactionally. Creation and rotation reveal the plaintext once with Cache-Control: no-store. List responses expose metadata, not the secret.

Your policy may permit creating and assigning an appropriately scoped application key to an agent. Register the agent's accountable owner and preserve its tenant, resource, scope and expiry restrictions. Credential material belongs in a secret-delivery channel, never in model-visible logs or ordinary content.

Scoped child key · http
POST /v1/keys
Authorization: Bearer PARENT_APPLICATION_KEY
Content-Type: application/json

{"name":"callback-worker","scopes":["otp:send"]}

Require deliberate approval for consequential changes

Public registration grants no administrative role. Role grants, security-policy changes, credential provisioning outside an existing authorized workflow, payment commitments and outbound customer communication require explicit authority. The permission service enforces these limits even when a tool is called directly.

Agent identity and scoped management APIs are available building blocks. The management host exposes only the five tools in its generated runtime catalog. Low-risk key creation returns an encrypted first-party delivery receipt rather than plaintext. The human owner reviews and verifies with a fresh passkey on the issuer pickup page before the pending key becomes usable. Compatibility with every external chatbot remains an independent release test.