{"uid":"cap_0cYXh12XuL4q54wxFR-gY","slug":"x402-observability-poc-trace-session-summary-475d2fe0","name":"x402 Observability POC – Trace Session Summary","description":"Computed session trace summary (calls, tokens, cost, error count, slowest call)","url":"https://x402-observability-poc.theliminalguy.workers.dev/trace/bootstrap-test/summary?utm_source=zero.xyz","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"},"pathParams":{"type":"object"},"queryParams":{"type":"object","properties":{}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.008","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.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_erxt-Ag93fOC-kSka2gvA","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Returns a computed summary of a named session trace including call count, token usage, cost, error count, and slowest call","exampleAgentPrompt":"Pull up the trace summary for the bootstrap-test session — I want to see how many calls were made, total token usage, cost, any errors, and which call was the slowest.","exampleUseCases":[{"title":"Agent run cost audit","prompt":"What did the bootstrap-test session cost in total, and how many tokens did it burn through? Give me the full trace summary."},{"title":"Error triage after failed run","prompt":"My bootstrap-test agent run had some issues — can you get the trace summary and tell me how many errors occurred and what the slowest call was?"},{"title":"Performance baseline review","prompt":"I want to benchmark my bootstrap-test session — fetch the trace summary so I can see call count, latency on the slowest call, and overall cost."}],"resultDescription":"A structured summary object for the named session trace containing: total number of calls made, aggregate token count consumed, total cost incurred, error count, and the identifier or duration of the slowest call in that trace.","failureModes":["Unknown trace name returns 404 or empty result","Trace not yet finalized may return incomplete aggregates","Payment failure (x402) blocks access and returns 402 Payment Required","Trace ID typo yields no data","Stale or expired trace data may not reflect recent calls"],"whenToPreferThis":"Use this endpoint when you need a quick rolled-up view of a specific named session trace (calls, tokens, cost, errors, latency) without querying raw log streams. Prefer this over raw trace endpoints when you want pre-computed aggregates for a session identified by name, especially for cost accounting or post-run debugging of AI agent workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-20T06:40:04.016Z","isFirstParty":false,"canonicalSlug":"x402-observability-poc-trace-session-summary-475d2fe0"}