Extract typed fields (hosted ExtractionProvider)
The runtime-family extraction contract consumed by @runtypelabs/runtime’s HostedExtractionProvider, so a self-hosted runtime on platform or hybrid keys runs the extract step through Runtype with a Self-hosted Runtime key (RUNTIME:EXECUTE). Billed and recorded like an extract flow step. Requires an Enterprise plan: ineligible accounts receive 403 (code BYOC_PLAN_REQUIRED).
Authentication
Request
Field name to field spec, each { type: "text" | "number" | "date" | "time" | "datetime" | "duration" | "list" | "estimate" | "forecast", instructions?, ... }. Refused with EXTRACTION_FIELDS_INVALID and one sentence per problem.
The self-hosted execution asking, recorded on the extraction telemetry.
Up to the model limit of embedded images: data: URLs or { contentType, base64 }. Remote URLs are refused.
Extraction model id; defaults to the platform default.
Response
One answer per field: value, confidence, pNull, span(s) and estimate intervals.
One value per field; null when the input does not determine it.
The text answer spans index into; present only when options.returnStateText asked for it.