# Proofwork GitHub Actions Log Parser

> Proofwork GitHub Actions Log Parser is a paid API for AI agents from proofwork-the402-webhook.phase-voice.workers.dev, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-14).

Parses GitHub Actions log files to extract failure details, stack traces, failing steps, and suggested fix categories.

## Facts

- Endpoint: GET https://proofwork-the402-webhook.phase-voice.workers.dev/v1/github-actions-log-parser
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/proofwork-github-actions-log-parser-62069063
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_kP4B0XGyqr9xocsOd5Pdq

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 proofwork-github-actions-log-parser-62069063
```

Example prompt: I have these GitHub Actions log files from a failing CI run — can you parse them and tell me what failed, what the stack trace is, and what category of fix I probably need?

## When to prefer this

Choose this endpoint when you need a structured, machine-readable breakdown of GitHub Actions CI failures — especially when you want to automatically extract stack traces, identify failing steps, and get a fix category without manual log inspection. Ideal for agents automating PR triage, CI monitoring, or developer workflow assistants. Prefer this over generic log search when you specifically need GitHub Actions log structure understood and parsed.

## Known failure modes

- Malformed or non-URL-encoded logs query parameter returns a parsing error
- Logs with no detectable failure may return parse_status indicating no failure found
- Empty or missing 'logs' parameter causes a 400-level validation error
- Very large log files may be truncated or cause timeouts
- Payment not completed via x402 on Base results in a 402 Payment Required response

## How this service works

Small non-cyber evidence and data APIs payable per request with x402 on Base.

## Output

A structured JSON report containing: the report type ('github_actions_failure_report'), list of parsed log filenames, the extracted stack trace, the name of the failing step (e.g. 'pytest'), the failure type (e.g. 'test'), parse status indicating whether a failure was found, the raw error message, and a suggested fix category (e.g. 'tests').

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "queryParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "required": [
      "logs"
     ],
     "properties": {
      "logs": {
       "type": "string",
       "description": "URL-encoded JSON object mapping public log filenames to text"
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "report": "github_actions_failure_report",
  "log_files": [
   "2_Test.txt"
  ],
  "stack_trace": "FAILED tests/test_api.py::test_ok - AssertionError: 401 != 200",
  "failing_step": "pytest",
  "failure_type": "test",
  "parse_status": "failure_found",
  "error_message": "FAILED tests/test_api.py::test_ok - AssertionError: 401 != 200",
  "suggested_fix_category": "tests"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/proofwork-github-actions-log-parser-62069063/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from proofwork-the402-webhook.phase-voice.workers.dev](https://www.zero.xyz/host/proofwork-the402-webhook.phase-voice.workers.dev/llms.txt)
