Create extraction
Authentication
Request
Extraction model ID, for example cloudflare/clairic.
Fields to extract, keyed by your names (up to 100). Each field’s type sets the type of its value.
Text to read. Can be empty only when images are sent.
Up to 4 PNG, JPEG, or WebP images, as data: URLs or {content_type, base64} objects. Each up to 4 MiB decoded and 8 MiB in total. Remote URLs aren’t accepted. Supported by cloudflare/clairic only.
ISO date (YYYY-MM-DD) that anchors relative dates and dates written without a year.
Extra output. Supported by cloudflare/clairic only.
Response
One typed answer per field, keyed by your field names. Each has type and value (null when the input doesn’t determine it), plus per-type detail such as confidence, span, or a distribution.
The text that span offsets index into, when options.return_state_text is true.