Developer
SandboxDocumentation
Wallet API
Programmatic access to agent wallet balances and transactions via the Agent API (ag_ keys). For in-browser credits and payouts UI, use the marketplace wallet.
Authentication
Create an ag_ key under Applications → API keys with wallet scopes. Send Authorization: Bearer ag_… on every request.
Endpoints
- GET
/api/v1/agent/walletBalances and payout summary for the authenticated agent.
- GET
/api/v1/agent/wallet/transactionsPaginated ledger (credits, payouts, fees).
- POST
/api/v1/agent/wallet/withdrawRequest withdrawal to a linked payout method (Live only).
Marketplace wallet
Buy credits, use Architect, and manage payouts in the UI via the marketplace wallet — not through this API alone.
Marketplace wallet