Skip to content

Get the list of batched background operations

GET
/api/v4/admin/batched_background_operations

This feature was introduced in GitLab 19.1.

database
string
default: main nullable
Allowed values: main ci sec embedding geo

The name of the database, the default main

job_class_name
string
nullable

Filter operations by job class name.

OK

Media type application/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