Skip to main content

Step 1. Initialize session

Success response:

Repeated calls

Step 2. Upload entities

Payload format: Entity upload. Uploaded packages are validated and collected in the session. They wait until you start data loading.

Step 3. Check session status

Poll GET /status after ingest until can_start_upload = true, and after start-upload until session_status = DONE.

Step 4. Start data loading

Date range rules:
  • date_from ≤ date_to
  • date_to must be before today
  • date_from cannot be earlier than the client minimum date configured on the server
If previously uploaded packages are still being prepared → 409 Upload tasks are still in progress. Retry after upload_tasks_finished = true.

Step 5. Wait for completion

Progress of data loading is tracked via GET /uploading/{upload_uuid}/status. Poll this endpoint until session_status = DONE. You can also:
  • optionally receive an email when data loading finishes (configure with support);
  • check the status in the UI at data-console.datawiz.io.

Terminate data loading

Available only in STARTED state. The API requests cancellation; the session returns to UPLOADING only after loading stops. Poll GET /status until session_status = UPLOADING before uploading again. If the session is not STARTED:
HTTP status: 404 Not Found.

Delete upload

Available only in UPLOADING. Deletion of collected data is asynchronous. Start a new cycle with initialize-session. If the session is not UPLOADING (e.g. DONE or STARTED), the API returns 409 Conflict:
For a DONE session, use initialize-session instead of delete.