Agents

Register a new agent

post/v1/agents

Request

  • Base URL: https://api.1claw.co
  • URL: https://api.1claw.co/v1/agents
  • Auth: HTTP bearer

Request body

default_llm_providerstring

Default LLM provider for automations and Shroud.

default_llm_modelstring

Default LLM model for automations and Shroud.

discoverableboolean

List this agent in the cross-org agent directory.

public_descriptionstring

Description shown on the public directory listing.

public_tagsstring[]

Tags shown on the public directory listing.

skip_default_policyboolean

Skip creating the default access policy for this agent.

address_screening_policyobject

Address screening policy applied to transaction recipients.

memory_enabledboolean

Enable durable key-value and semantic memory for this agent. Required before PUT /v1/agents/{agent_id}/memory/{namespace}/{key} will accept a write; without it that endpoint returns 403.

memory_namespace_allowliststring[]

Namespaces this agent may use. Empty or omitted means unrestricted.

memory_max_entry_bytesinteger nullable

Maximum size of a single memory entry value. Null uses the platform default (64 KiB).

namestring required
descriptionstring
auth_method'api_key' | 'mtls' | 'oidc_client_credentials'

Authentication method. api_key generates a one-time key; mtls requires client_cert_fingerprint; oidc_client_credentials requires oidc_issuer and oidc_client_id.

scopesstring[]
expires_atstring date-time
intents_api_enabledboolean
tx_to_allowliststring[]
tx_max_valuestring

Maximum value per transaction in native major units for the transacting chain family (ETH on EVM, BTC on Bitcoin, SOL on Solana, XRP, ADA, TRX).

tx_daily_limitstring

Rolling daily spend cap in native major units, enforced per chain family at signing time.

tx_max_value_ethstring

Deprecated alias for tx_max_value. Same unit semantics (native major units, not ETH-only).

tx_daily_limit_ethstring

Deprecated alias for tx_daily_limit.

tx_allowed_chainsstring[]
token_ttl_secondsinteger nullable

Per-agent token TTL in seconds (overrides global default)

vault_idsstring[]

Restrict agent to specific vault UUIDs (empty = all vaults in org)

client_cert_fingerprintstring

SHA-256 fingerprint of the client certificate (required for mTLS auth)

oidc_issuerstring

OIDC issuer URL (required for oidc_client_credentials auth)

oidc_client_idstring

OIDC client ID (required for oidc_client_credentials auth)

shroud_enabledboolean

Enable Shroud LLM Proxy for this agent

system_promptstring

Default system prompt for agent chat when requests do not override it.

execution_intents_enabledboolean

Enable Execution Intents (bindings and execute endpoint) for this agent

execution_guardrailsobject

Guardrails applied to all execution intents for this agent

intents_require_teeboolean

When true, transaction/sign requests must arrive via a TEE host (Pro+ only)

execution_require_teeboolean

When true, execute requests must arrive via TEE and all direct secret reads are blocked (Pro+ only)

tx_token_allowliststring[]

Token contract/mint addresses this agent may interact with. Empty = unrestricted.

tx_known_tokens_onlyboolean

When true, only tokens in the known_tokens registry may be used.

xrpl_allowed_tx_typesstring[]

Allowed XRP Ledger transaction types (Payment, TrustSet, etc.). Empty = all allowed.

per_chain_guardrailsobject

Per-chain guardrail overrides. Keys are signing chains (ethereum, bitcoin, solana, xrp, cardano, tron). Each value may include max_value, daily_limit, to_allowlist, token_allowlist, max_per_day, overhead_budget, max_ata_creates_per_day, max_fee_per_gas_gwei, max_gas_limit, gas_daily_budget_native (UTC-day cumulative EVM gas estimate in native units). Strictest of global and per-chain limits wins. Daily limits apply per chain family spend, not cross-chain totals.

tx_max_per_dayinteger nullable

Max transactions per UTC calendar day. Null = unlimited.

tx_overhead_budgetobject nullable

Per-chain daily overhead budget in native units (e.g. {"solana":"0.5","xrp":"100"}).

solana_ata_allowliststring[]

Solana wallet addresses whose ATAs may be created. Empty = unrestricted.

cards_enabledboolean

Whether this agent may order payment cards (x402 card ordering). Pro+ tier.

card_max_order_usdstring

Maximum USD amount for a single card order.

card_daily_limit_usdstring

Maximum cumulative USD spent ordering cards per rolling 24h window.

usdc_daily_limit_usdstring

One cap across ALL of this agent's x402 stablecoin spend — POST /v1/pay and card orders together. Calendar day, UTC. Omit for no cap. Applied in addition to the per-route caps, never instead of them: tx_* bounds signing and submitting, pay_* bounds POST /v1/pay, and card_* bounds card orders. None of those three bounds the others, so this is the only field that caps an agent's total stablecoin spend.

card_payto_allowliststring[]

Allowed x402 payTo recipients for card orders (empty = built-in Laso recipients).

card_reveal_enabledboolean

Whether agents may reveal card details subject to per-card reveal policy.

card_require_approvalboolean

When true, card orders route through the human approval queue before x402 payment.

tx_approval_policyobject nullable

Graduated transaction approval policy (HITL thresholds). Separate from hard guardrails.

action_approval_policyobject nullable

Which business actions this agent must ask a human about, and above what amount. {} means no per-action rules.

Shape: { "default_mode": "deny|approve|allow", "rules": [ { "action_type": "refund.create", "mode": "approve", "require_for_amount_above_usd": "50", "summary_template": "Refund {{amount_usd}} to {{customer_email}}" } ] }.

A rule can only raise the bar. Editing this is classified as a guardrail widening, so it routes through the same approval flow as loosening a transaction limit. Malformed rules are rejected on write rather than ignored at request time.

typed_data_policy'deny' | 'approve'

EIP-712 escalation when typed_data matches no allowlist — deny (403) or route to HITL (approve).

simulation_failure_policy'deny' | 'approve'

Simulation failure escalation — deny (422) or route to HITL (approve).

tx_block_unlimited_approvalsboolean

Block unlimited ERC-20 approvals (max uint256 / setApprovalForAll).

tx_per_recipient_max_per_dayinteger nullable

Max transactions to the same recipient address per UTC day.

tx_per_recipient_daily_limitstring nullable

Max native-unit spend to the same recipient per UTC day.

new_recipient_cap_nativestring nullable

Cap on first-time recipient spend in native units.

tx_max_value_usdstring nullable

Per-transaction USD cap (requires price oracle).

tx_daily_limit_usdstring nullable

Rolling 24h USD spend cap (requires price oracle).

raw_signing_policy'allow' | 'deny' | 'approve'

Raw digest signing policy — allow, deny, or route to HITL (approve).

personal_sign_policyobject

personal_sign guardrails (message allowlist, max bytes, etc.).

allow_erc4337boolean

Allow ERC-4337 gasless UserOperations.

allow_eip7702boolean

Allow EIP-7702 (tx type 4) set-code transactions.

api_key_expires_atstring date-time nullable

Optional expiration time for the agent's API key.

environmentstring

Named environment for this agent (production, preview, development, or custom).

environment_lockedboolean

When true, the environment tag cannot be changed after creation.

env_auto_resolveboolean

When true, env var resolve endpoints auto-fill environment from this agent's tag.

approval_idstring uuid

Optional completed approval ID for control-plane consensus bypass when creating an agent under a control-plane governance policy.

Response

Agent created with one-time API key

api_keystring

One-time API key (only present for api_key auth method)

Changes

No recorded changes to this operation across all 1 revision of this API.