Delegate an attenuated sub-agent mandate
Mint an attenuated CHILD mandate from a live parent for an agent-as-tool / A2A re-delegation hop (orchestrator → sub-agent, or transitively sub-agent → sub-sub-agent). The child’s allowlists, invocation cap, and expiry are each narrowed to a subset of the parent’s — a delegated mandate can never end up with more authority than it was given — and it carries a parentMandateId + parentDigest pointer baked into its own consent digest so the ancestry link cannot be forged or repointed. Delegation is refused from a parent that is revoked, expired, exhausted, or fails its own integrity check. Requires the agents:write scope and an owner, admin, or developer role. Audit-logged.
Authorizations
Dashboard JWT token from Clerk
Body
A scoped, revocable, action-capped authorization an AI agent acts under — a serializable snapshot the caller stores and round-trips in each request body. The scope fields (principal, agent, allowlists, invocation cap, expiry, ancestry) are immutable after issue and bound by consentDigest; only status, invocationCount, updatedAt, and revokedAt advance over the mandate's life. A delegated (child) mandate additionally carries a parentMandateId + parentDigest pointer to the parent it was attenuated from.
Opaque, caller-supplied id for the new child mandate.
1 - 128The sub-agent receiving the delegated authority.
1 - 128Action allowlist to further narrow to. Omit or send empty to inherit the parent's unchanged.
2561 - 256Tool allowlist to further narrow to. Omit or send empty to inherit the parent's unchanged.
2561 - 256Data-category allowlist to further narrow to. Omit or send empty to inherit the parent's unchanged.
2561 - 256Invocation cap to further narrow to. Omit to inherit the parent's cap; the effective cap is the minimum of this and the parent's, never higher.
x >= 1Expiry to further narrow to. Omit to inherit the parent's expiry; the effective expiry is the earlier of this and the parent's, never later.
Response
The minted, attenuated child mandate snapshot.
A scoped, revocable, action-capped authorization an AI agent acts under — a serializable snapshot the caller stores and round-trips in each request body. The scope fields (principal, agent, allowlists, invocation cap, expiry, ancestry) are immutable after issue and bound by consentDigest; only status, invocationCount, updatedAt, and revokedAt advance over the mandate's life. A delegated (child) mandate additionally carries a parentMandateId + parentDigest pointer to the parent it was attenuated from.