Skip to main content

Overview

Schema turns a plain-English description of the data you want into a valid JSON Schema you can pass to Extract, Search, or Monitor as output_schema. Optionally seed it with an existing_schema to extend rather than start from scratch. Use it when you want strongly-typed output but don’t want to hand-write the schema.

Pricing

Each Schema call costs 1 credit. See the pricing page for the full breakdown.

Getting Started

Quick Start

Parameters

Response

Extending an existing schema

Pass existing_schema to grow a schema you already have rather than regenerating from scratch:

Using the generated schema

Pipe the returned schema directly into Extract, Search, or Monitor as output_schema:

When to use Schema

  • ✅ You want structured output but don’t have a hand-written schema yet
  • ✅ You’re prototyping and want a quick starting point you’ll refine
  • ✅ You have a partial schema and want to grow it
  • ❌ You already have a finalized JSON Schema — pass it directly to Extract/Search and skip Schema

See also

  • Extract — Use output_schema for typed extraction
  • Search — Use output_schema for typed search results
  • Monitor — Use output_schema on scheduled jobs