# Delx Commerce — Audit Event Normalize

> Delx Commerce — Audit Event Normalize is a paid API for AI agents from commerce.delx.ai, paid per call via x402, $0.003/call, status unknown (last checked 2026-10-01).

Normalizes raw audit event objects into a standardized schema, redacting actor PII and extracting key fields like action, outcome, and resource.

## Facts

- Endpoint: POST https://commerce.delx.ai/api/v1/x402/audit-event-normalize?utm_source=zero.xyz
- Price: $0.003/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-01
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-commerce-audit-event-normalize-cc92c915
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Q_6IHAMEWWLQ13nJ-dMBO

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 delx-commerce-audit-event-normalize-cc92c915 -d '<json body>'
```

Example prompt: Can you normalize this audit event for me — the action is 'deploy', actor is a user identifier, and the outcome is 'allowed'? I need it in the standard Delx audit schema with the actor PII redacted.

## When to prefer this

Choose this endpoint when you need to canonicalize heterogeneous audit event data into a consistent, PII-safe schema — especially useful in multi-source log pipelines, compliance workflows, or security event aggregation systems. Prefer it over manual normalization when actor identity must be reliably redacted and hashed. Its pay-per-call model (no signup) makes it ideal for agent workflows processing audit events on demand.

## Known failure modes

- Missing or malformed 'event' object returns a validation error
- Unrecognized event field types may be dropped or null-filled in output
- Payment failure via x402 results in 402 response before processing
- Empty event object may return minimal normalized output with null fields

## How this service works

Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.

## Output

Returns a normalized audit event object conforming to the 'delx/util-audit-event-normalize/v1' schema, including standardized fields (action, outcome, resource, timestamp, request_id), a SHA-256 hash of the actor (with actor_redacted: true), and a list of the source fields that were present in the input.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "event": {
   "type": "object",
   "description": "Input field: event."
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "event": {
   "action": "deploy",
   "outcome": "allowed",
   "resource": null,
   "timestamp": null,
   "request_id": null,
   "actor_sha256": "cfad431af89dd48c0fe73ace99b92019c422ecc24ca8ea828d1e276ac202a345"
  },
  "schema": "delx/util-audit-event-normalize/v1",
  "source_fields": [
   "action",
   "actor",
   "outcome"
  ],
  "actor_redacted": true
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-commerce-audit-event-normalize-cc92c915/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from commerce.delx.ai](https://www.zero.xyz/host/commerce.delx.ai/llms.txt)
