Skip to Content
API referenceData API

Read retained result

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.

GET
/api/v1/data/requests/{id}/result

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.

Authorization

headerX-API-Key<token>

Path Parameters

id*string

UUID of the target request or batch, as returned in the id field when it was created or listed.

Formatuuid

Query Parameters

format?string

Optional result format: html, text, markdown, or data. Omit for HTML plus structured data when available.

Value in"html""text""markdown""data"

Response Body

Returns HTML plus available structured data by default, or only the explicitly selected content. Structured data includes extraction metadata. Error body uses the documented PublicError DTO.

application/json
  1. response
id*string
Formatuuid
format*string
html*|

Stored HTML; null when no HTML was retained in the default response.

data?unknown

Structured payload included only when format is omitted and extraction exists.

extraction?

Metadata included with default structured data; the payload is returned only in the sibling data property.

result_meta*|null
expires_at*|
Formatdate-time
Example Request
curl -X GET 'https://api.runharvester.com/api/v1/data/requests/497f6eca-6276-4993-bfeb-53cbbbba6f08/result' \  --header "X-API-Key: ${RUNHARVESTER_API_KEY:?Set your Data API key}"
Example Response
{  "id": "9a20bd58-ed33-4a5b-b63f-b52bb1a62248",  "format": "html",  "html": "<html>…</html>",  "result_meta": null,  "expires_at": "2026-08-29T12:00:00.000Z"}