---
title: "Latest versions of multiple projects from hashes, loader(s), and game version(s)"
method: POST
path: "/version_files/update"
tags: ["version-files"]
---

# Latest versions of multiple projects from hashes, loader(s), and game version(s)

`POST /version_files/update`

This is the same as [`/version_file/{hash}/update`](#operation/getLatestVersionFromHash) except it accepts multiple hashes.

## Request body

- GetLatestVersionsFromHashesBody — A list of hashes and the algorithm used to create them
  - `hashes` string[], required
  - `algorithm` 'sha1' | 'sha512', required
  - `loaders` string[], required
  - `game_versions` string[], required
  - `version_types` string[]

## Response `200`

Expected response to a valid request

- HashVersionMap — A map from hashes to versions

## Other responses

- `400` — Request was invalid, see given error

---

[API](https://skmtc.net/modrinth/apis/labrinth.md) · [All operations](https://skmtc.net/modrinth/apis/labrinth/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/modrinth/labrinth/revisions/16bb5dbc54f4/schema)
