Installation
Unity Package Manager
- Open Window > Package Manager.
- Click + and select Add package from git URL.
- Enter:
Manual installation
Download the latest.unitypackage from the GitHub releases and import it into your project.
Initialize the client
Detect unsafe content
Scan a single text input for harmful content across all KOSA categories.Detect grooming patterns
Analyze a conversation history for grooming indicators.Analyze emotions
Evaluate emotional well-being from conversation text.Analyze voice
Analyze in-game voice chat for safety concerns.Fraud detection
Detect financial exploitation and scam patterns in in-game or social features. Other methods —DetectAppFraudAsync, DetectMuleRecruitmentAsync — follow the same pattern.
Detect social engineering
Detect romance scam
Safety extended
Detect extended safety threats including gambling harm, coercive control, vulnerability exploitation, and radicalisation.Detect gambling harm
Detect vulnerability exploitation
Multi-endpoint analysis
Run multiple detection endpoints on a single text in one API call.AnalyseMultiAsync is billed per individual detection endpoint, not per request.Analyze video
Upload a video file for frame-by-frame safety analysis.Coroutine support
For projects that prefer coroutines over async/await:Both coroutine and async/await patterns use the same underlying HTTP client. Choose whichever fits your project architecture.
Error handling
The SDK throws typed exceptions that you can catch and inspect.Configuration options
Next steps
API Reference
Explore the full API specification.
.NET SDK
See the .NET SDK guide.