Step 1. Initialize session
Repeated calls
Step 2. Upload entities
Step 3. Check session status
GET /status after ingest until can_start_upload = true, and after start-upload until session_status = DONE.
Step 4. Start Connector
date_from≤date_todate_tomust be before todaydate_fromcannot be earlier than the client minimum date configured on the server
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. PollGET /status until session_status = DONE.
Terminate Connector
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:
404 Not Found.
Delete upload
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:
DONE session, use initialize-session instead of delete.