---
ai:
  exclude: true
search:
  tags:
    - Backup and Restore
    - GET
seo:
  description: >-
    returns list of information on files in… Reference for the GET
    /rest/api/backup-restore/restore/files endpoint in the Confluence Data
    Center API.
sidebar:
  label: Get files in restore directory
  badge: GET
title: Get files in restore directory
type: openapi-operation
---
returns list of information on files in conf-home/restore/(jobScope).

`GET /rest/api/backup-restore/restore/files`

**Responses**

- `200` — Returns a list of FileInfo objects, containing fileName, fileCreationTime, fileSize, and jobScope.
- `400` — Returned if user is not a system administrator

Response example, 200:

```json
[
  {
    "name": "backup-2020-01-01-01-01-01.zip",
    "creationTime": "2020-01-01T01:01:01.000Z",
    "size": 1000,
    "jobScope": "SITE"
  }
]
```
