RS Infer
Server Endpoints

/v1/pii/detect

Identical to `POST /pii/detect`.

POST
/v1/pii/detect

Identical to POST /pii/detect.

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/v1/pii/detect" \  -H "Content-Type: application/json" \  -d '{}'
{  "object": "pii.detect",  "model": "string",  "results": [    {      "text": "string",      "entities": [        {          "entity_type": "string",          "text": "string",          "score": 0.1,          "start": 0,          "end": 0        }      ]    }  ],  "usage": {    "prompt_tokens": 0,    "total_tokens": 0  }}