Export a data table as a CSV. Exporting returns an async result, which can then be used to return a file result.
By default, the following CSV formatting is used:
,) is used as the separator") are used as the quote character") are used as the quote escape character: ("")The CSV formatting rules can be customized by setting the csvConfiguration field. Any values that are not changed will use their
default value.
It is strongly recommended to not use newline or whitespace characters, or to use the same characters for both the separator and quote characters, as they may produce files that can’t be read correctly.
ARRAY_STRINGS type fields are formatted as a CSV value.
By default, they have the following formatting:
;) is used as the separator') are used as the quote character') are used as the quote escape character: ('')In addition to the same recommendations as with CSV formatting it is also strongly recommended to not use the same characters for formatting inner lists as are used for CSV formatting, as it may produce a file that can’t be read correctly.
BOOLEAN_FLAGS, MAP_SCALARS, and LEGACY_ACCOUNT_TAG_EFFECTS type fields are split into multiple columns based on the column’s flags.
The field names will be formatted in the following way: {field}_{flag}.
Columns with type KEYWORD_SEARCH or the filterOnly property set to true can’t be included in data table exports. Attempting to select them as part of
fields will cause the export request to fail.
When a sort is provided in the request body, it will only apply to data table exports under 2 million rows. For exports over 2 million
rows, no sorting will be applied to improve performance.
api.data-tables.readBearer authentication header of the form Bearer <token>, where <token> is your auth token.
The data table fields to be included in the results.
1\s*\S+.*The MindBridge QL query used to filter data in the data table.
Indicates how the data will be sorted.
Default sort order = ascending
The number of results to be returned.
x >= 1The configuration to use when generating the CSV file.
The configuration to use when formatting lists within cells in the CSV file.
OK
Indicates the data integrity version to ensure data consistency.
The unique object identifier.
The date that the object was originally created.
The date that the object was last updated or modified.
Details about the user who created the object.
Details about the user who last modified or updated the object.
Indicates the type of job being run.
ANALYSIS_RUN, ANALYSIS_SOURCE_INGESTION, ADMIN_REPORT, DATA_TABLE_EXPORT, ANALYSIS_ROLL_FORWARD, GDPDU_UNPACK_JOB, ACCOUNT_GROUPING_EXPORT, ACCOUNT_MAPPING_EXPORT, DATA_TRANSFORMATION_JOB Indicates the current state of the job.
IN_PROGRESS, COMPLETE, ERROR Identifies the entity used in the job.
Identifies the entity type used in the job.
ORGANIZATION, ENGAGEMENT, ANALYSIS, ANALYSIS_RESULT, ANALYSIS_SOURCE, FILE_RESULT, GDPDU_UNPACK_JOB, ACCOUNT_GROUPING, ENGAGEMENT_ACCOUNT_GROUPING, FILE_MANAGER_FILE The reason why the async job failed.