Goals (OKR)
Goals (OKR)
Section titled “Goals (OKR)”The system supports goals and key results for employees, teams, departments, and the whole company.
Goal— a high-level objective that can be nested throughparent_goal_id.Key Result— a measurable indicator used to track progress toward a goal.Check-in— a recorded update to a key result value.
Hierarchy and weights
Section titled “Hierarchy and weights”- Goals can form a nested hierarchy.
- Each goal and key result has a
weightthat affects the parent progress calculation.
Fetching data
Section titled “Fetching data”When you request a goal with GET /api/v1/goals/{id}, the API returns the full structure, including nested key results and current progress.
Use POST /api/v1/goals/search to search goals.
Main filters include:
owner_type—company,department,team,employeetext— goal title textstatus—active,completed,cancelledis_shared— whether the goal is shared with other usersconfidence_level—on_track,at_risk,off_trackdate_period_startanddate_period_endonly_top_level— only goals without a parentparent_goal_id— list of parent goal IDs
Progress management
Section titled “Progress management”- Create a goal:
POST /api/v1/goals - Add a key result:
POST /api/v1/goals/{goal_id}/key-results - Add a check-in:
POST /api/v1/goals/{goal_id}/key-results/{kr_id}/checkin
Changing value and confidence_level recalculates the progress for the key result and all related parent goals.
Main Goal fields
Section titled “Main Goal fields”idtitledescriptionowner_typeowner_employee_id,owner_department_id,owner_team_idis_shareddate_start,date_endstatusprogressconfidence_levelweightis_archivedgoal_key_results_counthas_children
Parent goal fields
Section titled “Parent goal fields”parent_goal contains summary information about the parent goal, including:
idparent_goal_idassign_to_idsvisible_to_ids
The rest of the fields mirror the main goal structure.
Key results
Section titled “Key results”goal_key_results is a collection of measurable result objects with fields such as:
idgoal_idtitledescriptionmetric_typestart_valuetarget_valuecurrent_valueprogressconfidence_levelweight
Check-ins
Section titled “Check-ins”goal_key_result_check_ins stores the history of updates:
idemployee_idvalue
Service fields
Section titled “Service fields”aclcreated_byassign_tovisible_to