Validate Formula
POST /objects/{object_slug}/attributes/formula/validate
Dry-run type-check and cycle-check of a typed formula expression, optionally evaluated on one record.
Nothing is stored. Read-only (objects:read) despite the POST verb: the expression travels in the body. The
check uses YOUR view of the schema: a field you cannot see or an object you cannot read is unknown, and a preview
that names one is valid: false with unknown_field (200), exactly like a name that does not exist. An admin key
is held to the same object grants: API keys never bypass them.
Authorizations
Parameters
Path Parameters
Header Parameters
Request Body required
Dry-run check of a typed formula expression. Nothing is persisted or locked.
Responses
200
Successful Response
object
object
object
Field-level problems (reason is a stable code).
object
With a preview record: one entry per rollup in the expression, counted over the records the caller may read.
How many linked records one rollup of a previewed expression counted.
object
Linked records the rollup counted for the preview record (the ones its filters keep).
Where the rollup sits in the expression: $ is the root, $.left, $.args[1], $.then_branch.
object
Whether there are more pages
Items per page
Current page number (1-indexed)
Total number of items
422
Validation Error