Headers
Bearer token (JWT) from OAuth2 login
Body
Whether to enable automatic session creation
Default session duration in seconds for auto-created sessions
Response
Updated automation enabled status
Updated default session duration
Your user ID
ISO 8601 timestamp when settings were first created
ISO 8601 timestamp when settings were last updated
Automatic Session Creation: When enabled (
is_enabled: true), the gateway will automatically create sessions when you make chat completion requests without an active session. This eliminates the need to manually create sessions before each chat request.Cost Implications: Automatic session creation will incur blockchain transaction costs and session fees. Set appropriate session durations to balance convenience with cost efficiency.
Session Duration Recommendations:
- Short sessions (1-2 hours): For occasional use or testing
 - Medium sessions (4-8 hours): For regular daily use
 - Long sessions (12-24 hours): For continuous or production workloads
 
Partial Updates: You can update just 
is_enabled or just session_duration without providing both fields. Omitted fields will retain their current values.How It Works: When you make a chat completion request:
- Gateway checks if you have an active session
 - If no session exists and automation is enabled, creates a new session with the configured duration
 - Uses the session to fulfill your chat request
 - Returns the chat completion response
 

