{
  "x402Version": 2,
  "id": 7897,
  "slug": "7897",
  "resource": "https://i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws/v1/pii-secret-redactor",
  "description": "Detect and redact common personal data and credentials from text, JSON, and source code without sending content to a model.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x94bab5853bff59401b355371f9c4b8ca6d6eca9d",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "150000",
      "maxTimeoutSeconds": 120
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "format": "text",
            "redactionStyle": "label",
            "text": "Contact jane@example.com with api_key=sk_test_12345678"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "count": 2,
            "findings": [],
            "limitation": "Pattern-based detection.",
            "redacted": "Contact [EMAIL] with [SECRET-ASSIGNMENT]",
            "types": [
              "email",
              "secret-assignment"
            ]
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "format": {
                    "default": "text",
                    "enum": [
                      "text",
                      "json",
                      "code"
                    ],
                    "type": "string"
                  },
                  "redactionStyle": {
                    "default": "label",
                    "enum": [
                      "label",
                      "mask",
                      "hash"
                    ],
                    "type": "string"
                  },
                  "text": {
                    "type": "string"
                  }
                },
                "required": [
                  "text",
                  "format",
                  "redactionStyle"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST",
                  "PUT",
                  "PATCH"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "count": {
                    "maximum": 9007199254740991,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "findings": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "confidence": {
                          "maximum": 1,
                          "minimum": 0,
                          "type": "number"
                        },
                        "end": {
                          "exclusiveMinimum": 0,
                          "maximum": 9007199254740991,
                          "type": "integer"
                        },
                        "replacement": {
                          "type": "string"
                        },
                        "start": {
                          "maximum": 9007199254740991,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "type": {
                          "type": "string"
                        }
                      },
                      "required": [
                        "type",
                        "start",
                        "end",
                        "replacement",
                        "confidence"
                      ],
                      "type": "object"
                    },
                    "type": "array"
                  },
                  "limitation": {
                    "type": "string"
                  },
                  "redacted": {
                    "type": "string"
                  },
                  "types": {
                    "items": {
                      "type": "string"
                    },
                    "type": "array"
                  }
                },
                "required": [
                  "redacted",
                  "findings",
                  "count",
                  "types",
                  "limitation"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "required": false
    }
  },
  "tags": [
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws",
  "lastUpdated": "2026-09-16T18:06:33.666Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-16T18:06:33.52Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws",
    "manifest_name": "i3p3mgbsn54dvlivnk6wbumal40eqtsn.lambda-url.us-east-1.on.aws",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}