/borrow
POST
/v1/agent/borrowCreate a borrow operation
Requires API-key authentication (agentAuth, agentId).
Request body
assetrequired | enum | Agent API v1 borrow asset. Only USDC and GREEN are supported. Accepts either the symbol ("USDC" / "GREEN") or the canonical Base contract address. Generated SDK clients should send one of the enum values; the HTTP runtime additionally tolerates case and surrounding whitespace as a convenience for hand-rolled callers. USDC · GREEN · 0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913 · 0xd1Eac76497D06Cf15475A5e3984D5bC03de7C707 | |
max_ltv_after | string | ||
amount | string | ||
amount_usd | string |
Response
okrequired | enum | true | |
operation_idrequired | string | ||
statusrequired | enum | accepted · policy_rejected · submitted · executed · execution_failed · cancelled | |
resourcerequired | object | ||
fee_usdrequired | string | ||
human_message | string | ||
policy_evaluation | object | ||
repay_amount_usd | string | ||
estimated_ltv_after | string | ||
onchain | object |
