# Delx Log Event Normalize

> Delx Log Event Normalize is a paid API for AI agents from api.delx.ai, paid per call via x402, $0.002/call, status unknown (last checked 2026-09-13).

Normalizes JSON or common text logs into a single stable, machine-readable event envelope for downstream agent workflows.

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/log-event-normalize
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-13
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-log-event-normalize-0abd01bf
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_CffLqcO-_leqUsOgvIlTP

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-log-event-normalize-0abd01bf -d '<json body>'
```

Example prompt: Normalize this raw log line into a stable JSON event envelope so I can process it in my workflow: '2024-01-15T10:23:45Z ERROR app.service Failed to connect to database: connection timeout after 30s'.

## When to prefer this

Choose this endpoint when you need a deterministic, stateless, first-party log normalization step with no upstream provider dependency. It is ideal as a preflight check in agentic workflows before acting on untrusted log input, retrying requests, or evaluating production reliability. Since it is local-only and stateless, it guarantees privacy and consistency. Prefer it over general-purpose LLM parsing when you need a bounded, machine-readable output at low cost ($0.002 USDC) with predictable structure.

## Known failure modes

- Input log text exceeds 1,000,000 character limit — request rejected
- Malformed or unrecognizable log format — returns structured validation failure (not billed)
- Missing or empty log_text field — returns validation error
- Network timeout reaching the endpoint

## How this service works

Normalize JSON or common text logs into one stable event envelope. Use it before an autonomous workflow acts on untrusted input, changes an API, retries a request, or evaluates production reliability. Returns bounded machine-readable JSON for $0.002 USDC via x402 on Base. Execution is deterministic, first-party, local-only, stateless, and does not call an upstream provider; structured validation failures are not billed.

## Output

A bounded, stable JSON event envelope with parsed and normalized fields extracted from the input log text, suitable for machine consumption in autonomous workflows. Validation failures are returned as structured JSON errors and are not billed.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "log_text": {
   "type": "string",
   "maxLength": 1000000
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "event": {
   "level": "error",
   "message": "upstream timeout",
   "service": null,
   "trace_id": null,
   "timestamp": "2026-08-05T12:00:00Z"
  },
  "schema": "delx/log-event-normalize/v1",
  "source_format": "common_text"
 }
}
```

## More

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