Extraction templates
Preview extraction template data
Returns a preview of data that would be extracted using the given template configuration. The response includes both the data rows and column metadata.
post/api/v3/extract-template/{template_id}/preview/
Request
- Base URLhttps://embedded.improvado.io
- Auth
- HTTP bearer
- or API key in cookie dts_session_id
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
template_idinteger required
A unique integer value identifying this Extraction template.
Request body
Example request
{
"connection_id": 52955,
"custom_settings": {
"time_granularity": "week",
"week_start_day": "monday",
"sync_historical_data": "2025-09-27",
"lookback_window": "default",
"custom_refresh_window": 1,
"pivot": "COMPANY"
},
"fields": [
"date",
"input:pivot",
"pivotValues",
"approximateMemberReach"
],
"dynamic_fields": [],
"accounts": [
"507446188"
]
}Response
Preview data with rows and column metadata
Changes
No recorded changes to this operation across all 1 revision of this API.