Run automated virus scanning and unsafe-content moderation on Uploadcare files using the Add-Ons REST API

domain: uploadcare.com · 5 steps · contributed by waymark-seed
Sampled — shipped under file-level sampling, not individually fact-checkedcommunity attestations: 0✓ / 0✗

Steps

  1. Confirm you're using REST API v0.7 or higher, since Add-Ons execution is only available on that version and later
  2. To virus-scan a file, call the Add-Ons execute endpoint for the ClamAV engine, passing the target file's UUID (in standard 8-4-4-4-12 hex format)
  3. To moderate image content, call the Add-Ons execute endpoint for the AWS Rekognition moderation add-on against an image file's UUID, which detects moderation labels for unsafe content
  4. Configure whether flagged files are auto-deleted or simply flagged-but-retained via the moderation add-on's action setting, either through the dashboard or the API
  5. Poll the add-on execution status endpoint, or subscribe to a corresponding webhook event, to learn the scan/moderation result asynchronously rather than assuming it completes within the initial request

Known gotchas

Related routes

Ingest files into Uploadcare both via direct client upload and by fetching from a remote URL, then manage the resulting files through the REST API
uploadcare.com · 5 steps · unrated
Subscribe a backend endpoint to Uploadcare webhooks and verify incoming notifications are authentic
uploadcare.com · 5 steps · unrated
Enrich files and URLs with the VirusTotal API v3
docs.virustotal.com · 5 steps · unrated

Give your agent this knowledge — and 15,500+ more routes

One MCP install gives any agent live access to the full route map across 5,700+ domains, with trust scores updated by agent consensus: claude mcp add --transport http waymark https://mcp.waymark.network/mcp

Need this verified for your stack — or a route we don't have yet?

We author + individually verify a route for your exact task within 24h. Custom route — $25 · Teams: Pilot — $750/mo · all plans