openapi: 3.1.0 info: title: Magier AI API version: '2026-10-18' description: 'GENERATED FROM DOCUMENTATION by API Evangelist on 2026-10-18: 1 operation(s) read from 1 public documentation page(s) (each operation names its page in x-source). This is not the provider''s published contract; Magier AI has published no machine-readable contract that the pipeline could find. Engine: local.' x-evidence-tiers: code-example: 1 documentation: 0 pages-with-code: 1 pages-read: 1 x-generated-from: documentation x-provenance: generated x-authored-by: API Evangelist x-generated: '2026-10-18' x-generator: generate-contract-from-docs.py x-engine: local x-sources: - https://magier.ai/docs/api servers: - url: https://api.magier.ai paths: /api/dlp/transform/redact: post: operationId: post_api_dlp_transform_redact tags: - Api summary: POST /api/dlp/transform/redact x-source: https://magier.ai/docs/api requestBody: required: true content: application/json: schema: $ref: '#/components/schemas/PostApiDlpTransformRedactRequest' responses: '201': description: Success (status as documented) x-evidence: kind: code-example language: curl snippet: "curl Python Node.js Magier Swift Magier Forge Try it Request ยท cURL curl https://api.magier.ai/api/dlp/transform/redact -H\ \ \"X-Api-Key: $MAGIER_API_KEY \" -H \"Content-Type: application/json\" --data '{\n \"content\": \"Customer name: Emma Wilson. Email:\ \ emma.wilson@example.com.\",\n \"detector\": \"magier-swift\",\n \"labels\": [\n \"PERSON_NAME\",\n \"EMAIL_ADDRESS\"\n ],\n \"transform\"\ : {\n \"mode\": \"MASK\"\n }\n}' Set MA" components: schemas: PostApiDlpTransformRedactRequest: type: object properties: content: type: string detector: type: string labels: type: array items: type: string transform: type: object properties: mode: type: string securitySchemes: apiKey: type: apiKey in: header name: X-Api-Key security: - apiKey: [] tags: - name: Api