Configuration object with baseUrl and getToken function
An API client with methods for all API endpoints
Raw fetcher for custom API requests
Transcribe audio to text
Get chat history with pagination
Clear all chat history
Get all exchange keys for the user
Save an exchange API key
Verify an exchange API key is working
Delete an exchange API key
Get balance for a specific exchange
Get market tickers for specified symbols
Get detailed market info for a symbol
Get OHLCV (candlestick) data for a symbol
Get usage statistics
Get the currently active exchange
Set the active exchange
Get available AI personalities
Set the AI personality
Get current language preference
Set language preference
Get available subscription plans
Get current subscription status
Get usage status for billing
Create a Stripe checkout session
Create a Stripe customer portal session
Update billing settings
Get virtual portfolio summary
Get virtual portfolio holdings
Get virtual portfolio trades
Reset virtual portfolio to initial state
Get notification preferences for the current user
Update notification preferences
Run the agent with SSE streaming for real-time updates. Returns an object with methods to control the stream.
Submit an approval decision for a pending agent action
Get list of available agent skills
Download a file by its ID Returns a Blob that can be used to trigger a download in the browser
Get file metadata without downloading the content
Creates an API client instance with all available methods