v34

latestOpenAPI 3.1.0raw.githubusercontent.com2026-06-09194386949.7 KB
Beta
Configurations
Configurations

Create Configuration

Upsert a product configuration; updates if one with the same name + product type + project exists, otherwise creates.

post/api/v1/beta/configurations

Query parameters

project_idstring uuid nullable
organization_idstring uuid nullable

Cookies

sessionstring nullable

Request body

namestring required

Human-readable name for this configuration.

Example request

{
  "parameters": {
    "target_pages": "1,3,5-7",
    "max_pages": 10,
    "tier": "cost_effective",
    "version": "latest",
    "extraction_target": "per_doc",
    "system_prompt": "Extract all monetary values in USD. If a currency is not specified, assume USD.",
    "parse_tier": "fast",
    "parse_config_id": "cfg-11111111-2222-3333-4444-555555555555"
  }
}

Response

Successful Response

idstring required

Unique configuration ID.

created_atstring date-time nullable

Creation timestamp.

updated_atstring date-time nullable

Last update timestamp.

namestring required

Configuration name.

product_type'split_v1' | 'extract_v2' | 'classify_v2' | 'parse_v2' | 'spreadsheet_v1' | 'unknown' required

Product type.

versionstring required

Version identifier (datetime string).

Example response

{
  "parameters": {
    "target_pages": "1,3,5-7",
    "max_pages": 10,
    "tier": "cost_effective",
    "version": "latest",
    "extraction_target": "per_doc",
    "system_prompt": "Extract all monetary values in USD. If a currency is not specified, assume USD.",
    "parse_tier": "fast",
    "parse_config_id": "cfg-11111111-2222-3333-4444-555555555555"
  }
}