Retrieve model information
GET
/api/v4/admin/data_management/{model_name}
Retrieves information about a data model in an instance. Only available to administrators.
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
uploadsQuery Parameters
Section titled “Query Parameters”page
integer
Current page number
Example
1per_page
integer
Number of items per page
Example
20identifiers
checksum_state
string
The checksum status of the records to filter by
cursor
string
Cursor for obtaining the next set of records
sort
string
Order of sorting
Responses
Section titled “Responses”OK
Media typeapplication/json
object
Example
{ "record_identifier": "abc123", "model_class": "Project", "created_at": "2025-01-31T15:10:45.080Z", "file_size": 123}400 Bad request
401 Unauthorized
403 Forbidden
404 Model Not Found