ScrapeResponse
Synchronous scrape result, in the request_status format.
Attributes
request_statusstringtextstringThe extracted text content from the webpage
urlstring uriThe URL that was scraped
base_url_for_linksstringThe base URL for resolving relative links
status_codeintegerThe HTTP status code returned by the server
possibly_blockedbooleanPresent when the page may be blocked by anti-scraping measures
credit_usednumberThe number of credits consumed
credit_detailCreditDetailThe estimate made at kickoff next to what has been charged so far. estimate is null for runs
started before estimates existed. Estimates and credit errors add credits_remaining and sufficient_credits.
Attributes
estimateone ofrequiredAttributes
CreditEstimate model →
minimumnumberrequiredLeast the run can cost
expectednumberLikely cost from past runs of the same config; absent without history
typicalobjectRecent p25–p75 settled range for builds of this size; absent without a dataset build estimate
Attributes
lownumberrequiredhighnumberrequiredmaximumnumberrequiredMost the run can cost
upfrontnumberCredits taken at kickoff when charged_upfront is true; 0 when the charge accrues as work completes
charged_upfrontbooleanrequiredtrue when a deposit is taken at kickoff (dataset builds, extractions); false when credits accrue as work completes
- null
credits_usednumberrequiredCredits charged so far (same value as the top-level credits_used)
credits_remainingnumberAccount balance. Only on estimates and credit errors.
sufficient_creditsbooleanWhether the balance covers estimate.maximum. Only on estimates and credit errors.
riveter_app_linkstring uriDirect link to view this scrape in the Riveter application