# HumanMirror Output Quality Gate

> HumanMirror Output Quality Gate is a paid API for AI agents from humanmirror.fr, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-12).

Validates and verifies the output quality of an agent or tool's HTTP response against deterministic acceptance criteria

## Facts

- Endpoint: POST https://humanmirror.fr/api/x402/output-quality?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-12
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/humanmirror-output-quality-gate-e829dced
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_a1nXFlEYfRb4R20QCZ2nA

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 humanmirror-output-quality-gate-e829dced -d '<json body>'
```

Example prompt: Run my agent's JSON output through HumanMirror's quality gate — the input is a POST body with JSON content — and tell me whether it passes the verified_success check.

## When to prefer this

Choose this endpoint when you need a deterministic, paid quality gate to verify that an agent or tool's HTTP output meets predefined acceptance criteria before allowing a downstream workflow step to proceed. It is especially useful in autonomous agent pipelines where trust and output correctness must be enforced programmatically.

## Known failure modes

- Input body missing required 'input' field returns validation error
- Unsupported HTTP method (GET, DELETE) rejected by schema
- Malformed or non-serializable JSON body causes parse failure
- Criteria mismatch results in a non-verified status rather than ok:true
- Network or payment failure returns no response

## How this service works

HumanMirror est le control plane des agents autonomes : décision avant action, preuve après exécution, routage machine et gouvernance de flotte.

## Output

Returns a JSON object with an 'ok' boolean indicating pass/fail, a 'status' string (e.g. 'verified_success') describing the outcome of the quality check, and a 'product' label identifying the gate that was applied.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "bodyType",
    "body"
   ],
   "properties": {
    "body": {
     "type": "object",
     "required": [
      "input"
     ],
     "properties": {
      "input": {
       "description": "JSON-serializable input for this deterministic outcome."
      },
      "options": {
       "type": "object",
       "description": "Optional tool-specific options."
      },
      "criteria": {
       "type": "object",
       "description": "Optional deterministic acceptance criteria."
      }
     },
     "additionalProperties": false
    },
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "POST",
      "PUT",
      "PATCH"
     ],
     "type": "string"
    },
    "bodyType": {
     "enum": [
      "json",
      "form-data",
      "text"
     ],
     "type": "string"
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   },
   "additionalProperties": false
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "status": "verified_success",
  "product": "HumanMirror Output Quality Gate"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/humanmirror-output-quality-gate-e829dced/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from humanmirror.fr](https://www.zero.xyz/host/humanmirror.fr/llms.txt)
