goal
fetch a goal by id
Arguments
last_client_goal
· Boolean
· Deprecated, at some point this argument stopped being used. Keeping it around in order to make sure nothing breaks backwards Returns
Goal
Example
query goal( $client_id: ID $date: String $get_client_goal: Boolean $id: ID $last_client_goal: Boolean $patient_goal_module: Boolean $program_goal: Boolean) { goal( client_id: $client_id date: $date get_client_goal: $get_client_goal id: $id last_client_goal: $last_client_goal patient_goal_module: $patient_goal_module program_goal: $program_goal ) { completion_percentage_for_range created_at created_user_id cursor description due_date goal_histories id is_completed_for_date is_used_as_template name parent_id parent_subgoal_completion_rate reminder repeat source_template_id start_on streak_info subgoals subgoals_count title_link user user_id }}