# Agent Trace Brief

> Agent Trace Brief is a paid API for AI agents from relay402.georgespring.workers.dev, paid per call via x402, $0.02/call, status unknown (last checked 2026-09-14).

Scans agent run trace JSON or log text for failures, timeouts, and auth/payment errors, returning a compact risk report.

## Facts

- Endpoint: GET https://relay402.georgespring.workers.dev/api/agent-trace-brief
- Price: $0.02/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agent-trace-brief-2e5c3097
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_S1dljBRMwYf-toXxfBpJZ

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 agent-trace-brief-2e5c3097
```

Example prompt: Can you scan this agent run trace JSON for failures, timeouts, and auth or payment errors and give me a compact risk report? Here's the trace: {"steps":[{"tool":"web_search","status":"timeout","duration_ms":30000},{"tool":"payment","status":"auth_error"}]}

## When to prefer this

Use this endpoint when you need a fast, structured risk summary of an AI agent's execution trace, particularly to surface failures, timeouts, and auth/payment errors without manually parsing verbose log output. Ideal for agent observability pipelines, post-run diagnostics, and pre-deployment health checks on agent runs.

## Known failure modes

- trace_json parameter missing or empty — returns validation error
- Trace JSON exceeds 64,000 character limit — rejected with size error
- Malformed or unparseable JSON in trace — may return partial results or parse error
- No failures detected — returns empty or clean risk report
- Payment not completed via x402 — returns 402 Payment Required

## How this service works

trace brief for agent runs: scans trace JSON or log text for failures, timeouts and auth/payment errors and returns a compact risk report.

## Output

A compact risk report identifying failures, timeouts, and auth/payment errors found in the submitted trace JSON or log text, structured for quick triage.

## 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"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "$schema": "https://json-schema.org/draft/2020-12/schema",
     "required": [
      "trace_json"
     ],
     "properties": {
      "trace_json": {
       "type": "string",
       "maxLength": 64000,
       "minLength": 1
      }
     },
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agent-trace-brief-2e5c3097/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from relay402.georgespring.workers.dev](https://www.zero.xyz/host/relay402.georgespring.workers.dev/llms.txt)
