Server402 marketplace

Paid API service

AI Policy Compliance Checker

Checks supplied text against a provided policy and returns issues, severity, evidence, and remediation. Paid x402 Bailian/Qwen service. Call with the declared JSON schema; unpaid calls return HTTP 402 before model execution.

Invocation

Service ID
ai-policy-compliance-checker
Method
POST
Endpoint
/api/tools/ai-policy-compliance-checker
Legacy Endpoint
none
MCP Tool
ai_policy_compliance_checker
Price
USD 0.02

Payment

Call the endpoint without payment to receive HTTP 402 metadata. After payment is complete, retry with X-Payment-Token, an x402 payment signature, or MCP paymentToken.

Call POST /api/tools/ai-policy-compliance-checker once to receive HTTP 402 with accepts[] requirements, or create a payment with POST /api/payments using serviceId="ai-policy-compliance-checker". Pay Base USDC with PAYMENT-SIGNATURE or pay XIAO with X402-Guarantee, then retry the same request.

Schema And Examples

{
  "exampleRequest": {
    "content": "Example content.",
    "policy": "Example policy."
  },
  "exampleResponse": {
    "model": "qwen-plus",
    "provider": "aliyun-bailian",
    "result": {
      "summary": "Example structured result."
    },
    "service_id": "ai-policy-compliance-checker",
    "status": "ok"
  },
  "inputSchema": {
    "additionalProperties": true,
    "properties": {
      "content": {
        "description": "Required input field content.",
        "type": "string"
      },
      "context": {
        "description": "Optional supporting context, source text, constraints, or background.",
        "type": "string"
      },
      "language": {
        "description": "Optional output language or locale.",
        "type": "string"
      },
      "policy": {
        "description": "Required input field policy.",
        "type": "string"
      }
    },
    "required": [
      "policy",
      "content"
    ],
    "type": "object"
  },
  "outputSchema": {
    "additionalProperties": true,
    "properties": {
      "model": {
        "type": "string"
      },
      "provider": {
        "type": "string"
      },
      "result": {
        "additionalProperties": true,
        "type": "object"
      },
      "service_id": {
        "type": "string"
      },
      "status": {
        "type": "string"
      },
      "upstream_id": {
        "type": "string"
      },
      "upstream_request_id": {
        "type": "string"
      },
      "usage": {
        "additionalProperties": true,
        "type": "object"
      }
    },
    "required": [
      "status",
      "service_id",
      "result"
    ],
    "type": "object"
  }
}