/fetch call.
Pass a JSON Schema in schema and the response keeps the existing markdown while adding data. Optional instructions steer extraction for rules the schema cannot express. Default Fetch is unchanged: URL in, markdown out.
What’s new
schema— JSON Schema oftype"object". Turns structured output on. Fielddescriptions tell the model what to look for.instructions— optional. Requiresschema. Maximum 4,000 characters.data— present in the response only whenschemais set. Fields with no grounded value are omitted, even if markedrequired.- Same call otherwise:
mode,renderJs, raw content, and images are independent.
structuredOutputSchema.
How to use
If your current SDK release does not accept
schema or instructions, send
the same JSON body to POST /v1/fetch.Pricing
Adding aschema adds a flat $0.001 on top of any combination of mode and renderJs.
For schema design, missing-field behavior, and when to use Fetch versus Extract or Search, see Fetch best practices.