---
title: "x402 pay-per-call — Validate AI output"
method: POST
path: "/x402/v1/validate-output"
---

# x402 pay-per-call — Validate AI output

`POST /x402/v1/validate-output`

## Request

- Base URL: `https://api.scrubmytext.com`
- URL: `https://api.scrubmytext.com/x402/v1/validate-output`
- Auth: none declared

Dedicated x402 pay-per-call route. The first request returns HTTP 402 with PAYMENT-REQUIRED. Retry with PAYMENT-SIGNATURE. This route does not consume the free trial.

## Headers

- `PAYMENT-SIGNATURE` string

## Request body

- object
  - `output` unknown, required
  - `schema` object

## Response `200`

Successful result

## Other responses

- `400`: Invalid input
- `401`: API key required or invalid
- `402`: Payment Required
- `429`: Monthly usage limit reached

---

[API](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api.md) · [All operations](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api/llms.txt) · [OpenAPI document](https://skmtc.dev/scrubmytext/apis/scrubmytext-agent-infrastructure-api/revisions/54ace36baccf?raw)
