{
  "format": "delx/intent-card/v1",
  "id": "log-event-normalize-api",
  "intent": "Log Event Normalize for an agent workflow",
  "title": "Log Event Normalize API for agents",
  "description": "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.",
  "keywords": [
    "Log Event Normalize API",
    "Log Event Normalize for agents",
    "pay per result API",
    "x402 API",
    "no API key"
  ],
  "updated_at": "2026-08-06",
  "canonical_url": "https://commerce.delx.ai/intents/log-event-normalize-api",
  "machine_url": "https://commerce.delx.ai/intents/log-event-normalize-api.json",
  "recommendation": {
    "tool_name": "util_log_event_normalize",
    "service_name": "Delx Log Event Normalize",
    "method": "POST",
    "resource": "https://api.delx.ai/api/v1/x402/log-event-normalize",
    "price_usdc": "0.002",
    "payment_protocols": [
      "x402",
      "mpp"
    ],
    "input_schema": {
      "type": "object",
      "properties": {
        "log_text": {
          "type": "string",
          "maxLength": 1000000
        }
      },
      "required": [
        "log_text"
      ],
      "additionalProperties": true
    },
    "example_input": {
      "log_text": "2026-08-05T12:00:00Z ERROR upstream timeout"
    },
    "example_output": {
      "schema": "delx/log-event-normalize/v1",
      "source_format": "common_text",
      "event": {
        "timestamp": "2026-08-05T12:00:00Z",
        "level": "error",
        "message": "upstream timeout",
        "service": null,
        "trace_id": null
      }
    },
    "agentcash": {
      "buy": "npx agentcash@latest fetch https://api.delx.ai/api/v1/x402/log-event-normalize -m POST -H 'x-delx-source: intent-card-log-event-normalize-api' --max-amount 0.002 -b '{\"log_text\":\"2026-08-05T12:00:00Z ERROR upstream timeout\"}'",
      "max_amount_usdc": "0.002"
    }
  },
  "attribution": {
    "header": "x-delx-source",
    "value": "intent-card-log-event-normalize-api"
  },
  "evidence": {
    "paid_openapi": "https://api.delx.ai/openapi.x402.json",
    "governed_portfolio": "https://api.delx.ai/x402-portfolio.json",
    "live_contract": "https://api.delx.ai/api/v1/x402/log-event-normalize"
  }
}
