# Delx Structured Log Summary

> Delx Structured Log Summary 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-14).

Summarizes log severity and hashed error fingerprints from raw log text, returning bounded machine-readable JSON without exposing sensitive error lines

## Facts

- Endpoint: POST https://api.delx.ai/api/v1/x402/structured-log-summary
- Price: $0.002/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/delx-structured-log-summary-c2f6b200
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_FOX5WoDRixWGiN8CtHe0B

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-structured-log-summary-c2f6b200 -d '<json body>'
```

Example prompt: Before we retry that failed API call, can you summarize the severity levels and hashed error fingerprints from these logs so I know what we're dealing with without exposing any sensitive lines?

## When to prefer this

Choose this endpoint when you need a safe, privacy-preserving summary of log data before an autonomous agent takes action — especially when logs may contain sensitive information you don't want surfaced verbatim. It is ideal as a preflight check before retrying requests, changing APIs, or evaluating production reliability. Prefer it over full log parsers when you need deterministic, stateless, first-party processing with no upstream provider calls and a low per-call cost.

## Known failure modes

- Input log_text exceeds 1,000,000 character limit — request rejected with validation error, not billed
- Malformed or empty log_text — validation failure returned, not billed
- Network timeout or service unavailability — HTTP 5xx error
- Payment failure via x402 on Base — transaction not processed, no summary returned

## How this service works

Summarize log severity and hashed error fingerprints without returning sensitive error lines. 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

Returns a bounded machine-readable JSON object containing log severity classifications (e.g. counts of ERROR, WARN, INFO levels) and hashed error fingerprints representing distinct error patterns, without returning the raw sensitive error lines themselves. Structured validation failures 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": {
  "levels": {
   "info": 0,
   "warn": 0,
   "debug": 0,
   "error": 1,
   "fatal": 0,
   "unknown": 0
  },
  "schema": "delx/structured-log-summary/v1",
  "line_count": 1,
  "top_error_fingerprints": [
   {
    "count": 1,
    "fingerprint_sha256": "0759957d9c439e32e2a7bbba57c58a6845d5af90aa85cc87d96b6a108d7130dc"
   }
  ],
  "raw_error_lines_returned": false
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/delx-structured-log-summary-c2f6b200/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)
