Create object extractor
Create an ObjectExtractor. A first ObjectExtractorVersion is
created automatically and marked as default. Pass import_mode: true
to skip auto-version creation (bulk imports only).
Required field: name.
Authorizations
Use Authorization: Bearer
Path Parameters
UUID of the project
Body
Extracts structured data (instances of a Pydantic model) from chunks or blocks of documents.
Human-readable name.
"Contract clauses"
Short description shown in the UI.
"Extract obligations and effective dates from contracts."
"gpt-4o"
Display name of the object class (auto-derived from extractable_pydantic_class if omitted).
"ContractClause"
Python source of the Pydantic model used as the extraction schema.
"from pydantic import BaseModel\nfrom typing import Optional\n\nclass ContractClause(BaseModel):\n clause_type: str\n text: str\n effective_date: Optional[str] = None\n"
"Extract every distinct contractual obligation as a separate ContractClause object."
Documents to extract from. Empty array means "all documents in the project".
Optional per-document page-range filter ({document_id: [start_page, end_page]}).
false
true
Filter applied to the source chunks/blocks before extraction runs.
standard, agentic Configuration for agentic extraction mode.
Bulk-import flag. When true, the create endpoint skips auto-version creation.
Response
Created
Extracts structured data (instances of a Pydantic model) from chunks or blocks of documents.
Human-readable name.
"Contract clauses"
Short description shown in the UI.
"Extract obligations and effective dates from contracts."
"gpt-4o"
Display name of the object class (auto-derived from extractable_pydantic_class if omitted).
"ContractClause"
Python source of the Pydantic model used as the extraction schema.
"from pydantic import BaseModel\nfrom typing import Optional\n\nclass ContractClause(BaseModel):\n clause_type: str\n text: str\n effective_date: Optional[str] = None\n"
"Extract every distinct contractual obligation as a separate ContractClause object."
Documents to extract from. Empty array means "all documents in the project".
Optional per-document page-range filter ({document_id: [start_page, end_page]}).
false
true
Filter applied to the source chunks/blocks before extraction runs.
standard, agentic Configuration for agentic extraction mode.
ID of the warehouse Table where extracted objects are stored.
Immutable snapshot of an ObjectExtractor's version-bearing configuration.
New version rows are created automatically on PATCH when any of these
fields differs from the latest version.
Immutable snapshot of an ObjectExtractor's version-bearing configuration.
New version rows are created automatically on PATCH when any of these
fields differs from the latest version.