Restart detection for an upload whose session expired
File
Restart detection for an upload whose session expired
Re-runs source detection on a file that was uploaded but never confirmed.
POST
Restart detection for an upload whose session expired
This endpoint requires authentication. Include your Bearer token in the Authorization header.
Description
Detection sessions expire after 7 days and are then destroyed, soPOST /file/confirm-detection/{sessionId} has nothing to act on — the
session it needs is gone. The uploaded file itself is still in storage,
so this reads it back and starts detection again on the same Files
row, keeping its id and history rather than creating a duplicate.
Stops at a fresh session awaiting confirmation. It does not auto-confirm:
mapping a statement to a royalty source is the user’s decision.
Authorization: admin or higher — the same privilege as confirming a
detection, because it leads to that decision.
Code Examples
Authorizations
JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"
Path Parameters
The file to re-detect.