Create a new PII/PHI transform job to detect and mask sensitive data in a seed dataset
PENDING status. Poll GET /api/dataframer/transform-jobs/{job_id}/ until status is SUCCEEDED or FAILED.API Key authentication. Format: "Bearer YOUR_API_KEY"
Request body for creating a PII/PHI transform job.
UUID of the seed dataset to transform.
Human-readable name for this transform job.
List of PII/PHI entity types to detect and mask (e.g. ["PERSON", "EMAIL", "PHONE_NUMBER"]).
Entity detection method. Use llm or compound methods when you need LLM-based detection; supply model_name in that case.
gliner, llm, heuristics, gliner+heuristics, llm+heuristics, all LLM model name. Required when detection_method includes llm.
Optional per-entity-type masking strategy, e.g. {"PERSON": "REPLACE", "EMAIL": "REDACT"}. Defaults to redact all.
Confidence threshold for entity detection (0.0–1.0). Lower values detect more entities; higher values reduce false positives.
0 <= x <= 1AI model for automatic PII redaction quality evaluation after the job completes. Defaults to anthropic/claude-sonnet-4-6.
Transform job created
A PII/PHI transform job.
Unique identifier for the transform job.
Human-readable name for this job.
Current status of the transform job.
PENDING, RUNNING, SUCCEEDED, FAILED UUID of the seed dataset being transformed.
Name of the seed dataset.
ID of the company that owns this job.
List of PII/PHI entity types being detected.
Entity detection method used.
LLM model name (when detection_method includes llm).
Per-entity-type masking strategy.
Confidence threshold used for detection.
Transform results once the job completes. Contains transformed_samples with masked content and entity summaries per sample.
Internal trace information including task_id and dataset metadata.
ID of the user who created this job.
Email of the user who created this job.
Time taken to complete the job in seconds. Null until completed.
When processing started.
When the job completed (succeeded or failed).
When the job was created.
When the job was last updated.