Retrieve a batched background operation
GET
/api/v4/admin/batched_background_operations/{id}
This feature was introduced in GitLab 19.1.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”id
required
integer
The batched background operation id
Query Parameters
Section titled “Query Parameters”database
string
The name of the database
Responses
Section titled “Responses”OK
Media typeapplication/json
object
id
string
partition
integer
job_class_name
string
table_name
string
column_name
string
status
string
created_at
string format: date-time
started_at
string format: date-time
finished_at
string format: date-time
on_hold_until
string format: date-time
Example
{ "id": "<cluster>:<partition_id>:<id/uuid>", "partition": 1, "job_class_name": "UsersDeleteUnconfirmedSecondaryEmails", "table_name": "users", "column_name": "id", "status": "active", "created_at": "2025-05-15T10:00:00Z", "started_at": "2025-05-15T10:05:00Z", "finished_at": "2025-05-15T11:00:00Z", "on_hold_until": "2025-05-15T10:15:00Z"}Bad Request
401 Unauthorized
403 Forbidden
404 Not found