{"uid":"cap_N-6XTQZlpxHPF1mtsHl9C","slug":"writerslogic-transcript-validator-85299a0d","name":"WritersLogic Transcript Validator","description":"Pay-per-call agents settled in USDC on Base via x402. Every response carries a signed provenance envelope.","url":"https://agents.writerslogic.com/api/v1/transcript-validator?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"messages":{"type":"array","items":{"description":"A provider-shaped message (anthropic, openai-chat) or input item (openai-responses)."},"maxItems":500,"minItems":1},"provider":{"enum":["anthropic","openai-chat","openai-responses"],"type":"string"},"expectComplete":{"type":"boolean","description":"Default true: a trailing tool call without a result is a defect. Set false when the transcript is mid-loop and results are still pending."}}},"responseSchema":{"type":"json"},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/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_4YWcsKrZlazgMwuGnjob9","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":"Validates an AI message history for structural correctness (tool call/result pairing, ID uniqueness, role placement) before sending to Anthropic or OpenAI APIs","exampleAgentPrompt":"Before I send this message history to Anthropic, check it for structural problems — make sure every tool call has a matching result, all tool use IDs are present and unique, and results are in the right place. Here's the full messages array, and treat it as a mid-loop transcript so a trailing unanswered tool call isn't flagged as a defect.","exampleUseCases":[{"title":"Pre-send validation for Anthropic agent","prompt":"I'm about to send this conversation history to Anthropic and I'm worried my agent may have shuffled some tool results out of order while editing it — can you validate the messages array against the Anthropic provider rules and tell me exactly what's broken?"},{"title":"Catch bad tool IDs after history truncation","prompt":"My agent truncated its own history to save context and now I want to check that the remaining messages still have all tool call IDs present and unique before sending them to OpenAI Chat Completions — here's the trimmed messages list."},{"title":"Mid-loop transcript check during replay","prompt":"I'm replaying a mid-loop openai-responses transcript where some tool results haven't come back yet — validate the structure so far but don't flag the pending tool calls as defects, since results are still incoming."}],"resultDescription":"Returns a structured validation report indicating whether the message list is valid, lists specific defects (e.g. missing tool result, duplicate ID, result in wrong role) with reasons, and flags suspicious patterns that fall outside documented provider rules as 'unknown' with an explanation rather than outright failures.","failureModes":["Input messages array is empty or missing — returns schema validation error","Provider enum value not recognized — returns 400-style error","Messages array exceeds 500 items — rejected with size limit error","Malformed individual message objects that cannot be parsed — may return parse error or partial results","Network timeout if payload is very large near the 500-item limit"],"whenToPreferThis":"Use this endpoint when an AI agent manipulates, edits, truncates, or replays its own conversation history before sending to Anthropic Messages, OpenAI Chat Completions, or OpenAI Responses, and needs to avoid 400 errors due to structural violations. Prefer this over manual inspection when tool call/result pairing, ID uniqueness, or role placement are at risk. It is specifically scoped to provider-documented structural rules only, so it will not false-positive on content or schema issues.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:39:02.463Z","isFirstParty":false,"canonicalSlug":"writerslogic-transcript-validator-85299a0d"}