# Start a forensics run on a stored file
Source: https://docs.file.ai/api-reference/forensics/start-a-forensics-run-on-a-stored-file

> Queues forensics on a file that is already stored, identified by file_id. Takes a JSON body — unlike extract, split and classify there is no upload.

post /prod/v1/forensics

Queues forensics on a file that is already stored, identified by file_id. Takes a JSON body — unlike extract, split and classify there is no upload.

spec_filter names the forensics to run (see the schema for the full
list, e.g. web_presence, ai_gen_detection, copy_move). Each result lands
under `forensics.{key}` on GET; web_presence reports whether the image is
present on the web from the file metadata (layer1) and a reverse-image
search (layer2), the other detectors report FileMap's own fields.

Always returns 202 Accepted with a run_id; poll
GET /v1/forensics/runs/{run_id} until status is complete or error. Web
presence can take up to ~180 seconds. A run still queued or running
after ~6 minutes is stuck — retry it via
POST /v1/forensics/runs/{run_id}/retry. DELETE the run once you have
the result; the file itself is not affected.
