Skip to main content
The Tuteliq Node.js SDK (@tuteliq/sdk v2.5.0) provides a typed, promise-based client for the Tuteliq child safety API. It works in Node.js 18+ and includes full TypeScript definitions out of the box.

Installation

Initialize the client

Never hardcode API keys in source code. Use environment variables or a secrets manager.

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. The response includes a per-message risk breakdown showing how risk escalates across the conversation.

Analyze emotions

Evaluate emotional well-being from conversation text.

Analyze voice

Upload an audio file for transcription and safety analysis.

Fraud detection and safety extended

These methods cover financial exploitation, romance scams, and coercive behaviour targeting minors. Other endpoints — detectAppFraud, detectMuleRecruitment, detectGamblingHarm, detectCoerciveControl, and detectRadicalisation — follow the same call pattern shown here.

Detect social engineering

Identify manipulation tactics designed to trick a child into disclosing information or taking unsafe actions.

Detect romance scam

Analyze text for romantic manipulation patterns that may indicate an adult posing as a peer.

Detect vulnerability exploitation

Detect attempts to identify and target emotional or situational vulnerabilities in a child.

Analyse multiple endpoints in one request

Run multiple detection endpoints on a single piece of content in one API call.
analyseMulti is billed per detection endpoint, not per request.

Error handling

The SDK throws typed errors that you can catch and inspect.

TypeScript support

The SDK ships with complete TypeScript definitions. No additional @types package is needed.
All request and response types are exported for direct use:

Configuration options

Next steps

API Reference

Explore the full API specification.

Python SDK

See the Python SDK guide.