Abort a running entity import
Changed onAsks a running import to stop. Rows already imported are kept - this is a stop, not a rollback - and the job still produces its result reports for everything that landed before the stop, then reaches the terminal status CANCELLED.
The stop is cooperative: the worker notices the request at its next batch boundary, so the job typically reaches CANCELLED within seconds. Poll POST /v1/entity:import with the job_id as usual to observe it.
Idempotent - aborting an already-aborted or already-finished job is not an error.
Request
- Base URLhttps://entity.sls.epilot.io
- URLhttps://entity.sls.epilot.io/v1/entity:abortImport
- Auth
- HTTP bearer
- or API key in header x-epilot-org-id
Query parameters
The unique identifier of the import job.
The ID of the import job to stop.
Slug of the schema being imported, used to authorize the caller.
Response
The stop was requested. The job is still running until the worker picks the request up.
Changes
- info
endpoint added
- info