Scam AI raised $2.6M to combat AI-powered scams→
scam.ai

~/docs cat retrieve-detection.md

Retrieve a detection

GET /v1/detections/{id} returns a detection you already ran. The body is the one the create call answered, field for field, and only the account that ran it can read it.

curl
curl "https://api.scam.ai/v1/detections/6f1c2a3e-9b7d-4e5f-8a21-3c4d5e6f7a8b" \
  -H "x-api-key: <YOUR_API_KEY>"

The fields are the ones on the Detect pages: image, video, audio and link.

Answers 404 with NOT_FOUND for an id this account never ran, and for a run sent with save="false": nothing was stored, so there is nothing to retrieve. A run recorded before retrievable storage existed also answers 404, and its message points at GET /task/{id}/receipt, which still serves its verdict.