Skip to content

goalHistories

All completed goals for a given set of users

Arguments

after · Cursor · Cursor to fetch results after

Returns

[GoalHistory!]

Example

query goalHistories(
$after: Cursor
$category: String
$include_subgoals: Boolean
$offset: Int
$page_size: Int
$should_paginate: Boolean
$unique: Boolean
$user_id: ID
) {
goalHistories(
after: $after
category: $category
include_subgoals: $include_subgoals
offset: $offset
page_size: $page_size
should_paginate: $should_paginate
unique: $unique
user_id: $user_id
) {
completed_on
created_at
cursor
description
goal
goal_id
id
is_subgoal
name
repeat
user
user_id
}
}