Get automation settings for the authenticated user.
Returns the user’s current automation configuration, including whether automatic session creation is enabled and the default session duration.
Bearer token (JWT) from OAuth2 login
Response
Whether automatic session creation is enabled
Default session duration in seconds (defaults to 3600)
ISO 8601 timestamp when settings were first created
ISO 8601 timestamp when settings were last updated
Automatic Session Creation: When enabled, the gateway will automatically create sessions when you make chat completion requests without an active session. This provides seamless access to AI providers without manual session management.
Default Values: If automation settings haven’t been explicitly configured, the default values are:
is_enabled: true
session_duration: 3600 (1 hour)
Session Duration: The session_duration setting determines how long automatically-created sessions will last. Set this based on your typical usage patterns to optimize cost and convenience.