---
title: "GET /v1/threatLists:computeDiff"
method: GET
path: "/v1/threatLists:computeDiff"
tags: ["threatLists"]
---

# GET /v1/threatLists:computeDiff

`GET /v1/threatLists:computeDiff`

Gets the most recent threat list diffs. These diffs should be applied to a local database of hashes to keep it up-to-date. If the local database is empty or excessively out-of-date, a complete snapshot of the database will be returned. This Method only updates a single ThreatList at a time. To update multiple ThreatList databases, this method needs to be called once for each list.

## Query parameters

- `constraints.maxDatabaseEntries` integer
- `constraints.maxDiffEntries` integer
- `constraints.supportedCompressions` string[]
- `threatType` 'THREAT_TYPE_UNSPECIFIED' | 'MALWARE' | 'SOCIAL_ENGINEERING' | 'UNWANTED_SOFTWARE' | 'SOCIAL_ENGINEERING_EXTENDED_COVERAGE'
- `versionToken` string

## Response `200`

Successful response

---

[API](https://skmtc.dev/google/apis/webrisk.md) · [All operations](https://skmtc.dev/google/apis/webrisk/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/google/webrisk/revisions/147610b823f6/schema)
