APIData Protection

Dlp_judge Preview

Run the LLM judge once against a sample response (rule-editor sandbox).

POST/dlp/judge/preview

Run the LLM judge once against a sample response (rule-editor sandbox).

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

curl -X POST "https://example.com/dlp/judge/preview" \  -H "Content-Type: application/json" \  -d '{    "instruction": "string",    "sample": "string"  }'
{  "spans": [    "string"  ],  "redacted": "string",  "judged": "string"}
{  "code": "bad_request",  "message": "string",  "validation_errors": [    {      "field": "string",      "message": "string",      "rule": "string"    }  ]}