Sensitive Word Detection

Sensitive Word Analysis (GET)

0calls
4 credits / call

Analyze a single keyword via URL query parameters, convenient for GET request calls.

GET
uapis.cn
/api/v1/sensitive-word/analyze-query
Query parameters
1
keyword
string
required

The keyword to analyze, max 1,000 characters.

Query parameters

keyword
stringrequired

The keyword to analyze, max 1,000 characters.

Response

200 / OK

Analysis successful

JSON
{
  "results": [
    {
      "k": "string",
      "label": "string",
      "category": "string",
      "confidence": 123
    }
  ],
  "total": 123
}

400 / Bad Request

Request parameter error

JSON
{
  "code": "INVALID_PARAMETER",
  "message": "Keyword cannot be empty"
}

401 / Unauthorized

Unauthorized access

JSON
{
  "code": "UNAUTHORIZED",
  "message": "Request unauthorized"
}