Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Managed Service for GitLab
  • Getting started
  • Access management
  • Pricing policy
  • Terraform reference
    • API authentication
      • Overview
        • Overview
        • Get
        • List
        • Create
        • PrepareBackupUpload
        • Update
        • Delete
        • Start
        • Stop
        • ListBackups
        • GetBackupDownloadUrls
  • Monitoring metrics
  • Audit Trails events
  • Release notes
  • FAQ

In this article:

  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  • Backup
  1. API reference
  2. REST
  3. Instance
  4. ListBackups

Managed Service for Gitlab API, REST: Instance.ListBackups

Written by
Yandex Cloud
Updated at November 23, 2026
View as Markdown
  • HTTP request
  • Path parameters
  • Query parameters
  • Response
  • Backup

Retrieves the list of backups for the specified GitLab instance.

HTTP requestHTTP request

GET https://gitlab.api.cloud.yandex.net/gitlab/v1/instances/{instanceId}/backups

Path parametersPath parameters

Request message for InstanceService.ListBackups.

Field

Description

instanceId

string

Required field. ID of the GitLab instance to list backups for.

The maximum string length in characters is 50.

Query parametersQuery parameters

Request message for InstanceService.ListBackups.

Field

Description

pageSize

string (int64)

Maximum number of results per page. If unspecified, the service uses its default page size.

Acceptable values are 0 to 1000, inclusive.

pageToken

string

Page token returned by a previous ListBackups request for the same instance.

The maximum string length in characters is 100.

ResponseResponse

HTTP Code: 200 - OK

{
  "backups": [
    {
      "id": "string",
      "folderId": "string",
      "instanceId": "string",
      "createdAt": "string",
      "size": "string",
      "startedAt": "string",
      "status": "string",
      "creationType": "string",
      "gitlabVersion": "string"
    }
  ],
  "nextPageToken": "string"
}

Response message for InstanceService.ListBackups.

Field

Description

backups[]

Backup

Backups of the specified GitLab instance.

nextPageToken

string

Token to retrieve the next page. Empty when there are no more results.

BackupBackup

A backup of a GitLab instance.

Field

Description

id

string

ID of the backup.

folderId

string

ID of the folder that owns the backup.

instanceId

string

ID of the GitLab instance that owns the backup.

createdAt

string (date-time)

Time when backup creation completed.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

size

string (int64)

Size of the backup in bytes.

startedAt

string (date-time)

Time when backup creation started.

String in RFC3339 text format. The range of possible values is from
0001-01-01T00:00:00Z to 9999-12-31T23:59:59.999999999Z, i.e. from 0 to 9 digits for fractions of a second.

To work with values in this field, use the APIs described in the
Protocol Buffers reference.
In some languages, built-in datetime utilities do not support nanosecond precision (9 digits).

status

enum (Status)

Current status of the backup.

  • COMPLETED: Backup creation completed successfully.
  • FAILED: Backup creation failed.
  • CREATING: Backup creation is in progress.

creationType

enum (CreationType)

How the backup was created.

  • AUTOMATED: Backup created on a schedule.
  • MANUAL: Backup created or uploaded manually.

gitlabVersion

string

GitLab version of the source instance when the backup was created.

Was the article helpful?

Previous
Stop
Next
GetBackupDownloadUrls
© 2026 Direct Cursus Technology L.L.C.