create extraction
Changed onCreate an extraction — a reusable recipe for scraping structured records from a website — and start its agent discovery. Discovery explores the site, builds the scrape/extract plan, and validates it against your schema.
Poll GET /extractions/{id} until status is ready, then execute it with POST /extractions/{id}/runs. The extraction (ext_...) and its runs (run_...) are different resources.
Creating an extraction charges discovery credits (returned as credits_charged). To see the price first, send estimate_cost: true.
Request
- Base URLhttps://api.riveterhq.com/v1
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Request body
Response
estimate_cost only — the discovery price (type extraction_discovery); nothing was created or charged
Example response
{
"estimate_cost": true,
"type": "enrichment",
"credit_detail": {
"estimate": {
"minimum": 0,
"maximum": 1920,
"charged_upfront": false
},
"credits_used": 0,
"credits_remaining": 5000,
"sufficient_credits": true
}
}Changes
- info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status
- info
- info
added the optional property
//////to the response with the status - info
added the optional property
//////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status
- info