Objects

Validate Formula

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.

post/objects/{object_slug}/attributes/formula/validate

Request

  • Base URL: https://be.graph8.com/api/v1
  • URL: https://be.graph8.com/api/v1/objects/{object_slug}/attributes/formula/validate
  • Auth: HTTP bearer

Path parameters

object_slugstring required

Headers

Authorizationstring nullable
X-Target-Org-Idstring nullable

Request body

expressionobject required

The typed JSON expression (a node tree; a rollup is a rollup node).

attribute_slugstring nullable

Slug of the computed field being EDITED (checked against its own place in the dependency graph); omit for a new one.

preview_record_idstring nullable

Evaluate the expression against this record's current values.

Response

Successful Response

Changes

No recorded changes to this operation across all 2 revisions of this API.