# Backups across your organisations

For a member of several organisations, such as an agency, how the backups stand in each of them on one page and in the organisation switch.


## One page for every organisation

An agency often looks after the applications of several customers, each in an organisation of its own. **Backups** in the sidebar, **Organisations** tab, lists every organisation your address is a member of, with how its backups stand:

- the worst state among its environments: **Failing**, **Needs attention**, **All protected** or **No backups**;
- how many environments are failing or overdue, need attention (backups on, but not every item protected yet), are protected, and have backups off;
- the oldest last successful backup among the environments whose backups are on.

**Open** signs you in to that organisation at once, as the organisation switch does, and its own Backups page shows the environments.

The organisation switch in the sidebar shows the same state as a dot next to each organisation's name.

> [!NOTE]
> The overview is being rolled out. Until Brewless has switched it on, the tab and the dots are not there and `GET /api/backups/organisations` answers `404`.

## What you see of each organisation

The figures come from each organisation's own data, read in that organisation, and only where you are a member who may see applications there. Where you may not, or the organisation is blocked, it is listed without figures. Only counts, states and times leave an organisation: no names of applications or environments.

The figures are kept for two minutes per member, so a backup that just finished can take that long to show. Brewless support, looking around in an organisation, sees no other organisation.

## The API

| Endpoint | What it gives |
| --- | --- |
| `GET /api/backups/organisations` | Every organisation of the signed-in member: `id`, `name`, `url`, `current`, and `health` with `environments`, `protected`, `attention`, `failing`, `off`, `oldest_success_at` and `worst`, or `null` |
