vLex · Example Payload

Vlex Iceberg Anonymization Anonymize Text Example

Replace identified persons and organizations in a case law excerpt with [PERSON] tokens.

Artificial IntelligenceClassificationLegal ResearchLegal TechNatural Language ProcessingPrivacy

Vlex Iceberg Anonymization Anonymize Text Example is an example object payload from vLex, with 5 top-level fields. It illustrates the shape of data this provider's APIs accept or return.

Top-level fields

titledescriptionoperationrequestresponse

Example Payload

Raw ↑
{
  "title": "Anonymize Legal Text",
  "description": "Replace identified persons and organizations in a case law excerpt with [PERSON] tokens.",
  "operation": "anonymizeText",
  "request": {
    "method": "POST",
    "url": "https://api.vlex.com/v1/anonymize",
    "headers": {
      "Ocp-Apim-Subscription-Key": "your-vlex-subscription-key",
      "Content-Type": "application/json"
    },
    "body": {
      "text": "In the case of John Smith v. ABC Corporation, filed on March 15, 2026 in the District Court of New York, the plaintiff John Smith alleges that his supervisor Jane Doe subjected him to a hostile work environment.",
      "mode": "replace",
      "replacement_token": "[PERSON]",
      "entity_types": ["PERSON", "ORGANIZATION"]
    }
  },
  "response": {
    "status": 200,
    "body": {
      "anonymized_text": "In the case of [PERSON] v. [ORGANIZATION], filed on March 15, 2026 in the District Court of New York, the plaintiff [PERSON] alleges that his supervisor [PERSON] subjected him to a hostile work environment.",
      "entities": [
        {
          "text": "John Smith",
          "entity_type": "PERSON",
          "confidence": 0.98,
          "start_offset": 21,
          "end_offset": 31
        },
        {
          "text": "ABC Corporation",
          "entity_type": "ORGANIZATION",
          "confidence": 0.96,
          "start_offset": 35,
          "end_offset": 50
        },
        {
          "text": "John Smith",
          "entity_type": "PERSON",
          "confidence": 0.98,
          "start_offset": 107,
          "end_offset": 117
        },
        {
          "text": "Jane Doe",
          "entity_type": "PERSON",
          "confidence": 0.97,
          "start_offset": 141,
          "end_offset": 149
        }
      ],
      "entity_count": 4,
      "processing_time_ms": 45
    }
  }
}

Work with this as data

Every example 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 examples

4 MCP tools reach this
  • find_examplesBrowse and filter every example 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 example
curl "https://apis.io/api/v1/examples/vlex-iceberg-anonymization-anonymize-text-example"
All examples
curl "https://apis.io/api/v1/examples?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

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