# ScriptMasterLabs Compliance Anomaly Reporting API

> ScriptMasterLabs Compliance Anomaly Reporting API is a paid API for AI agents from scriptmasterlabs.com, paid per call via x402, $5/call, status unknown (last checked 2026-12-03).

Reports a compliance anomaly or suspicious event detected by an AI agent for a specific bank, triggering a compliance workflow.

## Facts

- Endpoint: POST https://scriptmasterlabs.com/api/compliance/anomaly?utm_source=zero.xyz
- Price: $5/call
- Payment: x402
- Status: unknown
- Last checked: 2026-12-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/scriptmasterlabs-compliance-anomaly-reporting-api-546f164a
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_O4jcUjLFHEW4yCbTJEnib

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability scriptmasterlabs-compliance-anomaly-reporting-api-546f164a -d '<json body>'
```

Example prompt: Flag a HIGH severity compliance anomaly to bank ID 'BNK-00421' — the trigger is 'unusual_large_transfer', and the agent ID is 'agent-risk-007'. Include the detail: 'A $2.3M wire transfer was initiated outside business hours to an unverified foreign account.'

## When to prefer this

Use this endpoint when an AI agent operating in a financial or banking compliance context detects an anomalous event that needs to be formally logged and escalated into a compliance workflow. It is purpose-built for agent-driven compliance reporting with structured severity levels and evidence submission, making it ideal for automated AML, fraud, and KYC monitoring pipelines.

## Known failure modes

- Missing required fields (bank_id, agent_id, or trigger) returns a 400 validation error
- Invalid severity enum value causes rejection
- Unknown or unrecognized bank_id may return a 404 or validation error
- Payment not included or insufficient USDC results in a 402 Payment Required response
- Duplicate or replayed submissions may be accepted again since endpoint is non-idempotent
- Network timeouts or service unavailability return 5xx errors

## How this service works

x402 pay-per-call APIs, MCP servers and practical AI field guides from a veteran-owned lab. Verify the provider, then pay per accepted call.

## Output

A confirmation that the compliance anomaly report was received and the compliance workflow was triggered, likely including a reference ID, timestamp, and acknowledgment of the severity and trigger type.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "required": [
  "bank_id",
  "trigger",
  "agent_id"
 ],
 "properties": {
  "detail": {
   "type": "string"
  },
  "bank_id": {
   "type": "string"
  },
  "trigger": {
   "type": "string"
  },
  "agent_id": {
   "type": "string"
  },
  "evidence": {
   "type": "object"
  },
  "severity": {
   "enum": [
    "CRITICAL",
    "HIGH",
    "MEDIUM",
    "LOW"
   ],
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/scriptmasterlabs-compliance-anomaly-reporting-api-546f164a/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from scriptmasterlabs.com](https://www.zero.xyz/host/scriptmasterlabs.com/llms.txt)
