# Read the status of the platform backup

URL: /docs/api/disaster-recovery/platformbackup/get

`GET /apis/funcd.io/v1alpha1/platformbackup`

## Authentication

One of:

- `bearer`: A credential of funcd's config, sent as Authorization: Bearer followed by its token.
- `apiKey`: A credential of funcd's config, sent in the X-Api-Key header.

## Answers

| Status | Problem type | When | What to do |
| --- | --- | --- | --- |
| 200 |  | OK |  |
| 401 | `urn:funcd:problem:unauthorized` | The request carries no bearer token or API key, or one that funcd does not know. | Send a credential of funcd's config as a bearer token in the Authorization header, or in X-Api-Key. |
| 403 | `urn:funcd:problem:forbidden` | The credential's role does not allow it to read the status of the platform backup: only an admin's does. | Use an admin's credential. |
| 503 | `urn:funcd:problem:unavailable` | funcd could not list backup.target, where the platform backup writes: the bucket does not exist, the URL is wrong, or the target fails. | Check backup.target and the key of backup.credentialsFile, then read the status again. |