Skip to main content

PageInfo

The page info object used for pagination.
String
Points to the first item returned in the results. Used when paginating backward.
String
Points to the last item returned in the results. Used when paginating forward.
Boolean
required
A boolean that indicates whether a next page of results exists. Can be used to display a “next page” button in user interfaces, for example.
Boolean
required
A boolean that indicates whether a previous page of results exists. Can be used to display a “previous page” button in user interfaces, for example.

MetricReportConnection

The Metric Report connection object. It includes headers and rows for a single page of a report. It also allows paging forward and backward to other pages of the report.
PageInfo
required
The report connection’s page info.
[MetricReportEdge!]
required
The report connection’s edges.
[MetricReportNode!]
required
The report connection’s nodes.
[String]
required
An ordered array of display names for your dimensions and Metrics, as defined in the report input. Use this to display your table’s header.
[[String]!]
required
An ordered array of rows. Each row contains dimension and Metric values, as defined in the report input. Use these to display the rows of your table.
QueryInfo
required
The Query statistics and metadata.

MetricReportEdge

The Metric Report edge object.
MetricReportNode
required
The edge’s node.
String
required
The edge’s cursor.

MetricReportNode

The Metric Report node object. This type represents a single row of a report.
[String]
required
An ordered array of display names for your dimensions and Metrics, as defined in the report input. Use this to display your table’s header.
[String]
required
An ordered array of columns. Each column contains the dimension and Metric values for a single row, as defined in the report input. Use this to display a single row within your table.

TimeSeriesResponse

The time series response object. It contains an array of time series labels and an array of Metric values for the given time range and Query Filters.
[String!]
required
The time series labels.
[String]
required
The time series values.
[TimeSeriesResponseGroup!]
The time series values for each group in groupBy, if specified.
QueryInfo
required
The Query statistics and metadata.

TimeSeriesResponseGroup

The time series response object for a group specified in groupBy. It contains an array of time series labels and an array of Metric values for a particular group.
[String]
required
The time series group’s columns.
[String!]
required
The time series group’s labels.
[String]
required
The time series group’s values.

CounterResponse

The counter response object. It contains a single Metric value for the given time range and Query Filters.
String
The value of the counter.
QueryInfo
required
The Query statistics and metadata.

LeaderboardResponse

The leaderboard response object. It contains an array of headers and a table (array of rows) with the selected Dimensions and corresponding Metric values for the given time range and Query Filters.
[String!]
required
The table headers. It contains the Dimension and Metric names.
[[String]!]
required
An ordered array of rows. Each row contains the Dimension values and the corresponding Metric value. A Dimension value can be empty. A Metric value will never be empty.
QueryInfo
required
The Query statistics and metadata.

QueryInfo

The Query Info object. It contains metadata and statistics about a Query performed.
ID
required
The Query’s unique identifier.
DateTime
required
The date and time in UTC when the Query was created.
String
required
The unique identifier of the actor that performed the Query.
DateTime
required
The date and time in UTC when the Query was last modified.
String
required
The unique identifier of the actor that modified the Query.
String
required
The bytes processed by the Query.
Int
required
The duration of the Query in milliseconds.
String
required
The number of records processed by the Query.
Int
required
The bytes returned by the Query.
Int
required
The number of records returned by the Query.
Propeller
The Propeller used for this query.
QueryStatus
required
The Query status.
QueryType
required
The Query type.
QuerySubtype
The Query subtype.
String
required
The SQL the query executed.

SqlColumnResponse

String
required
The name of the returned column.
ColumnType
required
The returned column’s type.
Boolean
required
Whether the column is nullable, meaning whether it accepts a null value.

SqlResponse

Response from the SQL API.
[SqlColumnResponse!]
required
The column names in the same order as present in the data field.
[[String]!]
required
The data gathered by the SQL query. The data is returned in an N x M matrix format, where the first dimension are the rows retrieved, and the second dimension are the columns. Each cell can be either a string or null, and the string can represent a number, text, date or boolean value.
QueryInfo
required
The Query statistics and metadata.

DescribeSqlResponse

Response from the describe SQL API.
[SqlColumnResponse!]
required
The columns that the query would return.

DataGridConnection

The Data Grid connection. It includes headers and rows for a single page of a Data Grid table. It also allows paging forward and backward to other pages of the Data Grid table.
[String!]
required
The Data Grid table’s headers.
[[String]!]
required
An array of arrays containing the values of the Data Grid table’s rows.
QueryInfo
required
The Query statistics and metadata.
PageInfo
required
The Data Grid table’s page info.
[DataGridEdge!]
required
The Data Grid table’s edges.
[DataGridNode!]
required
The Data Grid table’s nodes.

DataGridEdge

The Data Grid edge object.
DataGridNode
required
The edge’s node.
String
required
The edge’s cursor.

DataGridNode

The Data Grid table’s node. This type represents a single row of a Data Grid table.
[String!]
required
The Data Grid table’s headers.
[String]
required
An array of the values for the row.

RecordsByUniqueIdResponse

[String!]
required
The Data Pool columns for the record.
[[String]!]
required
An array of values for the record.
QueryInfo
required
The Query statistics and metadata.

TopValuesResponse

[String!]
required
An array with the list of values.
MetricReportConnection
Build a report, or table, consisting of multiple Metrics broken down by one-or-more dimensions.The first few columns of the report are the dimensions you choose to break down by. The subsequent columns are the Metrics you choose to query. By default, the report sorts on the first Metric in descending order, but you can configure this with the orderByMetric and sort inputs.Finally, reports use cursor-based pagination. You can control page size with the first and last inputs.

Arguments

MetricReportInput
required
SqlResponse
required
Query Data Pools using SQL.

Arguments

SqlV1Input
required
DescribeSqlResponse
required
Describe SQL statements Data Pools.

Arguments

DescribeSqlV1Input
required
DataGridConnection
required
Returns the individual records of a Data Pool with the convenience of built-in pagination, filtering, and sorting.

Arguments

DataGridInput
required
RecordsByUniqueIdResponse
required
Returns records by the given unique IDs.

Arguments

RecordsByUniqueIdInput
required
TopValuesResponse
required
Returns an array of the most frequent values in a given column. The resulting array is sorted in descending order of approximate frequency of values.

Arguments

TopValuesInput
required
CounterResponse
Query a metric in counter format. Returns a single metric value for the given time range and filters.

Arguments

CounterInput
required
[CounterResponse]
required
Query metrics in counter format. Returns a metric value for each input in the array of inputs.

Arguments

[CounterInput!]
required
TimeSeriesResponse
Query a metric in time series format. Returns arrays of timestamps and metric values for the given time range and filters.

Arguments

TimeSeriesInput
required
LeaderboardResponse
Query a metric in leaderboard format. Returns a table (array of rows) with the selected dimensions and the metric’s corresponding values for the given time range and filters.

Arguments

LeaderboardInput
required