{"name":"structured-extract","description":"Extracts structured JSON from free-form text, conforming to a user-supplied JSON Schema. Powered by Venice zai-org-glm-4.7 (function-calling-default model) with response_format json_object. Returns the extracted object plus a 'validates' flag against the user's schema (basic top-level type and required-key check). Use it as a JSON-from-text extractor, schema-guided extraction, key-value pull, or form-filler.","price":"$0.01","method":"POST","input_schema":{"properties":{"text":{"type":"string","description":"Source text. Up to 30,000 chars."},"schema":{"type":"object","description":"JSON Schema describing the desired output object. The handler relays this to the model and validates the result's top-level shape."}},"required":["text","schema"]},"input_example":{"text":"John Smith is 42 years old and lives in NYC. His email is john@example.com.","schema":{"type":"object","properties":{"name":{"type":"string"},"age":{"type":"number"},"city":{"type":"string"},"email":{"type":"string"}},"required":["name"]}},"output_example":{"extracted":{"name":"John Smith","age":42,"city":"NYC","email":"john@example.com"},"validates":true,"schema":{"type":"object","properties":{"name":{"type":"string"},"age":{"type":"number"},"city":{"type":"string"},"email":{"type":"string"}},"required":["name"]},"model":"zai-org-glm-4.7","source":"venice"},"x402_payment_required":true,"x402_facilitator":"https://api.cdp.coinbase.com/platform/v2/x402"}