Space Docs
Domain Model

Agent Rule

Fields

FieldTypeRequiredDefaultDescription
idstring.uuidYes—Id
createdAtstring.date-timeYes—Created at
updatedAtstring.date-timeYes—Updated at
titlestringYes—Title
contentstringYes—Content
scopeenum(global, account, category, project_type)Yes—Scope
scopeRefIdstringNo—ID of the associated scope ref
scopeRefLabelstringNo—Scope ref label
priorityintegerYes—Priority
isActivebooleanYes—Is active
createdByUserIdstringYes—ID of the associated created by user
workspaceIdstringYes—ID of the associated workspace
visibilityModeunknownYes—Visibility mode

Create Schema

Fields accepted when creating a new record:

FieldTypeRequiredDefaultDescription
titlestringYes—Title
contentstringYes—Content
scopeenum(global, account, category, project_type)Yes—Scope
scopeRefIdstringNo—ID of the associated scope ref
scopeRefLabelstringNo—Scope ref label
priorityintegerYes0Priority
isActivebooleanYestrueIs active
visibilityModeunknownNo—Visibility mode

Update Schema

All fields are optional when updating:

FieldTypeRequiredDefaultDescription
titlestringNo—Title
contentstringNo—Content
scopeenum(global, account, category, project_type)No—Scope
scopeRefIdstringNo—ID of the associated scope ref
scopeRefLabelstringNo—Scope ref label
priorityintegerNo—Priority
isActivebooleanNo—Is active

On this page