Files

Check for an existing file by hash

Changed on

Dedup pre-check — returns whether your account already has a file with this content hash. Lets clients skip the upload entirely.

get/files/check

Request

  • Base URL: https://api.varg.ai/v2
  • URL: https://api.varg.ai/v2/files/check
  • Auth: HTTP bearer

Query parameters

hashstring required

sha256 hex, with or without the sha256: prefix

Response

Check result

existsboolean

Changes