Developer API / docs
Redact Indian PII API
Return a copy of the text with every detected Indian identifier replaced by its masked form. Checksum-validated detection, same engine as detect-pii.
POSThttps://api.gigai.tools/v1/jobsAsync
Runs as the redact-pii operation inside a job. Needs a key with the jobs:write scope.
Options
types- stringrequire_valid- booleanmask_char- string
Limits
- Input: txt, md, csv, json, html (one file, checked by content, never by extension).
- Max input size: 10 MB.
- Output: txt.
- Time budget: 60 seconds, then the task fails with the timeout code.
- Engine: indian-pii.
Inside a bigger job
Chain it: any task can consume this one's output by naming it in input. The recipes show working pipelines.
as one task in a graph
"step": { "operation": "redact-pii", "input": ["previous-task"] }Errors this tool returns
invalid_input, invalid_option, file_too_large, timeout. The full list with fixes is on the errors page.
Was this page helpful?