Skip to main content
POST
/
v1
/
actions
/
yield
/
withdraw
Withdraw USDC from Vault
curl --request POST \
  --url https://api.aegisintent.xyz/v1/actions/yield/withdraw \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --header 'Idempotency-Key: <idempotency-key>' \
  --header 'X-Aegis-Email: <x-aegis-email>' \
  --header 'X-Aegis-Nonce: <x-aegis-nonce>' \
  --data '
{
  "amount": "<string>"
}
'

Documentation Index

Fetch the complete documentation index at: https://docs.aegisintent.xyz/llms.txt

Use this file to discover all available pages before exploring further.

Burn aUSDC shares to withdraw the underlying USDC (principal + accrued yield). If the MEV cooldown lock is still active, this request will return a 403 Forbidden error.

Authorizations

Authorization
string
header
required

Provide raw API session token issued by /v1/connect/complete

Headers

X-Aegis-Email
string
required

Agent email address

Idempotency-Key
string
required

Unique UUID for financial idempotency

X-Aegis-Nonce
integer
required

Current agent nonce

Body

application/json
amount
string
required

Amount of USDC to withdraw (e.g. '50.00')

Response

Withdrawal Initiated Successfully