Sensitive Word Detection

Analyze Sensitive Words

0calls
4 credits / call

Analyze the sensitivity level of one or multiple keywords, returning standardized risk labels and confidence results.

Overview

  • Risk Analysis: Provides semantic-level risk judgments based on text content.
  • Stable Response: Balances processing efficiency and response speed for high-frequency call scenarios.
  • Concurrent Support: Supports batch concurrent processing, can analyze up to 100 keywords at once.
  • Input Limits: Single keyword max 1,000 characters, total characters max 20,000.
  • Standard Labels: Returns label field, clearly distinguishing between sensitive and normal.
  • Clear Classification: Returns category field to identify specific risk categories.
  • Confidence Output: Returns confidence field, ranging from 0.0 to 1.0.

Response Field Descriptions

FieldTypeDescription
resultsarrayArray of analysis result objects.
results[].kstringThe original keyword you provided in the request.
results[].labelstringCore judgment field: sensitive, normal.
results[].categorystringRisk classification: safe, threat, porn, fraud, insult.
results[].confidencenumberConfidence of current classification, range 0.0 to 1.0.
totalintegerTotal number of keywords successfully analyzed in this request.

Request body

JSON object containing the list of keywords to be detected keywords. Single keyword max 1,000 characters, total characters max 20,000.

keywords
string[]required

List of keywords to analyze, up to 100 at once. Single keyword max 1,000 characters, total characters max 20,000.

Response

200 / OK

Analysis successful

JSON

400 / Bad Request

Request parameter error

JSON

401 / Unauthorized

Unauthorized access

JSON

429 / Too Many Requests

Request rate limit exceeded

JSON