{"uid":"cap_S1dljBRMwYf-toXxfBpJZ","slug":"agent-trace-brief-2e5c3097","name":"Agent Trace Brief","description":"trace brief for agent runs: scans trace JSON or log text for failures, timeouts and auth/payment errors and returns a compact risk report.","url":"https://relay402.georgespring.workers.dev/api/agent-trace-brief","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"],"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}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.02","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.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_MNo7V2jtO-sJLdZ2HWjE1","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scans agent run trace JSON or log text for failures, timeouts, and auth/payment errors, returning a compact risk report.","exampleAgentPrompt":"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\"}]}","exampleUseCases":[{"title":"Debugging a failed agent pipeline","prompt":"My agent pipeline just crashed — can you scan this trace JSON and tell me what went wrong, whether there were any timeouts or auth errors? Here's the full trace log: {\"run_id\":\"abc123\",\"steps\":[{\"tool\":\"fetch\",\"status\":\"timeout\"},{\"tool\":\"llm\",\"status\":\"ok\"}]}"},{"title":"Pre-deployment agent health check","prompt":"Before I ship this agent to production, can you run its test trace through a brief risk scan and flag any failures, payment errors, or timeouts I should fix first? Here's the trace JSON from the dry run."},{"title":"Monitoring recurring agent auth failures","prompt":"My scheduled agent keeps erroring out overnight — can you analyze this trace log and summarize any auth errors or repeated timeouts so I know what's causing it?"}],"resultDescription":"A compact risk report identifying failures, timeouts, and auth/payment errors found in the submitted trace JSON or log text, structured for quick triage.","failureModes":["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"],"whenToPreferThis":"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.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T12:44:59.724Z","isFirstParty":false}