{"uid":"cap_waQVIhL3Fmr2FhJ3yEjyd","slug":"delx-commerce-structured-log-summary-847b99f0","name":"Delx Commerce — Structured Log Summary","description":"Pay-per-result APIs for agents. No signup. Exact price. Verifiable delivery. USDC on Base + Solana via x402.","url":"https://commerce.delx.ai/api/v1/x402/structured-log-summary?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"log_text":{"type":"string","maxLength":1000000}}},"responseSchema":{"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}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.002","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.002/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.002","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_GRoIqQRmCX-0-7gtEIfni","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.002","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes raw log text and returns a structured summary including log level counts, line count, top error fingerprints, and a deduplication-friendly error digest.","exampleAgentPrompt":"Can you analyze this log dump and give me a structured summary — count the info, warn, error, and fatal lines, and identify the top recurring error fingerprints? Here's the log text: [paste log here]","exampleUseCases":[{"title":"Production incident error triage","prompt":"I just got paged — here's the last 10,000 lines from our production server log. Can you summarize it for me: how many errors and fatals are there, and what are the most repeated error signatures?"},{"title":"CI/CD pipeline log review","prompt":"Here's the build log from our failed deployment. Can you give me a structured breakdown of the log levels and flag the top error fingerprints so I can figure out what broke?"},{"title":"Daily log health check","prompt":"I want to do a quick health check on our app logs from last night. Can you analyze this log text and tell me the count of each log level and highlight any recurring error patterns?"}],"resultDescription":"Returns a JSON object with the schema identifier 'delx/structured-log-summary/v1', containing: counts of log lines by level (info, warn, debug, error, fatal, unknown), total line count, and an array of top error fingerprints each with a SHA-256 hash and occurrence count. Optionally includes raw error lines depending on configuration.","failureModes":["Log text exceeds 1,000,000 character limit — request will be rejected","Malformed or non-text input — parsing may return empty or zeroed level counts","Payment failure via x402 — request not processed, 402 response returned","Empty log text — returns zeroed counts with no fingerprints"],"whenToPreferThis":"Choose this endpoint when you need a fast, cheap ($0.002), pay-per-use structured digest of raw log text without setting up any log aggregation infrastructure. It is especially useful for AI agents that need to programmatically triage errors from log blobs, deduplicate repeated error messages via SHA-256 fingerprinting, or extract level-based statistics in a single API call with no signup required.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-01T00:54:09.190Z","isFirstParty":false,"canonicalSlug":"delx-commerce-structured-log-summary-847b99f0"}