API
Model

ScrapeResponse

Synchronous scrape result, in the request_status format.

Attributes

request_statusstring
One of success
textstring

The extracted text content from the webpage

urlstring uri

The URL that was scraped

base_url_for_linksstring

The base URL for resolving relative links

status_codeinteger

The HTTP status code returned by the server

possibly_blockedboolean

Present when the page may be blocked by anti-scraping measures

credit_usednumber

The number of credits consumed

credit_detailCreditDetail

The 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 ofrequired
Attributes
One of
  • CreditEstimate model →
    minimumnumberrequired

    Least the run can cost

    expectednumber

    Likely cost from past runs of the same config; absent without history

    typicalobject

    Recent p25–p75 settled range for builds of this size; absent without a dataset build estimate

    Attributes
    lownumberrequired
    highnumberrequired
    maximumnumberrequired

    Most the run can cost

    upfrontnumber

    Credits taken at kickoff when charged_upfront is true; 0 when the charge accrues as work completes

    charged_upfrontbooleanrequired

    true when a deposit is taken at kickoff (dataset builds, extractions); false when credits accrue as work completes

  • null
credits_usednumberrequired

Credits charged so far (same value as the top-level credits_used)

credits_remainingnumber

Account balance. Only on estimates and credit errors.

sufficient_creditsboolean

Whether the balance covers estimate.maximum. Only on estimates and credit errors.

riveter_app_linkstring uri

Direct link to view this scrape in the Riveter application

Used by