Secure AI · Schema

RedactRequest

Private SearchArtificial IntelligencePrivacyEncryptionSearch Engines

Properties

Name Type Description
text string The text to redact.
map object A map from a previous call, so the same person keeps the same stand-in across turns.
allow array Terms to send as written — a shared mailbox, a product name a detector mistakes for a person.
profile object The end user's own details, so they are recognised even when written unusually.
strict boolean Refuse the request rather than proceed when the name check cannot decide. Off by default: the structured stages have already run, and refusing costs somebody their answer to protect a name that may no
organisations boolean Hide the names of companies and other private organisations too, each behind an invented company name. Off by default: a company is usually what the question is about. Public bodies (courts, ministrie
spans boolean Also return `spans`: where each hidden value was, its kind, and how sure the API is that it was private.
risk boolean Also return `risk`: what is still visible in the cleaned text that could point to one person, scored 0 to 100.
View JSON Schema on GitHub

JSON Schema

secureai-one-redact-request-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/secureai-one/json-schema/secureai-one-redact-request-schema.json",
  "title": "RedactRequest",
  "x-generated": "2026-11-24",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/secureai-one-openapi.json#/components/schemas/RedactRequest",
  "type": "object",
  "required": [
    "text"
  ],
  "properties": {
    "text": {
      "type": "string",
      "maxLength": 200000,
      "description": "The text to redact."
    },
    "map": {
      "type": "object",
      "additionalProperties": {
        "type": "string"
      },
      "description": "A map from a previous call, so the same person keeps the same stand-in across turns."
    },
    "allow": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Terms to send as written — a shared mailbox, a product name a detector mistakes for a person."
    },
    "profile": {
      "type": "object",
      "description": "The end user's own details, so they are recognised even when written unusually.",
      "properties": {
        "name": {
          "type": "string"
        },
        "email": {
          "type": "string"
        },
        "phone": {
          "type": "string"
        }
      }
    },
    "strict": {
      "type": "boolean",
      "default": false,
      "description": "Refuse the request rather than proceed when the name check cannot decide. Off by default: the structured stages have already run, and refusing costs somebody their answer to protect a name that may not be there. Turn it on when the input is records rather than one person's messages."
    },
    "organisations": {
      "type": "boolean",
      "default": false,
      "description": "Hide the names of companies and other private organisations too, each behind an invented company name. Off by default: a company is usually what the question is about. Public bodies (courts, ministries, EU institutions) stay as written either way."
    },
    "spans": {
      "type": "boolean",
      "default": false,
      "description": "Also return `spans`: where each hidden value was, its kind, and how sure the API is that it was private."
    },
    "risk": {
      "type": "boolean",
      "default": false,
      "description": "Also return `risk`: what is still visible in the cleaned text that could point to one person, scored 0 to 100."
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/secureai-one-redact-request"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.