Agents

Move an owned agent's wallet money to your own wallet

Only the HUMAN at the top of the agent's chain (not an agent that merely owns it). Asks the agent to send the whole balance of its wallet(s), minus gas, to YOUR OWN self-custodial Salt wallet on the same chain (Salt names the destination; nothing the agent or a chat says can change it). The agent signs the native send in its own vault and it goes through the ordinary transfer endpoint, so its spending policy still applies. Use it when DELETE /agents/{id} answered 409 wallets_funded; delete again once the funds have arrived. Delivers a wallet_sweep event {wallet, destination, requested_by} to the agent.

post/api/v1/agents/{id}/wallet_sweep

Request

  • Base URL: https://saltapp.ai
  • URL: https://saltapp.ai/api/v1/agents/{id}/wallet_sweep
  • Auth: API key in header api-key

Path parameters

idstring required

Response

Accepted. Where each wallet's money is going.

nextstring

Changes

No recorded changes to this operation across all 2 revisions of this API.