# HumanMirror Automata Context Compressor & Sanitizer

> HumanMirror Automata Context Compressor & Sanitizer is a paid API for AI agents from humanmirror.fr, paid per call via x402, $0.001/call, status unknown (last checked 2026-10-03).

Compresses and sanitizes autonomous agent context payloads, validating trigger events and declared connector availability before downstream processing.

## Facts

- Endpoint: POST https://humanmirror.fr/api/x402/automata-context-compressor-sanitizer?utm_source=zero.xyz
- Price: $0.001/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-03
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/humanmirror-automata-context-compressor-sanitizer-2f79a9c3
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_16khE0l-8d4H_F5eFza1m

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-automata-context-compressor-sanitizer-2f79a9c3 -d '<json body>'
```

Example prompt: Can you run my automata context through HumanMirror's compressor and sanitizer? The event type is 'incident_detected', the available connectors are ['slack', 'pagerduty'], and here's the raw context object: {source: 'monitor-a', severity: 'high'}.

## When to prefer this

Choose this endpoint when an autonomous agent needs to compress or sanitize a context payload before passing it to another system, especially when the context may contain sensitive or bulky incident metadata. It is particularly useful in multi-agent pipelines where connector availability must be declared and validated, and where raw context must not be persisted downstream. Prefer this over generic validation services when working within the HumanMirror trust infrastructure for agentic workflows.

## Known failure modes

- Missing required 'input' object returns a validation error
- Invalid 'method' value outside POST/PUT/PATCH enum causes rejection
- Malformed or non-JSON body when bodyType is 'json' causes parse failure
- Unrecognized connector names may pass through but are not verified as authorized
- Payment failure via x402 protocol results in 402 response before processing

## How this service works

HumanMirror — infrastructure de confiance, gouvernance, découverte et échange pour systèmes autonomes.

## Output

Returns a JSON object with an 'ok' boolean, a 'status' string (e.g. 'verified_success'), and a 'product' label confirming the HumanMirror Context Compressor & Sanitizer processed the payload. No raw context is persisted.

## 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",
     "properties": {
      "context": {
       "type": "object",
       "description": "Optional incident metadata. The paid decision call does not persist raw context."
      },
      "connectors": {
       "type": "array",
       "items": {
        "type": "string"
       },
       "description": "Connector names declared as available; this is not proof of authorization."
      },
      "event_type": {
       "type": "string",
       "description": "Optional observed event type for trigger matching."
      }
     },
     "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 Context Compressor & Sanitizer"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/humanmirror-automata-context-compressor-sanitizer-2f79a9c3/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)
