Skip to main content

Step 1. Initialize session

Success response:

Repeated calls

Step 2. Upload entities

Payload format: Entity upload.

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 Connector

Date range rules:
  • date_fromdate_to
  • date_to must be before today
  • date_from cannot be earlier than the client minimum date configured on the server
If background S3 writes are still running → 409 Upload tasks are still in progress. Retry after upload_tasks_finished = true.

Step 5. Wait for Connector completion

No extra client requests are required. Connector notifies the service automatically. Poll GET /status until session_status = DONE.

Terminate Connector

Available only in STARTED state. The API asks Connector to stop; the session returns to UPLOADING only after Connector sends the completion webhook with is_terminated=true. 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. File deletion 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.