Goal interface represents a user’s goal or objective in the Goalst system. Goals can have sub-goals, collaborators, and support recurring patterns.
Properties
Unique identifier for the goal
ID of the user who owns this goal
ID of the parent goal if this is a sub-goal, or
null if this is a top-level goalThe goal’s title
Optional description providing details about the goal
ISO 8601 date string for when the goal starts, or
null if not setISO 8601 date string for when the goal is due, or
null if not setCurrent status of the goal. Can be one of the predefined values or a custom user-defined status.Enum values:
not_started- Goal has not been startedin_progress- Goal is currently being worked oncompleted- Goal has been completedabandoned- Goal has been abandoned- Custom string values are also supported
Manually set progress percentage (0-100), or
null to use computed progress from sub-goalsOptional color tag for visual categorization
Whether this goal recurs on a regular schedule
How often the goal recurs, or
null if not recurring.Enum values:daily- Recurs dailyweekly- Recurs weekly
Priority level for the goal (higher numbers indicate higher priority)
ISO 8601 timestamp when the goal was created
ISO 8601 timestamp when the goal was last updated
Array of child goals (computed/joined field)
Computed progress percentage based on sub-goals completion (computed/joined field)
Array of collaborators with access to this goal (computed/joined field)