Skip to content

metricGraphsData

Fetch data for the metric graphs for a given user

Arguments

end_date · String · End of the date range, must be sent in with a start date.
has_third_party_source · Boolean · When false, returns no third-party data. When true, returns only third-party data. If not passed in, will return all data
start_date · String · Start of the date range, must be sent in with an end date.

Returns

[MetricGraphDataType!]!

Example

query metricGraphsData(
$end_date: String
$has_third_party_source: Boolean
$start_date: String
$user_id: String
) {
metricGraphsData(
end_date: $end_date
has_third_party_source: $has_third_party_source
start_date: $start_date
user_id: $user_id
)
}