Unstructured Text to Typed JSON Entity & Record Extractor
extract_structured_json_entitiesConvert unstructured prose, emails, or HTML/Markdown text into a structured JSON array of entities, dates, and financial figures, ready for downstream processing.
Instructions
Extracts structured JSON records, named entities, dates, and financial figures from unstructured prose, emails, or HTML/Markdown dumps. Use when converting unstructured natural-language text into a structured JSON array of entities; for validating and coercing an existing JSON payload against a formal JSON Schema, use enforce_json_schema_types instead. Stateless read-only edge call (max 32 KB, 60 RPM): accepts 'text' ('extraction_target' defaults to 'general_entities_and_metrics'), supports '?demo=true' or L402 (25 sats), and returns HTTP 400 if invalid.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| text | Yes | Unstructured document, email body, or webpage text to extract structured entities from. | |
| extraction_target | No | Primary entity domain to extract; defaults to 'general_entities_and_metrics' when omitted. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| model | Yes | Extraction model executed ('gemini-3.8-flash'). | |
| success | Yes | True when entity extraction succeeded. | |
| records_count | Yes | Number of distinct entity records extracted. | |
| extracted_data | Yes | Structured JSON object or array containing the extracted entities. |