Deployments
Deployments are project-based configurations for document extraction that can be called via the API routehttps://api.retab.com/v1/projects/extract/{project_id}.
This is the primary method for executing document extraction using project-based configurations.
The extracted data as a JSON object matching the project’s schema.
Parameters
ID of the project
ID of the specific iteration to use, or
"base-configuration" to use the project’s default settings.Document to process.
Optional temperature override for this specific request. Overrides the default temperature.
Optional seed for reproducible results across multiple runs.
Whether to store the extraction results for later retrieval and analysis.
Custom key-value metadata to attach to the extraction for organization and filtering.
Organizing Extractions with Metadata
Themetadata parameter allows you to attach custom key-value pairs to your extractions, making it easy to organize, filter, and retrieve results later. This is particularly useful when processing documents for multiple clients, departments, or workflows within a single project.
- Multi-tenant applications: Tag extractions with
organization_idorcustomer_idto separate data by client - Workflow tracking: Add
batch_id,pipeline_stage, orsource_systemto trace document processing - Categorization: Include
document_type,region, orpriorityfor filtering and reporting