Create Custom Field
POST /v1/custom-fields/
Register a new custom field definition. If is_searchable=True, enqueues CREATE INDEX CONCURRENTLY on the default worker queue.
Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters ”Request Body required
Section titled “Request Body required ”Fields required to register a new custom field for a tenant.
field_key is treated as immutable after creation — renaming requires a data migration to backfill existing JSONB values on entity rows.
object
Immutable snake_case key used as JSONB key on entity rows.
Supported custom field types. These drive both validation logic and frontend component rendering. Adding a new type here requires matching handling in validator.py.
Responses
Section titled “ Responses ”Successful Response
object
Full representation of a TenantFieldSchema record.
object
Supported custom field types. These drive both validation logic and frontend component rendering. Adding a new type here requires matching handling in validator.py.
Validation Error