Extracts
Create and manage data extraction orders that pull data from connected sources.
An extract represents a configured instance of data extraction with specific settings:
- Which connection and account to extract from
- Which extract template to use
- Custom field selections and filters
- Schedule and date range configuration
- Where to store the extracted data (data table)
Extract workflow:
- Create extract with desired configuration
- Extraction runs automatically on schedule or on-demand
- Data is stored in the associated data table
- Monitor extraction status and history
List extracts
List extracts
query Parameters
extraction_idsExtraction IDs
connection_idFilter extracts by connection ID. Accepts a single ID or a comma-separated list (e.g. 123 or 123,456).
datasource_nameFilter extracts by datasource name (e.g. reddit, facebook). Accepts a single value or a comma-separated list.
data_table_idFilter extracts by data table ID. Accepts a single ID or a comma-separated list.
account_idInternal account IDs, comma-separated.
statusFilter by UI status; accepts comma-separated values.
queryCase-insensitive extraction title search.
List extracts › Responses
Get a list of Extracts
countNumber of extracts
nextURL to the next page
previousURL to the previous page
Create extract
Request to this endpoint setups a new extracts. New extract creation request is composed of Connection, Account and Extract Template data.
Create extract › Request Body
data_table_titleData Table Title
template_idTemplate ID
Template settings
accountsCreate extract › Responses
Create an Extract
Get an extract
Get detailed info about extract
path Parameters
idExtract ID
Get an extract › Responses
Get an Extract
idExtract ID
titleExtract title
connection_idConnection ID
account_idAccount ID
account_nameAccount name
account_entity_idInternal Improvado account entity ID.
account_embedded_idEmbedded account ID. Null if the account is not linked to an embedded account.
Discovered dynamic-field objects, including their name and is_selected state. This response representation is distinct from the list of names accepted in updates.
created_atExtract creation date
last_syncLast sync date
statusExtract status
error_textError text
schedules_limitSchedules limit
sync_historical_dataStart date for historical data backfill (ISO date format, e.g. "2025-02-25"). Null if not set.
Update an extract
Update extraction configuration. scheduling, fields, additional_params and sync_historical_data are required for PUT. Dynamic-field names can be supplied through custom_fields or its dynamic_fields alias. Omitting both or supplying [] preserves the current dynamic-field selection; [] does not deselect all fields. When both aliases are supplied, their sets of names must match or the request returns 400. Source discovery and compatibility validation apply; changing dynamic dimensions is rejected. Historical dates are validated against the agency's historical-depth limit before mutation. Responses retain the existing custom_fields object representation.
path Parameters
idExtract ID
Update an extract › Request Body
fieldsadditional_paramssync_historical_datacustom_fieldsDynamic-field names to select. Optional; omission or [] keeps the existing selection. custom_fields and dynamic_fields are aliases; when both are supplied their sets must match.
dynamic_fieldsDynamic-field names to select. Optional; omission or [] keeps the existing selection. custom_fields and dynamic_fields are aliases; when both are supplied their sets must match.
Update an extract › Responses
Update an Extract
idExtract ID
titleExtract title
connection_idConnection ID
account_idAccount ID
account_nameAccount name
account_entity_idInternal Improvado account entity ID.
account_embedded_idEmbedded account ID. Null if the account is not linked to an embedded account.
Discovered dynamic-field objects, including their name and is_selected state. This response representation is distinct from the list of names accepted in updates.
created_atExtract creation date
last_syncLast sync date
statusExtract status
error_textError text
schedules_limitSchedules limit
sync_historical_dataStart date for historical data backfill (ISO date format, e.g. "2025-02-25"). Null if not set.
Update an extract partially
Partially update extraction configuration; omitted top-level fields retain their values. custom_fields and its dynamic_fields alias accept lists of dynamic-field names. Omitting both or supplying [] preserves the dynamic-field selection; [] does not deselect all fields. When both aliases are supplied, their sets of names must match or the request returns 400. Source discovery and compatibility validation apply; changing dynamic dimensions is rejected. Historical dates are validated against the agency's historical-depth limit before mutation. Responses retain the existing custom_fields object representation.
path Parameters
idExtract ID
Update an extract partially › Request Body
fieldsadditional_paramscustom_fieldsDynamic-field names to select. Optional; omission or [] keeps the existing selection. custom_fields and dynamic_fields are aliases; when both are supplied their sets must match.
dynamic_fieldsDynamic-field names to select. Optional; omission or [] keeps the existing selection. custom_fields and dynamic_fields are aliases; when both are supplied their sets must match.
sync_historical_dataUpdate an extract partially › Responses
Partially Update an Extract
idExtract ID
titleExtract title
connection_idConnection ID
account_idAccount ID
account_nameAccount name
account_entity_idInternal Improvado account entity ID.
account_embedded_idEmbedded account ID. Null if the account is not linked to an embedded account.
Discovered dynamic-field objects, including their name and is_selected state. This response representation is distinct from the list of names accepted in updates.
created_atExtract creation date
last_syncLast sync date
statusExtract status
error_textError text
schedules_limitSchedules limit
sync_historical_dataStart date for historical data backfill (ISO date format, e.g. "2025-02-25"). Null if not set.
Run extracts in bulk
Queue the action for 1–1,000 accessible extractions. Requires extract UPDATE permission and an authenticated workspace user; service principals are not supported. Private connections must be owned by or shared with the caller. Supply date_from and date_to together or omit both. date_from must not be later than date_to. Running does not implicitly unpause an extraction. An identical retry with the same Idempotency-Key returns the existing task ID; reusing the key for a different action or resolved execution arguments returns 409. Keys are scoped to the agency, workspace and user and retained while the task exists. Selection validation and access checks still run on retries. This prevents duplicate submission, not repeated worker execution. Use the bulk status endpoint to poll progress.
Headers
Idempotency-Key^[ -~]+$ · requiredClient-generated key for one bulk operation; 1–128 printable ASCII characters. Use the same key for retries of the same operation and a new key for a new operation.
X-IM-WORKSPACE-IDWorkspace ID headers is required when using cookie authentication
Run extracts in bulk › Request Body
Select 1–1,000 accessible extractions by explicit IDs, or by a data-table filter. Non-empty select_ids takes precedence over filter_params and exclude_ids. In filter mode, exclude_ids are removed before checking count. Explicit IDs that are unavailable reject the entire request.
date_fromStart date. Supply together with date_to or omit both.
date_toEnd date. Must not precede date_from.
Run extracts in bulk › Responses
Task submitted or an identical previous submission returned. Does not mean downloading has finished.
idTask ID to poll through GET /api/v3/bulk/stream/{task_info_id}/.
Pause extracts in bulk
Queue the action for 1–1,000 accessible extractions. Requires extract UPDATE permission and an authenticated workspace user; service principals are not supported. Private connections must be owned by or shared with the caller. An identical retry with the same Idempotency-Key returns the existing task ID; reusing the key for a different action or resolved execution arguments returns 409. Keys are scoped to the agency, workspace and user and retained while the task exists. Selection validation and access checks still run on retries. This prevents duplicate submission, not repeated worker execution. Use the bulk status endpoint to poll progress.
Headers
Idempotency-Key^[ -~]+$ · requiredClient-generated key for one bulk operation; 1–128 printable ASCII characters. Use the same key for retries of the same operation and a new key for a new operation.
X-IM-WORKSPACE-IDWorkspace ID headers is required when using cookie authentication
Pause extracts in bulk › Request Body
Select 1–1,000 accessible extractions by explicit IDs, or by a data-table filter. Non-empty select_ids takes precedence over filter_params and exclude_ids. In filter mode, exclude_ids are removed before checking count. Explicit IDs that are unavailable reject the entire request.
Pause extracts in bulk › Responses
Task submitted or an identical previous submission returned. Does not mean downloading has finished.
idTask ID to poll through GET /api/v3/bulk/stream/{task_info_id}/.
Unpause extracts in bulk
Queue the action for 1–1,000 accessible extractions. Requires extract UPDATE permission and an authenticated workspace user; service principals are not supported. Private connections must be owned by or shared with the caller. An identical retry with the same Idempotency-Key returns the existing task ID; reusing the key for a different action or resolved execution arguments returns 409. Keys are scoped to the agency, workspace and user and retained while the task exists. Selection validation and access checks still run on retries. This prevents duplicate submission, not repeated worker execution. Use the bulk status endpoint to poll progress.
Headers
Idempotency-Key^[ -~]+$ · requiredClient-generated key for one bulk operation; 1–128 printable ASCII characters. Use the same key for retries of the same operation and a new key for a new operation.
X-IM-WORKSPACE-IDWorkspace ID headers is required when using cookie authentication
Unpause extracts in bulk › Request Body
Select 1–1,000 accessible extractions by explicit IDs, or by a data-table filter. Non-empty select_ids takes precedence over filter_params and exclude_ids. In filter mode, exclude_ids are removed before checking count. Explicit IDs that are unavailable reject the entire request.
Unpause extracts in bulk › Responses
Task submitted or an identical previous submission returned. Does not mean downloading has finished.
idTask ID to poll through GET /api/v3/bulk/stream/{task_info_id}/.
Edit extract settings in bulk
Change the settings of 1–1,000 accessible extractions of one data source and report type. Templates and data tables may differ. Only API extractions are supported: flat data, SQL, spreadsheet and file-import extractions are rejected. Requires extract UPDATE permission and an authenticated workspace user; service principals are not supported. Private connections must be owned by or shared with the caller. Each setting is changed with the operations listed in ExtractionBulkEditRequest. A setting that is left out keeps each extraction's own value. Unknown settings or operations, an empty patch and conflicting operations return 400. Schedules and the historical date are checked like in the single-extract update, including the hourly scheduling entitlement and the agency's historical depth limit. The request is accepted before the data source is consulted. The bulk edit then validates the settings each extraction ends up with in the data source and changes nothing if any of them is rejected, so it either changes every selected extraction or none. Poll the bulk status endpoint with the returned ID. Adding fields or changing additional_params, custom_filters or sync_historical_data re-downloads the history of active extractions; paused extractions stay paused. An identical retry with the same Idempotency-Key returns the existing bulk edit ID; reusing the key with a different body returns 409. One bulk edit runs per agency at a time: a new bulk edit while another one is running returns 400.
Headers
Idempotency-Key^[ -~]+$ · requiredClient-generated key for one bulk operation; 1–128 printable ASCII characters. Use the same key for retries of the same operation and a new key for a new operation.
X-IM-WORKSPACE-IDWorkspace ID headers is required when using cookie authentication
Edit extract settings in bulk › Request Body
Select 1–1,000 accessible extractions by explicit IDs, or by a data-table filter. Non-empty select_ids takes precedence over filter_params and exclude_ids. In filter mode, exclude_ids are removed before checking count. Explicit IDs that are unavailable reject the entire request.
Field names of the report type.
replace sets all params and cannot be combined with other operations. add sets a param only where it is missing, update sets it on every extraction, remove drops params by name. lookback_window, custom_refresh_window and sync_historical_data are not changed here. Set the lookback window through the lookback_window of scheduling, and the historical date through sync_historical_data.
replace sets the schedules on every extraction and cannot be combined with other operations. remove drops schedules equal to the given ones, add appends schedules an extraction does not have, and update then changes the given attributes of every remaining schedule. Changing timezone keeps the hours and minutes of each schedule.
Source-side pre-filter. An empty string removes the filter.
Names of fields whose values are hashed.
Edit extract settings in bulk › Responses
Bulk edit submitted or an identical previous submission returned. Does not mean the settings are already changed.
idTask ID to poll through GET /api/v3/bulk/stream/{task_info_id}/.
Get bulk task status
Poll a JSON status response (not SSE) for a task submitted by this user in the current agency and workspace. Requires extract VIEW permission. Service principals are not supported. A success status means the action was processed, not that extraction downloading has completed. Inspect result counts and failures for partial failures, even when status is success. Bulk edit IDs are polled here too. A bulk edit changes all selected extractions or none, so its result is always empty; on error, error_text says why the settings were rejected, and internal failures are reported with a generic message.
path Parameters
task_info_idTask ID returned by a bulk action or a bulk edit.
Headers
X-IM-WORKSPACE-IDWorkspace ID headers is required when using cookie authentication
Get bulk task status › Responses
Current task status.
statuscancelled applies only to bulk edits.
error_textEmpty while pending; completed extraction actions include counts and per-item failures. Always empty for bulk edits.
Cancel a running extract
Request cancellation of the extract's current execution. Requires extract UPDATE permission. Supported for API extractions using LES or DSAS. No request body is needed. Cancellation does not pause the extract's schedule; use the pause endpoint to stop future scheduled runs. HTTP 204 acknowledges cancellation and has no response body.
path Parameters
idExtract ID in the current workspace.
Headers
X-IM-WORKSPACE-IDWorkspace ID headers is required when using cookie authentication
Cancel a running extract › Responses
Cancellation requested. Empty response body.
Switch an extract connection
Move an existing extract to another active connection in the same workspace. Requires extract UPDATE permission. The target connection must contain an enabled account with the same remote account ID, data source and account level as the original account. This changes the extract's connection; it does not move the extract between workspaces. Cancellation of existing queued or running work is requested, and a new run is requested when the extract's pause state permits it. Manually paused extracts remain paused; other system pauses may also prevent a new run. HTTP 200 has no response body and does not mean the new run has completed.
path Parameters
idExtract ID in the current workspace.
Headers
X-IM-WORKSPACE-IDWorkspace ID headers is required when using cookie authentication
Switch an extract connection › Request Body
new_connection_idTarget connection ID in the current workspace.
switch_reasonReason recorded for the account change.
Switch an extract connection › Responses
Connection switched. Empty response body.
Run an extract
Manual run an extract with custom date range
path Parameters
idExtract ID
Run an extract › Request Body optional
date_fromStart date for the extract run
date_toEnd date for the extract run
Run an extract › Responses
Run an Extract
idExtract ID
titleExtract title
connection_idConnection ID
account_idAccount ID
account_nameAccount name
account_entity_idInternal Improvado account entity ID.
account_embedded_idEmbedded account ID. Null if the account is not linked to an embedded account.
Discovered dynamic-field objects, including their name and is_selected state. This response representation is distinct from the list of names accepted in updates.
created_atExtract creation date
last_syncLast sync date
statusExtract status
error_textError text
schedules_limitSchedules limit
sync_historical_dataStart date for historical data backfill (ISO date format, e.g. "2025-02-25"). Null if not set.
Migrate a wide report extract
Migrates a wide report extract with changed dimensions to a new extract with a new data table. The new extract is linked to the source extract and the source extract is paused; its data and data table remain queryable. Every omitted template_settings field is pre-filled from the source extract, so only the settings being changed need to be passed. template_id and account are resolved from the source extract when omitted; a data table title is generated when data_table_title is empty.
Migrate a wide report extract › Request Body
migrated_from_extraction_idID of the source wide report extract being migrated.
Template settings for the new extract. May be an empty object — every omitted field is pre-filled from the source extract.
template_idTemplate ID. Resolved from the source extract when omitted.
accountAccount ID. Resolved from the source extract when omitted.
data_table_titleTitle of the new data table. Generated automatically when empty.
Migrate a wide report extract › Responses
The newly created extract detail
idExtract ID
titleExtract title
connection_idConnection ID
account_idAccount ID
account_nameAccount name
account_entity_idInternal Improvado account entity ID.
account_embedded_idEmbedded account ID. Null if the account is not linked to an embedded account.
Discovered dynamic-field objects, including their name and is_selected state. This response representation is distinct from the list of names accepted in updates.
created_atExtract creation date
last_syncLast sync date
statusExtract status
error_textError text
schedules_limitSchedules limit
sync_historical_dataStart date for historical data backfill (ISO date format, e.g. "2025-02-25"). Null if not set.

