AI output validation API

The reliability layer
between your AI and production.

Watchtower validates every AI output against a rule set you define — pass/fail, score, and the exact constraints that failed. One HTTP call. Sub-100ms. No model dependency.

No credit card · 5-minute integration · API-first
# Validate an AI output against a rule set
curl -X POST https://nexxtool.ai/wt/v1/validate \
  -H "Authorization: Bearer wtk_live_..." \
  -H "Content-Type: application/json" \
  -d '{
    "output":   "Order confirmed for John Doe.",
    "contract": {
      "type":         "text",
      "must_contain": ["Order confirmed"],
      "min_length":   10
    }
  }'

# → { pass: true, score: 1.00, issues: [], duration_ms: 8 }
Try it now

Run a real validation in your browser.

Edit the AI output and the rule set on the left. Click Run validation. Same rule set format the API uses — no key required for this preview.

Validation playground · type: text
AI output to validate
Rule set (JSON)
Result
Click "Run validation" to see pass/fail/score/issues. Edit the output above to see how the rule set reacts in real time.
Runs locally in your browser — no data leaves this page. Sign up to use the real API. Get an API key →
What it does

Validate every AI output. Catch failures before users do.

Most teams running AI in production have no objective signal for output quality. They find out about failure modes from customer complaints. Watchtower is the missing CI step for AI workloads.

01

Rule-set–based validation

Describe what "good" looks like in JSON: substring, schema, structural, brand-conformance. Six types: text, html, json, script, research, automation.

02

Pass / fail / score

Every call returns a verdict, a 0–1 score, and an issues array naming each constraint that failed. Predictable, structured, machine-readable.

03

No model dependency

Built-in checks run deterministically — no LLM in the validation path. Sub-100ms server time. Optional repair returns a fixed output (HTML doctype, palette, CTA).

Who it's for

Teams shipping AI features into production.

If your AI output reaches a real user, customer, or downstream system, Watchtower is the safety net. If it's just an internal experiment, you don't need us yet.

Platform teams running model APIs

Add a single check after your model call. Fail loud, repair quietly, log everything. Hooks into existing observability.

Product teams shipping AI features

Stop relying on prompt engineering hope. Define the rule set once, enforce it on every output, ship with confidence.

Automation pipelines

When AI generates HTML, JSON, scripts, or research outputs, Watchtower verifies structure, fields, palette, fonts, length — before they hit downstream systems.

Eval & QA engineers

Move from notebook benchmarks to runtime rule sets. Sample any percentage, fail builds when score drops, page on regressions.

How it works

Three components. One HTTP call. Zero infra.

Step 1
Your AI emits an output
From any model, any provider
Step 2
POST to Watchtower
/wt/v1/validate · Bearer key
Step 3
Pass, fail, score, issues
Plus the optional repair
Built-in idempotency via Idempotency-Key, sliding-window per-key rate limit, monthly quota, every result persisted and queryable from the dashboard.
Security & reliability

Built for production traffic.

Bearer-token auth

Hashed at rest. wtk_live_ / wtk_test_ prefix. Revoke any key instantly — 401 on next call.

Row-level isolation

Postgres RLS enforces tenant isolation on every read. No cross-tenant leakage possible at the database layer.

Idempotent retries

Pass Idempotency-Key for safe retries. Replay returns the original response. Conflicting body returns 409.

Predictable quotas

Per-tier monthly cap + per-second rate limit, surfaced in every response header and the dashboard. No surprise overage charges.

Pricing

Start free. Pay only when you scale.

Simple monthly tiers. No commitment. No overage charges — hit the cap and requests pause until next period or upgrade.

Free

$0 /mo
  • 100 validations / mo
  • 10 req / second
  • 30-day retention
  • 1 API key
Get started

Pro

$99 /mo
  • 100,000 validations / mo
  • 200 req / second
  • 90-day retention
  • Priority email support
Start Pro

Scale

$299 /mo
  • 1,000,000 validations / mo
  • 1000 req / second
  • 1-year retention
  • SLA on request
Contact us
Full pricing details in /pricing · Cancel anytime from the dashboard

Ship in 5 minutes.

Sign in, create a key, paste the curl. Your first validation runs in real time and shows up in your dashboard immediately.

FAQ

Common questions

Is Watchtower an AI model?
No. The built-in validators are deterministic — substring, schema, structural, palette/font/CTA checks for HTML, etc. No LLM is in the validation path by default. This is exactly why latency is sub-100ms server time and pricing is predictable.
Which models / providers does it work with?
Any. Watchtower validates the output text, not the model. OpenAI, Anthropic, Google, open-source — if your code receives an output string, you can POST it.
What about repair?
Optional. Set repair: true in your rule set and Watchtower attempts to fix common issues (HTML doctype, palette, CTA gaps). The repaired output is returned alongside the verdict. Repair counts as 1 extra credit per call.
What counts as one validation?
Each successful POST /wt/v1/validate = 1 credit. Failed-input requests (400/401/etc.) are not billed. Repair runs add 1 credit if applied.
How do rate limits work?
Sliding 1-second window per API key, tier-aware. Free: 10 req/s. Starter: 50. Pro: 200. Scale: 1000. Every response includes X-RateLimit-Limit, X-RateLimit-Remaining, and X-RateLimit-Window headers.
What happens at the monthly cap?
Calls return 402 quota_exceeded until the next period (1st of each month UTC) or upgrade. No silent overage charges, ever.
How do I cancel?
From the dashboard. Plan & usage card → Manage subscription → Stripe customer portal → cancel. Cancellation takes effect at end of current period.
Is signup open?
Watchtower is in alpha. Self-signup may be gated; if so the sign-in screen shows an invite-only message. Email support@nexxtool.ai for early access.