Rollback Job
Rollback a completed/failed indexing job — removes all indexed data (RDS + Turbopuffer).
Behavior:
- If job is RUNNING: returns 409 Conflict — cancel it first
- If job is in terminal state (SUCCEEDED/FAILED/ABORTED/TIMED_OUT): deletes all data
- If job not found: returns 404
Returns:
- job_id: The job identifier
- status: "rolled_back" or "error"
- files_removed: List of file names that were removed
- rolled_back_at: Timestamp of rollback
Authentication: Requires Bearer token in Authorization header
Path parameters
job_id
Headers
Response
Successful Response
job_id
status
files_removed
message
rolled_back_at