Skip to content

Retrieve a batched background operation

GET
/api/v4/admin/batched_background_operations/{id}

This feature was introduced in GitLab 19.1.

id
required
integer

The batched background operation id

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

The name of the database

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

404 Not found