Deprecated. Use "Get Data from Dataset (v2)" instead.
Retrieves records from the specified dataset using the fields, filters, sorting, grouping, and aggregations supplied in the request body. Provide field names in the fields array; use "Get Fields from Dataset (v1.2)" to discover available names. The response contains paginated rows under data, an aggregations array (empty when none requested), and a pagination block with page navigation links. Results default to page 1 with 500 records per page (maximum 1000).
Use "Get Field Options (v1.2)" to retrieve valid filter values. Filter fields do not need to appear in the fields list. status is the employee's stored status with no hire-date check, so a future hire can be Active or Inactive; to find future hires, filter hireDate with gt and today (an lte filter leaves them out but also drops employees with no hire date). For options-type fields using includes/does_not_include, pass the filter value as an array enclosed in square brackets, for example ["Full-Time", "Part-Time"].
When any requested fields are historical table fields, pass their entity names in showHistory; entity names are returned by "Get Fields from Dataset (v1.2)". Grouping (groupBy) accepts several fields, and a date field can be grouped by week, month, quarter or year; when active, data becomes an object keyed by group value instead of an array. Sort priority follows the order of objects in sortBy. Aggregations accept a defaultAggregation applied to every field and/or per-field overridingAggregations. limit keeps the first N rows or groups after sorting, and having keeps only the groups whose aggregated value passes a numeric comparison.
Aggregations by field type: text: count, count_unique, percent_non_empty, mode, list, percent_of_total; date: count, count_unique, min, max, percent_non_empty, median, mode, range, percentile, quartiles, list, percent_of_total; int: count, count_unique, min, max, sum, avg, percent_non_empty, percent_of_sum, median, mode, range, stddev, variance, percentile, quartiles, iqr, percent_of_total; bool: count, count_unique, percent_non_empty, percent_of_total; options: count, count_unique, percent_non_empty, mode, list, percent_of_total; govIdText: count, count_unique, percent_non_empty. A defaultAggregation skips fields whose type does not support it; an overridingAggregations entry the field's type does not support returns a 400.
Filter operators by field type: text: contains, does_not_contain, equal, not_equal, empty, not_empty; date: lt, lte, gt, gte (each accepts a YYYY-MM-DD date string, "today" (the server's current date), or a relative object {"duration": "N", "unit": "days|weeks|months|years"} where duration is a number as a string — lt/lte are measured backward from today, gt/gte forward), equal, not_equal (a YYYY-MM-DD date string or "today"), empty, not_empty, last, next (relative object {"duration": "N", "unit": "days|weeks|months|years"}), range (object {"start": "YYYY-MM-DD", "end": "YYYY-MM-DD"}), month_to_date, quarter_to_date, year_to_date, last_month, last_quarter, last_year (no value); int: equal, not_equal, gte, gt, lte, lt, empty, not_empty, is_between (object {"start": 50000, "end": 80000}, inclusive; int, float and currency formats only); bool: checked, not_checked; options: includes, does_not_include, empty, not_empty; govIdText: empty, not_empty.
OAuth Scopes: report
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
400Invalid or missing argument(s), such as an unrecognised operator, malformed filter, invalid dataset name, or empty request body.
403Insufficient permissions to access this dataset.
500An unexpected internal error occurred while retrieving data.
