---
title: "Log Parse (x402)"
method: GET
path: "/x402/v2/log-parse"
tags: ["x402"]
---

# Log Parse (x402)

`GET /x402/v2/log-parse`

## Request

- Base URL: `https://api.strale.io`
- URL: `https://api.strale.io/x402/v2/log-parse`
- Auth: none required

Parse log files — auto-detects format (JSON, syslog, ISO, logfmt, Laravel). Extracts timestamps, levels, messages. Returns error/warning summary. Algorithmic.

## Query parameters

- `logs` string, required

## Response `200`

Success

- object
  - `errors` unknown[]
    - unknown
  - `error_count` integer
  - `total_lines` integer
  - `level_counts` object
  - `detected_format` string

## Other responses

- `402`: Payment required (x402 — pay with USDC on Base)

---

[API](https://skmtc.dev/strale/apis/strale-api-2.md) · [All operations](https://skmtc.dev/strale/apis/strale-api-2/llms.txt) · [OpenAPI document](https://skmtc.dev/strale/apis/strale-api-2/revisions/a5293878cfc6?raw)
