/borrow/deleverage
POST
/v1/agent/borrow/deleverageCreate a target-LTV deleverage operation
Requires API-key authentication (agentAuth, agentId).
Request body
target_ltvrequired | string | ||
max_repay_amount_usd | string | ||
source_asset | string | ||
use_available_cash_first | boolean | ||
allow_conversion | boolean | ||
allow_partial | boolean |
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 |
