Read owned request status
Reads the current status of one request of this tenant without waiting; the id comes from data_create_request or data_list_requests. Use data_wait_request to block until it finishes and data_get_result for the fetched output. An unknown id or one owned by another tenant returns 404.
Reads the current status of one request of this tenant without waiting; the id comes from data_create_request or data_list_requests. Use data_wait_request to block until it finishes and data_get_result for the fetched output. An unknown id or one owned by another tenant returns 404.
X-API-Key<token>id*stringUUID of the target request or batch, as returned in the id field when it was created or listed.
uuidSafe request DTO. Structured extraction adds extraction state and preserves page_error/page_user_error. Error body uses the documented PublicError DTO.
application/json- response
id*stringuuidbatch_id*|uuidurl*stringTarget origin only.
uristatus*DataVisibleStatusJob status in a detail/list DTO. Structured extraction requests expose extraction-run status at the top level.
"pending""waiting_for_page""queued""running""solving_captcha""completed""failed""cancelled"cached*booleanprotected*booleanpricing_version*integer1 <= valuebase_tokens*integer0 <= valueprotected_tokens*integer0 <= valuecaptcha_tokens*integer0 <= valuecaptcha_type*|"captcha"nulltoken_state*DataTokenState"reserved""settlement_pending""settled""refunded"request*debug_artifacts*error*|nulluser_error*|nullresult_meta*|nullproxy_used*|Redacted transport marker; platform for RunHarvester proxies, customer for your own node, or null.
created_at*stringdate-timestarted_at*|date-timefinished_at*|date-timeresult_expires_at*|date-timecurl -X GET 'https://api.runharvester.com/api/v1/data/requests/497f6eca-6276-4993-bfeb-53cbbbba6f08' \ --header "X-API-Key: ${RUNHARVESTER_API_KEY:?Set your Data API key}"{ "id": "9a20bd58-ed33-4a5b-b63f-b52bb1a62248", "status": "pending"}Create one asynchronous request POST
Creates one asynchronous request and returns 202 with its id and status; the work runs in the background, so follow up with data_wait_request or data_get_request and read the output with data_get_result or data_read_result_content. The body takes a required url plus at most one mode: omit both task and tool for a standard scrape, set task to generate a reusable tool from a natural-language description of the site, or set tool to call a saved tool (recipe_id) with new input values. Submitting charges tokens; send an Idempotency-Key so an exact-body retry replays the original request for free instead of creating a duplicate. Use data_create_batch for many URLs.
Read retained result GET
Reads the retained result of one request. Omit `format` to return HTML plus structured `data` and extraction metadata when available; HTML is null if none was retained. Specify `html`, `text`, `markdown`, or `data` to return only the selected content field plus `id`, `format`, `result_meta`, and `expires_at`. Use `markdown` for agent-readable page content: it is deterministically converted from stored HTML without an LLM (non-empty main region, else a single article, else cleaned body) and limited to 2 MiB of UTF-8. `result_meta.markdown` reports output and source truncation; `source_truncated` may be null for legacy stored metadata. The `data` format exists only for extraction requests. In MCP, `data_get_result` returns metadata and previews of up to 4 KiB per returned content field, with resource links; omission returns HTML plus available data previews. Use `data_read_result_content` with an explicit format to read the full selected content in 16 KiB chunks by default, up to 64 KiB.