{"uid":"cap_mp7HsEB_A3yhFEEh81BeE","slug":"aient-ai-24e2d112","name":"Aient OpenTelemetry Log Search","description":"Search OpenTelemetry logs across your services with full-text and attribute filters; useful for grounding an LLM in real error messages before proposing a fix. Returns up to 200 log records.","url":"https://aient.ai/x402/telemetry/logs","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":{"limit":{"type":"integer"},"query":{"type":"string"},"since":{"type":"string","format":"date-time"},"until":{"type":"string","format":"date-time"},"service":{"type":"string"},"severity":{"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object","required":["logs"],"properties":{"logs":{"type":"array","items":{"type":"object"}},"nextCursor":{"type":"string"}}}}}}},"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_09iL_ulN6ZKqy4c0JojxN","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":"Search OpenTelemetry log records across services using full-text queries and attribute filters, returning up to 200 matching log entries","exampleAgentPrompt":"Search my Aient telemetry logs for the payment-service for ERROR severity messages containing 'connection refused' from the last 2 hours, and return up to 50 records so I can figure out why checkouts are failing.","exampleUseCases":null,"resultDescription":"Returns an array of up to 200 OpenTelemetry log record objects (each with timestamp, severity, body, and attributes), plus an optional nextCursor string for pagination. The logs match the provided full-text query and attribute filters.","failureModes":["No logs found matching filters — returns empty logs array","Invalid date-time format for since/until — returns 400 validation error","Unknown service name — returns empty result set","Limit exceeds maximum of 200 — may be capped or return 400","Authentication/payment failure — returns 402 payment required","Query syntax error — returns 400 with parse error details"],"whenToPreferThis":"Use this endpoint when you need to retrieve actual raw log records from OpenTelemetry-instrumented services, especially to ground an LLM in real error messages before proposing a fix. Prefer it over the traces endpoint when the signal of interest is log output (print statements, structured log events) rather than span timing. Prefer it over the problems endpoint when you need raw records rather than grouped error signatures.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T00:37:34.072Z","isFirstParty":false}