The grant lifecycle
- A connected integration owns the connection and its connector capability.
- The connection owner creates a root grant for a pod.
- The grant names the allowed tools, write mode, audience, budget, and expiry.
- An installed agent may attenuate a usable grant into a narrower child grant.
- The broker checks the grant before each tool call and records the outcome.
- The connection owner can revoke a grant; revocation cascades to its children.
Targets and audience
A grant targets a pod:Grant records
The projected grant record can include:- the grant and parent/root identifiers;
- the pod target and effective audience;
- allowed tools, write mode, and call budget;
- creation, expiry, and revocation state; and
- the installation identity and the connection owner who granted it.
API workflow
Use a human JWT for connection-owner and pod-management operations. Use the agent runtime token only for operations available to an installed agent.Inspect grants in a pod
Anyone who can view the pod can list the grants targeting that pod:Create a root grant
The connection owner creates a grant by naming the connection, target, tools, and optional limits.installationId and brokerId are server-derived and
must not be supplied by the caller:
expiresAt is required and must be a future time. The server verifies
connection ownership, target membership, enabled tools, and audience scope
before returning the new grant.
Read a grant and its call trail
Anyone who can view the pod can read a grant and its call trail:Attenuate or revoke
An installed agent can delegate a narrower child grant under the same pod eligibility rule. The child cannot widen the parent’s tools, audience, write mode, budget, or expiry:Grants, credentials, and connectors
These records have separate jobs:
Keep actual secrets in the deployment’s approved secret manager. Use
Connectors to connect an integration, and
Agent Tools for the runtime-facing tool surface.