/v1/pii/redact
Identical to `POST /pii/redact`.
Identical to POST /pii/redact.
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/redact" \ -H "Content-Type: application/json" \ -d '{}'{ "object": "pii.redact", "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 }}/pii/redact POST
Detect and redact PII. Runs detection then applies the `mode`: - `mask` (default): replace each entity with `mask_char` (default `*`) repeated to the entity length. - `remove`: drop the entity text entirely.
/classify/zero-shot POST
Zero-shot classification (encoder-only NLI). Runs the NLI model against the hypothesis template for each candidate label and returns softmax scores. A single input returns a single object; a list returns an object with `results` per input.
RS Infer