Delegation API

HTTP mirror for Gator/ERC-7710 delegation. Prefer MCP delegation tools or Agent CLI delegation commands.

External wallet delegation uses Gator-compatible ERC-7710 payloads. Private keys never leave the user wallet.

Lifecycle

StepEndpointDescription
1. CreatePOST /api/v1/agent/delegation/createBuild delegation payload with caveats for owner to sign
2. ActivatePOST /api/v1/agent/delegation/activatePersist signed delegation and metadata
3. CheckGET /api/v1/agent/delegation/checkQuick status for fan-out gates
4. VerifyGET /api/v1/agent/delegation/verifyDeeper validation against on-chain state

Authenticated agent context required. See Execute Intent API for auth headers.

When delegation is required

Delegation gates apply for:

  • POST /api/v1/agent/execute-intent fan-out to delegated users
  • thirdfy and hybrid managed execution
  • CEX credentials and delegated external accounts
  • Provider paths that require delegated user authority

Not required for direct agent_wallet execution when the identity is agent-owned, or for self BYOW when the local wallet signs.

MCP and CLI equivalents

RESTMCPCLI
createdelegationCreatedelegation create / delegation grant
activatedelegationActivatedelegation activate
check / verifydelegationStatusdelegation status
inspectdelegationInspectdelegation inspect
balancedelegationBalancedelegation balance
redeemdelegationRedeemdelegation redeem
revokedelegationRevokedelegation revoke