v2
v2-distill

Distill

Schema-driven structured extraction (CSS-first, LLM fallback).

post/v2/distill

Request

  • Base URL: https://api.enconvert.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.enconvert.com/v2/distill
  • Auth: none declared

Headers

X-API-Keystring nullable
authorizationstring nullable

Request body

urlsstring[] nullable

Explicit URLs to distill. Mutually exclusive with discover_from; exactly one is required.

schemaobject nullable

Output shape: a JSON-Schema object or a flat {field: description} map. The response data is guaranteed to match this shape. Optional when 'prompt' is supplied — the schema is then synthesized from the prompt.

promptstring nullable

Natural-language description of what to extract. When given without a 'schema', the extraction schema is synthesized from this prompt (single-model LLM). Ignored when 'schema' is present.

wait_forstring nullable
wait_timeout_msinteger
headersobject nullable
cookiesobject[] nullable
respect_robotsboolean

Response

Successful Response

operation_idstring required
totalinteger
completedinteger
failedinteger
resultsDistillItemResult[]
total_cost_centsnumber
synthesized_schemaobject nullable

When 'prompt' was used without a 'schema', the schema that was synthesized from the prompt and used for extraction.

warningsstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.