{"uid":"cap_67JTwWunHa58YVFevW8fd","slug":"relaystation-pdf-repair-d93ba187","name":"Relaystation PDF Repair","description":"$0.001/page. Diagnose and rewrite a damaged PDF — recover files other tools reject. 1¢ x402 min; remainder auto-credits — relaystation.ai/penny","url":"https://api.relaystation.ai/v1/pdf/repair","method":"POST","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method","bodyType","body"],"properties":{"body":{"type":"object","properties":{"file":{"type":"object","description":"cputools input-source: { inline: <base64 ≤ 4 MiB> } or { inputKey: <scratch key from /v1/cputools/upload-url, ≤ 50 MB> }."}}},"type":{"type":"string","const":"http"},"method":{"enum":["POST","PUT","PATCH"],"type":"string"},"bodyType":{"enum":["json","form-data","text"],"type":"string"}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"registry","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_KkuXmmzS_nVlK0LMOhQiQ","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":null,"unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Diagnoses and repairs damaged or corrupted PDF files, recovering files that other tools reject","exampleAgentPrompt":"I have a PDF that's corrupted and won't open in any viewer — can you repair it and give me a working copy back? Here's the file encoded in base64.","exampleUseCases":[{"title":"Recovering a failed PDF download","prompt":"This PDF I downloaded keeps showing errors when I try to open it — can you repair it for me? I'll send you the base64-encoded file."},{"title":"Fixing archival documents for processing","prompt":"I have a scanned archival PDF from our records system that's damaged and none of our tools can process it — please repair it so we can extract the contents."},{"title":"Unblocking a broken client-submitted contract","prompt":"A client sent us a contract PDF but it's corrupted and our e-signature tool rejects it — can you fix the PDF so we can open and sign it?"}],"resultDescription":"A repaired, recovered PDF file returned in the response, reconstructed from the damaged input so it can be opened, read, and processed normally by standard PDF viewers and tools.","failureModes":["PDF too severely corrupted to recover — no recoverable structure remains","File exceeds size limit (50 MB via scratch key, 4 MiB inline)","Invalid or malformed base64 input causing decode failure","Unsupported file type submitted instead of a PDF","Payment insufficient — minimum 1¢ x402 required"],"whenToPreferThis":"Use this endpoint when you have a PDF that is corrupted, damaged, or rejected by standard PDF tools and you need to recover or repair it. It is specifically designed to handle files that other PDF utilities cannot process, making it the go-to choice when conventional repair tools fail. Prefer this over generic PDF conversion tools when the primary problem is file corruption rather than format conversion.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-14T06:53:52.390Z","isFirstParty":false}