{"uid":"cap_oLos89iMfrw9tjnLcxkEt","slug":"aient-ai-d1cb4010","name":"Aient Telemetry Span Fetcher","description":"Fetch all spans for a given traceId so an agent can walk the full call tree and identify the failing component.","url":"https://aient.ai/x402/telemetry/spans","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","required":["traceId"],"properties":{"traceId":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["spans"],"properties":{"spans":{"type":"array","items":{"type":"object"}}}}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005000","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","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.005000/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_R4XlrfXJYwXSwhFy6GF0K","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Fetches all spans for a given traceId so an agent can walk the full distributed call tree and pinpoint the failing component.","exampleAgentPrompt":"Pull all the spans for trace ID 4bf92f3577b34da6a3ce929d0e0e4736 so I can see the full call tree and figure out which service is causing the failure.","exampleUseCases":null,"resultDescription":"Returns an array of span objects representing every step in the distributed call tree for the specified traceId, including span metadata, timing, attributes, and parent-child relationships that enable root-cause analysis.","failureModes":["Missing or invalid traceId query parameter returns a 400 error","Unknown traceId with no matching spans may return an empty spans array","Expired or out-of-retention traceId returns no results","Payment not provided or insufficient USDC results in 402 Payment Required","Rate limiting may return 429 Too Many Requests"],"whenToPreferThis":"Use this endpoint when you have a specific traceId and need the full span breakdown of a distributed request — ideal for root-cause analysis, identifying which microservice failed, or understanding latency bottlenecks within a single trace. Prefer over the broader trace query endpoint when you already know the traceId and want granular span-level detail.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T06:33:16.189Z","isFirstParty":false}