Recalculate checksums for model records
PUT
/api/v4/admin/data_management/{model_name}/checksum
Recalculates checksums for selected records of a specified model, filtered by checksum_state and identifiers parameters if provided. The request enqueues a background job to perform the recalculation. Only available to administrators on primary Geo sites.
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ” model_name
required
string
See https://docs.gitlab.com/administration/admin_area/#data-management for the list of allowed values
Example
uploadsRequest Body
Section titled “ Request Body ” Media type application/json
object
identifiers
One of:
Array<integer>
Array<string>
checksum_state
The checksum status of the records to filter by
string
Responses
Section titled “ Responses ”OK
Media type application/json
object
Example
{ "record_identifier": "abc123", "model_class": "Project", "created_at": "2025-01-31T15:10:45.080Z", "file_size": 123, "checksum_information": { "checksum": { "type": "string", "example": "abc" }, "last_checksum": { "type": "dateTime", "example": "2025-01-31T15:10:45.080Z" }, "checksum_state": { "type": "string", "example": "pending" }, "checksum_retry_count": { "type": "integer", "example": 100 }, "checksum_retry_at": { "type": "dateTime", "example": "2025-01-31T15:10:45.080Z" }, "checksum_failure": { "type": "string", "example": "failed" } }}400 Bad request
401 Unauthorized
403 Forbidden
404 Model Not Found