s&
About
The Project
infoAbout s&box mapRoadmap monitoringMetricsEngine startup and usage numbers
Updates
newspaperLatest News published_with_changesChangesRelease-by-release changelog
Games
Browse Games Discover Games
gamejams
Workshop
Playable
sports_esportsGamesStandalone games and gamemodes
Assets
landscapeMaps view_in_arModels textureMaterials apparelClothing
appsEverythingEvery asset type in one list
Forum
Learn
Documentation
rocket_launchGetting Started docsDocumentation apiAPI Reference
Resources
schoolTutorials manage_searchCode Search
Get s&box
Sign in with Steam
Api
Live Services
Response
chevron_left Live Services
class
Response

Properties

data_objectCreditsdata_objectCreditsSpentdata_objectFinishReasondata_objectIsSuccessdata_objectRefusaldata_objectTextdata_objectTotalCreditsSpent
Response
An assistant response and credits charged for the request.
class Sandbox.Services.Ai .
Sandbox.Engine

data_object Properties 7

Credits
Nullable`1
Account balance after the request, or null when unavailable.
CreditsSpent
Nullable`1
Credits charged for this request, or null when accounting is unavailable.
FinishReason
string
Why generation ended.
IsSuccess
bool
Whether the model completed normally.
Refusal
string
Provider refusal text, when present.
Text
string
Generated text, which can accompany tool calls.
TotalCreditsSpent
Nullable`1
Total credits charged across the conversation, or null without a conversation or available accounting.

Inheritance

Response
Response<T>
people
Log in to reply
You can't reply if you're not logged in. That would be crazy.
Facepunch
  • News
  • Docs
  • Metrics
  • FAQ
  • Forum
  • Discord
  • Twitter