For AI agents: a documentation index is available at the root level at /llms.txt. Append /llms.txt to any URL for a page-level index, or .md for the markdown version of any page.
Bearer authentication of the form Bearer <token>, where token is your auth token.
Headers
EARLY-ACCESSstringOptional
Set to true to access beta operations via /api/v3.
Request
This endpoint expects an object.
allowMeasuredIngredientsbooleanRequired
Whether mixtures of this schema record measured ingredient amounts in addition to target amounts. When true, componentLotTextEnabled and componentLotStorageEnabled must both be set and at least one of them must be true. When false, omit both.
descriptionstringRequired
A human-readable description of the schema. At most 1000 characters.
itemIdPrefixstringRequired
organizationIdstringRequired
The API ID of the organization this schema belongs to. The organization must exist and be accessible to the caller.
availableRegistrationNamingOptionslist of enumsOptional
componentLotStorageEnabledbooleanOptional
Whether ingredients can record their component lot as a container or entity from inventory. Only applies when allowMeasuredIngredients is true.
componentLotTextEnabledbooleanOptional
Whether ingredients can record their component lot as a text value. Only applies when allowMeasuredIngredients is true.
constraintobjectOptional
A uniqueness constraint: registered mixtures of this schema must have unique values across the fields named in fieldDefinitionNames. Each name must be the display name of a field on this schema or one of its fieldsets; at least 1 and at most 100 names, with no duplicates, computed fields or archived fields. Requires the registry to use strict validation, and is not allowed when a fieldset on the schema already defines a constraint.
fieldDefinitionslist of objectsOptional
The initial fields of this schema, in display order. Accepts the entity schema field types, including DROPDOWN (set dropdownId to the API ID of a non-archived dropdown) and link types such as FIELDSET_LINK and SYSTEM_CATEGORY_LINK. Numeric ranges (numericMin/numericMax) are not supported. At most one field can be a parent link (isParent) to a mixture schema, and that field cannot be multi-valued. Field names and system names must each be unique within the schema, and the configured per-schema field and link field limits apply. To change fields after the schema is created, use set-field-definitions.
fieldsetslist of stringsOptional
iconIdenumOptional
The icon shown for mixtures of this schema. Defaults to MIXTURE.
includeRegistryIdInChipsbooleanOptional
isContainablebooleanOptional
namestringOptional
The user-facing name of the schema. Must be non-empty after stripping whitespace, at most 255 characters, and unique within the organization.
systemCategorieslist of objectsOptional
systemNamestringOptional
The SQL identifier used as the warehouse table name. If not provided, one is auto-generated from the display name. Must match the pattern [a-z_][a-z0-9_$]*, cannot be a reserved table name, cannot start with ‘bnch$’, and must be unique within the organization.
useRegistryIdForItemDisplayLabelbooleanOptional
displayNamestringOptionalDeprecated
Deprecated. Use name instead.
Response
Created
__typenamestringOptional
allowMeasuredIngredientsbooleanOptional
Whether this mixture schema allows recording measured values for ingredients. When enabled, users can track actual measured amounts in addition to target amounts.
archiveReasonstring or nullOptional
archivedbooleanOptional
availableRegistrationNamingOptionslist of enumsOptional
componentLotStorageEnabledboolean or nullOptional
Whether mixture ingredients can specify their component lot as a container and/or entity from inventory.
Only applicable when allowMeasuredIngredients is true.
Will be null when allowMeasuredIngredients is false.
componentLotTextEnabledboolean or nullOptional
Whether mixture ingredients can specify their component lot as a text value. Only applicable when allowMeasuredIngredients is true. Will be null when allowMeasuredIngredients is false.
constraintobject or nullOptional
Defines uniqueness requirements for entities within a schema. Constraints ensure that
registered entities have unique values across specified fields (see fieldDefinitionNames)
or unique domain-specific properties (see TypeSpecificConstraint). The hasUniqueResidues
field is a legacy indicator for sequence uniqueness.