Get Export Configuration
Retrieve the authenticated user's enterprise export configuration.
runInterval is SIX_HOURS, TWELVE_HOURS, DAILY, or WEEKLY. The job runs only when enabled is true and the interval since the last execution has elapsed. collectionIds and targetIds are combined. perspectiveIds must contain at least one id to produce scores. includeComponents adds component and subcomponent breakdowns to score results.
When no configuration has been saved, the response is disabled, weekly, and has empty id lists. An empty perspectiveIds list does not generate scores.
Collection ids come from GET /public/v1/collections. Target ids come from GET /public/v2/suppliers/sites (prewaveTargetId).
Required permission: access_enterprise_export_api
Request
- Base URLhttps://api.prewave.com
- AuthAPI key in header X-Auth-Token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Response
The saved configuration, or the disabled default when none exists.
Example response
{
"runInterval": "WEEKLY",
"enabled": true,
"collectionIds": [
123,
456,
789
],
"targetIds": [
101,
202,
303,
102006215
],
"perspectiveIds": [
1,
2,
3
]
}Changes
No recorded changes to this operation across all 28 revisions of this API.