Skip to main content
POST
https://partners-backend-1038109371738.europe-west1.run.app
/
api
/
v1
/
{chain_id}
/
wallets
/
{wallet}
:run
curl -X POST "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x...:run" \
  -H "X-Partner-API-Key: your-api-key" \
  -H "X-Partner-Name: your-partner-name"
{
  "status": "completed"
}
SDK Alternative: Use giza.agent.run() for a simpler TypeScript interface. See SDK docs

Description

Manually triggers an optimization run for a specific wallet. The agent will analyze current APRs and rebalance if beneficial.
Agents automatically run periodically. Use this endpoint only when you need to force an immediate optimization.

Path Parameters

chain_id
integer
required
The blockchain chain ID
wallet
string
required
The wallet address

Response

status
string
Run status: completed, no_action, failed
curl -X POST "https://partners-backend-1038109371738.europe-west1.run.app/api/v1/8453/wallets/0x...:run" \
  -H "X-Partner-API-Key: your-api-key" \
  -H "X-Partner-Name: your-partner-name"
{
  "status": "completed"
}