Skip to main content
POST
Create value unit type

Authorizations

X-API-Key
string
header
required

Owner-typed API key (ORGANIZATION, PERSON, VALUE_UNIT). Manage org-scoped lifecycle with /v1/public-api-keys; cross-org governance is restricted to /v1/sys/public-api-keys.

Body

application/json

Create payload for a value unit type.

value
string
required

Type value shown in public value unit type lists.

Maximum string length: 100
Pattern: \S
predicates
string[]
Maximum array length: 5
description
string
Maximum string length: 2000
enabled
boolean

Whether the type is enabled after creation.

Response

Value unit type created

id
string
value
string
displayValue
string
description
string
predicates
string[]