Skip to main content

Agents API

Manage agents within your tenant. Each agent gets encrypted EVM and Solana wallets on creation.

Create Agent

Creates an agent with encrypted wallet keypairs.
Auth: Tenant API key Request Body:
Response:

List Agents

Returns a bounded page of agents for the authenticated tenant. The default limit is 100 and the maximum is 200.
Auth: Tenant API key Response:

Get Agent

Returns a single agent by ID.
Auth: Tenant API key or agent JWT

Delete Agent

Permanently deletes an agent and all associated data (wallets, policies, transactions).
Auth: Tenant API key (agent tokens cannot delete) Response:
This cascades: encrypted keys, wallet entries, policies, transactions, and approval queue items are all deleted. This cannot be undone.

Generate Agent Token

Creates a scoped JWT for agent-level operations.
Auth: Tenant API key (agents cannot generate their own tokens) Request Body:
Response:

Get Account

Returns the agent’s aggregated digital-asset account, including wallet rows, native balance, token portfolio assets, USD totals when pricing is configured, spend summary, signing capabilities, and gas sponsorship state.
Auth: Agent JWT or tenant key Response:

Get Balance

Returns the native token balance for an agent’s wallet.
Auth: Agent JWT or tenant key Response:

Get Token Balances

Returns ERC-20 token balances for an agent’s wallet.
Auth: Agent JWT or tenant key Response:

Authorization Keys and Key Quorums

Agent signers model owners, delegated signers, service signers, and quorum members for an agent wallet. A signer with keyType: "p256" and a registered publicKey is Steward’s Privy-style asymmetric authorization key. A signer with keyType: "hmac" can instead receive a one-time delegated credential secret when created with issueCredential: true.
Auth: Owner/admin browser session. Create, revoke, and authority-changing updates require recent MFA. Signer request body:
policyIds must reference policy rules on the same agent. Updating a signer’s policy scope is an authority-changing operation and requires recent MFA:
Signer responses include id, signerType, subjectType, subjectId, keyType, publicKey, permissions, policyIds, status, metadata, hasCredential, and timestamps. credentialSecret is returned only on the create response when issueCredential: true; it is never returned by list or update calls. Key quorums group signer IDs and optional child quorum IDs behind a threshold. Nested quorum verification is bounded and fails closed on cycles or excessive depth.

Batch Create

Create multiple agents in one request with optional shared policies.
Auth: Tenant API key Request Body:
Response: