# Trace Agent Log Parser

> Trace Agent Log Parser is a paid API for AI agents from trace-agent-production.up.railway.app, paid per call via x402, $0.01/call, status unknown (last checked 2026-09-15).

Parses a raw agent execution log into structured steps and produces a forge_ready block with a suggested score and tags

## Facts

- Endpoint: GET https://trace-agent-production.up.railway.app/entrypoints/trace/invoke
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/trace-agent-log-parser-a600487f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_q2-QgNByH5pUl7iuU8B_p

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 trace-agent-log-parser-a600487f
```

Example prompt: Parse this raw LangChain agent execution log into structured steps and give me a forge_ready block with a suggested score and tags — the log format is langchain and the session ID is session-abc123: [raw log text here].

## When to prefer this

Use this endpoint when you need to parse raw agent execution logs — from LangChain, OpenAI, OpenTelemetry, or plaintext — into structured steps and want an automated forge_ready score and tags for evaluation or cataloging purposes. Prefer this over custom log parsers when you need a normalized, scored output ready for downstream agent observability workflows.

## Known failure modes

- Invalid or unparseable log content returns an error or empty steps
- Unsupported log format causes parsing failure even if format is specified
- Missing or empty log field results in a validation error
- Mismatched format enum value vs actual log structure may produce malformed steps
- Network or service downtime on railway.app returns a 5xx error

## How this service works

Parse a raw agent execution log into structured steps + a forge_ready block (suggested score & tags)

## Output

Returns structured execution steps extracted from the raw agent log, plus a forge_ready block containing a suggested quality score and relevant tags for the agent run

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "log": {
   "type": "string",
   "description": "Raw agent execution log"
  },
  "format": {
   "enum": [
    "auto",
    "plaintext",
    "json",
    "opentelemetry",
    "langchain",
    "openai"
   ],
   "type": "string"
  },
  "agent_id": {
   "type": "string"
  },
  "session_id": {
   "type": "string"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/trace-agent-log-parser-a600487f/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from trace-agent-production.up.railway.app](https://www.zero.xyz/host/trace-agent-production.up.railway.app/llms.txt)
