{"uid":"cap_jSJc9Lnu9qAEUNL4ke7UR","slug":"compute-revenue-lab-pdf-preflight-intake-plan-base64-3a2753c5","name":"Compute Revenue Lab — PDF Preflight Intake Plan (Base64)","description":"Private PDF preflight and authorized-video intelligence APIs paid per call with x402 USDC on Base.","url":"https://x402.bakdupoffroad.com/v1/document/intake-plan-base64","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"pdfBase64":{"type":"string","description":"A base64-encoded PDF, up to the service's advertised decoded-size limit. Customer text is never returned or retained.","contentEncoding":"base64","contentMediaType":"application/pdf"}}},"responseSchema":{"type":"json","example":{"jobId":"00000000-0000-4000-8000-000000000000","result":{"risks":["reading order and tables may not match visual layout"],"formType":"none","pageSize":"612 x 792 pts (letter)","encrypted":false,"pageCount":4,"pdfVersion":"1.7","sourceSha256":"0000000000000000000000000000000000000000000000000000000000000000","schemaVersion":"1","documentFamily":"selectable_pdf","fallbackMethod":"render-page-and-ocr-only-failed-regions","recommendedMethod":"extract-selectable-text-with-page-locators","firstPageTextCharacters":412},"economics":{"netMicroUsd":55000,"energyMicroUsd":0,"revenueMicroUsd":55000,"platformFeeMicroUsd":0}}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.055","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":"down","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.055/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.055","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.055","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_u5svVvO1cLKE4DKqkm-nS","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.055","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Analyzes a base64-encoded PDF to produce a preflight intake plan including document family, recommended extraction method, risks, metadata, and page statistics.","exampleAgentPrompt":"Can you preflight this PDF for me and tell me whether it has selectable text or needs OCR, how many pages it has, and what the recommended extraction method is? Here's the base64-encoded content: [base64 string].","exampleUseCases":[{"title":"Pre-ingestion document routing","prompt":"Before I run my extraction pipeline, analyze this base64 PDF and tell me its document family, whether it's encrypted, and which extraction method you recommend so I can route it correctly."},{"title":"PDF integrity and fingerprinting","prompt":"I need to confirm the SHA-256 hash, page count, and PDF version of this base64-encoded document before I archive it — can you run a preflight check on it?"},{"title":"OCR necessity assessment","prompt":"I have a scanned PDF encoded in base64 — can you check if it needs OCR or if there's enough selectable text, and flag any risks with the reading order or tables?"}],"resultDescription":"Returns a JSON object with a jobId, and a result block containing: documentFamily (e.g. selectable_pdf), recommendedMethod, fallbackMethod, risks array, formType, pageSize, encrypted boolean, pageCount, pdfVersion, sourceSha256, schemaVersion, and firstPageTextCharacters count. Also includes an economics block with the per-call cost breakdown in micro-USD.","failureModes":["Oversized PDF exceeds the service's decoded-size limit — request rejected","Malformed or invalid base64 input — parse error returned","Non-PDF content encoded as base64 — document family unrecognized","Payment failure via x402/USDC on Base — 402 response before processing begins","Network timeout if PDF is very large and encoding is slow client-side"],"whenToPreferThis":"Choose this endpoint when you need a lightweight, paid-per-call preflight check on a PDF before committing to heavier extraction or OCR workflows. It is ideal for routing decisions in document ingestion pipelines where you want to know whether selectable text extraction or OCR is appropriate, without retaining or exposing customer content. Prefer it over full extraction endpoints when the goal is classification and risk assessment rather than content retrieval.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T14:28:19.703Z","isFirstParty":false}