Create data export run
Initiate an asynchronous data export run with an optional custom activity window.
Completed
and a fileUri is available.
x-user-id header. Exports cover all users for the authenticated partner.Activity window options
- Incremental (default)
- Custom range
{} to export activity since the latest completed run’s activityTo through the new run’s
initiation time. On the first export, all historical activity is included (no lower bound).Authorizations
Auth0-issued access token that includes the wealthyhood:nbg scope.
Body
Optional activity window for the export. Omit both fields (or send an empty object) for the default incremental window. When specifying a custom window, both fields are required.
Lower bound (exclusive) for activity included in the export. Must be provided together with
activityTo.
"2025-01-01T00:00:00.000Z"
Upper bound (inclusive) for activity included in the export. Must be provided together with
activityFrom. Cannot be in the future.
"2025-01-31T23:59:59.999Z"
Response
Export run accepted and queued for processing.
Unique identifier for the export run.
"674a1b2c3d4e5f6789012345"
Current processing status of the export run.
Pending, InProgress, Completed, Failed "Pending"
ISO 8601 timestamp when the export run was initiated.
"2025-01-16T01:00:00.000Z"
Schema version used for the export file (semantic versioning).
"1.1.1"
Resolved upper bound (inclusive) for activity in this export. Defaults to the run's initiation time when not explicitly requested.
"2025-01-16T01:00:00.000Z"
ISO 8601 timestamp when the export completed. Present when status is Completed.
"2025-01-16T02:00:00.000Z"
URL to download the exported JSON file. Present when status is Completed.
"https://data-exports.wealthyhood.cloud/nbg/2026/01/16/export.json"
Error message when status is Failed.
"Unknown error during data export"
Resolved lower bound (exclusive) for activity in this export. Omitted on the first incremental run when no previous completed export exists.
"2025-01-15T10:00:00.000Z"