# Sandbox.Services.Ai

AI conversation responses and request errors authenticated with the current game session.

- Kind: class
- Namespace: `Sandbox.Services`
- Assembly: `Sandbox.Engine`
- Modifiers: static, abstract, sealed

## Properties

- [`Credits`](/api/Sandbox.Services.Ai/Credits): Last known account balance and monthly renewal date, refreshed by login and AI responses. Null means no balance is available yet. Reading this property does not make a network request.

## Methods

- [`RefreshCredits`](/api/Sandbox.Services.Ai/RefreshCredits): Refreshes the cached account balance on demand, for example after a grant or monthly renewal. Login and AI responses normally keep Credits up to date without polling.
