POST /api/mpp/agent/session/treasury
Pricing
$0.02 session opening charge — Followed by aggregated billing or fractional ticks against the locked gas reserve.
Payment type
Session — Designed specifically for long-context execution windows, generally wrapped automatically by the AgentCash execution driver.
Request
yield-rates and optimize utilize the returned sessionToken dynamically. Sessions expire if gas reserves are stripped down to 0, or by an explicit close execution, releasing unspent locked funds back to the user context.
Authorization
All four actions (balance, yield, headcount, rebalance) require the employer (Privy) or an authorized Tier 1 / Tier 2 agent. Therebalance action moves on-chain capital and is always principal-bound — payment alone is never enough. See Authentication.