{"uid":"cap_M6g8cynphULTfad5wvndZ","slug":"strale-log-parse-api-ca139fc4","name":"Strale Log Parse API","description":"The trust layer for AI agents — 250+ independently tested data capabilities across 27 countries. Execute capabilities via REST, MCP, A2A, or x402 micropayments. Every call returns an audit record with cryptographic chain hashing.","url":"https://api.strale.io/x402/v2/log-parse","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","DELETE"],"type":"string"},"queryParams":{"type":"object","required":["logs"],"properties":{"logs":{"type":"string"}}}},"additionalProperties":false}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.054","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.054/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.054","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_eFtMeZccSXoy1_9OvL3Oy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.054","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Parses and structures raw log data submitted as a query parameter, returning structured output with an audit record.","exampleAgentPrompt":"Can you parse these raw server logs for me and extract the structured fields? Here are the logs: '2024-01-15T10:23:45Z ERROR [auth] Failed login attempt from 192.168.1.1 user=admin'","exampleUseCases":[{"title":"Debug application error logs","prompt":"I've got a bunch of raw error log lines from our Node.js app and need them parsed into structured JSON — can you run them through a log parser? Here's the log: '2024-01-15T10:23:45Z ERROR [api] Unhandled exception: TypeError: Cannot read property of undefined at index.js:42'"},{"title":"Extract fields from nginx access logs","prompt":"Parse this nginx access log line and pull out the IP address, timestamp, HTTP method, path, status code, and response size: '192.168.1.100 - - [15/Jan/2024:10:23:45 +0000] \"GET /api/health HTTP/1.1\" 200 1234'"},{"title":"Audit trail for compliance log review","prompt":"I need to parse these application audit logs and get back structured records with a cryptographic audit trail — the logs are: '2024-01-15 10:23:45 INFO [compliance] User john.doe accessed resource /documents/contract-2024.pdf'"}],"resultDescription":"Returns structured, parsed log data extracted from the raw log string input, along with a cryptographic audit record containing chain hashing that verifies the integrity and provenance of the parsing operation.","failureModes":["Missing required 'logs' query parameter returns validation error","Malformed or unparseable log format may return empty or partial extraction","Invalid HTTP method (only GET, HEAD, DELETE supported) returns 405","Network timeout if log string is extremely large","Payment failure or insufficient USDC balance blocks the request"],"whenToPreferThis":"Choose this endpoint when you need both log parsing and a cryptographic audit trail proving the parsing occurred — particularly useful in compliance, security, or regulated environments where you need verifiable records of data processing. Prefer this over generic log parsers when operating in an AI agent context that requires trust infrastructure or when audit chain hashing is a requirement.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-13T13:04:37.815Z","isFirstParty":false}