{"uid":"cap_aCwGGQGlnptriWPNT--Lp","slug":"writerslogic-retry-admissibility-advisor-ad624dde","name":"WritersLogic Retry Admissibility Advisor","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/retry-admissibility?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"asOf":{"type":"string","maxLength":40,"description":"RFC 3339 instant; needed only to turn a Retry-After HTTP-date into seconds."},"actor":{"enum":["client","proxy"],"type":"string"},"ended":{"enum":["response","timeout","connection-reset","connection-refused","dns-failure","tls-failure","aborted-by-client"],"type":"string","description":"How the attempt ended."},"method":{"type":"string","maxLength":32,"minLength":1,"description":"HTTP method, case-sensitive (GET, POST, ...)."},"policy":{"type":"object","properties":{"maxAttempts":{"type":"integer","maximum":1000,"minimum":1},"retryStatuses":{"type":"array","items":{"type":"integer","maximum":599,"minimum":100},"maxItems":50,"description":"If given, only these statuses may be retried."},"maxWaitSeconds":{"type":"integer","maximum":31536000,"minimum":0},"notProcessedStatuses":{"type":"array","items":{"type":"integer","maximum":599,"minimum":100},"maxItems":50,"description":"Statuses the vendor documents as 'rejected before processing'."}},"additionalProperties":false},"status":{"type":"integer","maximum":599,"minimum":100,"description":"Required when ended is 'response'."},"attempt":{"type":"integer","maximum":1000,"minimum":1,"description":"1-based number of the attempt that just ended. Default 1."},"automatic":{"type":"boolean","description":"True when the retry would be issued automatically (library or proxy) rather than by a deliberate decision."},"retryAfter":{"type":"string","maxLength":100,"description":"Retry-After header value."},"requestSent":{"enum":["unknown","not-sent","sent"],"type":"string","description":"Whether request bytes reached the network. connection-refused and dns-failure imply not-sent."},"idempotencyKey":{"type":"object","required":["present"],"properties":{"present":{"type":"boolean"},"serverHonors":{"enum":["yes","no","unknown"],"type":"string","description":"Whether the provider documents that it deduplicates on this key for this operation."}},"description":"Caller-asserted evidence: the engine knows no vendor's key semantics.","additionalProperties":false},"previousAttemptWasAutomaticRetry":{"type":"boolean"}}},"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_A8qpHkLeCyIst74Nx5a4h","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":"Given a failed HTTP call's method, failure mode, response status, and idempotency evidence, determines whether retrying, reconciling, or aborting is safe according to RFC 9110 rules.","exampleAgentPrompt":"My agent just made a POST request that ended in a connection reset on attempt 1 — the request-sent status is unknown and there's no idempotency key — should it retry, reconcile, or abort?","exampleUseCases":[{"title":"Safe retry after payment API timeout","prompt":"I just sent a payment POST request and it timed out on attempt 1 — the request bytes were sent, there's no idempotency key, and I don't know if the server processed it. Should I retry or reconcile?"},{"title":"Automatic retry policy for a proxy","prompt":"My proxy is acting as an intermediary and got a 503 response on a GET request on attempt 2. The Retry-After header says 30 seconds and my max wait is 60 seconds. Can it automatically retry?"},{"title":"Agent recovering from DNS failure on tool call","prompt":"My agent tried calling a third-party tool and got a DNS failure on attempt 1 — the request was never sent. The method was POST. Is it safe to retry automatically?"}],"resultDescription":"A structured decision object containing a retry verdict (retry, do-not-retry, reconcile, or unknown), admissibility status (pass, fail, or unknown), recommended wait time in seconds derived from Retry-After, and a human-readable rationale explaining which RFC 9110 rules applied.","failureModes":["Missing required 'method' field returns a validation error","Missing 'status' when 'ended' is 'response' causes unknown decision","Caller-supplied idempotencyKey.serverHonors='unknown' may produce 'unknown' verdict for non-idempotent methods","Policy constraints (maxAttempts, maxWaitSeconds) that conflict with retry admissibility yield do-not-retry even if RFC rules would allow it","Ambiguous requestSent='unknown' on non-idempotent methods typically yields 'reconcile' rather than retry"],"whenToPreferThis":"Use this endpoint when an AI agent or HTTP client library needs a principled, RFC 9110-compliant decision about whether to retry a failed call, especially for non-idempotent methods (POST, PATCH) where blind retry risks duplicate processing. Prefer this over hardcoded retry logic when idempotency-key evidence, Retry-After headers, proxy vs. client context, or attempt count must all factor into the decision.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-11-19T06:36:55.920Z","isFirstParty":false,"canonicalSlug":"writerslogic-retry-admissibility-advisor-ad624dde"}