# Recovery Objective

URL: /business/nouns/recovery-objective · Id: `noun:recovery-objective`

> A Recovery Objective sets how much data one Capability may lose and how fast it returns, proven by a restore drill on a cadence.

A Recovery Objective sets how much data one [Capability](/business/nouns/capability) may lose and how fast it returns, proven by a restore drill on a cadence.

## Properties
| Property | Type | Required | Description |
| --- | --- | --- | --- |
| `recoveryPoint` | `string` | Yes | The most data a failure may lose, as a window such as `15m`. |
| `recoveryTime` | `string` | Yes | How fast the Capability returns after a failure, as a window such as `4h`. |
| `drillEvery` | `string` | Yes | The restore drill cadence, such as `quarterly`. |
| `lastDrill` | `datetime` | No | When the last restore drill met both objectives. |

## Object
```json
{
  "$id": "https://api.sb/routewise.dev/recovery-objectives/recovery_objective_1",
  "$type": "RecoveryObjective",
  "recoveryPoint": "Example recovery point",
  "recoveryTime": "Example recovery time",
  "drillEvery": "Example drill every",
  "lastDrill": "2026-10-22T12:00:00Z"
}
```

## Relationships
- <a id="rel-capability"></a>A Recovery Objective **has** one [Capability](/business/nouns/capability): the [Capability](/business/nouns/capability) the objective restores. `capability`, inverse [`recoveryObjectives`](/business/nouns/capability#rel-recovery-objectives).
- <a id="rel-startup"></a>A Recovery Objective **has** one [Startup](/business/nouns/startup): one Recovery Objective for each [Capability](/business/nouns/capability) the [Startup](/business/nouns/startup) depends on. `startup`, inverse [`recoveryObjectives`](/business/nouns/startup#rel-recovery-objectives).

## Verbs
| Verb | Description | Subject | Event | Class |
| --- | --- | --- | --- | --- |
| [RecoveryObjective.drill](/business/nouns/recovery-objective/drill) | Drill restores one Capability’s records into an isolated namespace and records whether the restore met both objectives. | [Reliability Engineer](/agents/engineering/reliability-engineer) | [`RecoveryObjective.drilled`](/business/events/RecoveryObjective.drilled) | Two-way: `try`, `send`, `do` |
| <a id="create"></a>[RecoveryObjective.create](/business/nouns/recovery-objective/create) | Creates a Recovery Objective. Inherited from [Noun](/business/nouns/noun). | None. | `RecoveryObjective.created` | Two-way: `try`, `send`, `do` |
| <a id="get"></a>[RecoveryObjective.get](/business/nouns/recovery-objective/get) | Returns one Recovery Objective by id. Inherited from [Noun](/business/nouns/noun). | None. | None. | Read: `try`, `do` |
| <a id="list"></a>[RecoveryObjective.list](/business/nouns/recovery-objective/list) | Returns Recovery Objectives, newest first, one page at a time. Inherited from [Noun](/business/nouns/noun). | None. | None. | Read: `try`, `do` |
| <a id="update"></a>[RecoveryObjective.update](/business/nouns/recovery-objective/update) | Changes the given properties of a Recovery Objective. Inherited from [Noun](/business/nouns/noun). | None. | `RecoveryObjective.updated` | Two-way: `try`, `send`, `do` |
| <a id="delete"></a>[RecoveryObjective.delete](/business/nouns/recovery-objective/delete) | Deletes a Recovery Objective; its history is kept. Inherited from [Noun](/business/nouns/noun). | None. | `RecoveryObjective.deleted` | One-way: `send`, `do` |

## Permissions
Which Access level may call each Verb. One-way Verbs wait their delay window.

| Operation | `owner` | `admin` | `member` | `viewer` |
| --- | --- | --- | --- | --- |
| `RecoveryObjective.create` | Yes | Yes | Yes | No |
| `RecoveryObjective.get` | Yes | Yes | Yes | Yes |
| `RecoveryObjective.list` | Yes | Yes | Yes | Yes |
| `RecoveryObjective.update` | Yes | Yes | Yes | No |
| `RecoveryObjective.delete` | Yes | Yes | Yes | No |
| `RecoveryObjective.drill` | Yes | Yes | Yes | No |

## Call it

**Ask**

```text
Drill the latest recovery objective.
```

**API**

```bash
curl -X POST https://api.sb/shiftnote.app/recovery-objectives/recovery_objective_1/drill \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
```

```json
{
  "api": "https://api.sb/shiftnote.app",
  "objective": {
    "$id": "https://api.sb/shiftnote.app/recovery-objectives/recovery_objective_1",
    "$type": "RecoveryObjective",
    "recoveryPoint": "Example recovery point",
    "recoveryTime": "Example recovery time",
    "drillEvery": "Example drill every"
  },
  "action": {
    "$id": "https://api.sb/shiftnote.app/actions/action_1",
    "operation": "RecoveryObjective.drill",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/shiftnote.app/actions/action_1"
  }
}
```

**SDK**

```ts
import { $ } from 'startup-builder'

const objective = await $.RecoveryObjective.drill({ objective: 'recovery_objective_1' })
```

**CLI**

```bash
npx startup-builder do RecoveryObjective.drill --json '{"objective":"recovery_objective_1"}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.RecoveryObjective.drill({ objective: 'recovery_objective_1' })"
  }
}
```

## Example
Payments carries a Recovery Objective of `15m` for data and `1h` for service, drilled quarterly. The last drill restored the namespace in 22 minutes, so both objectives held.