# Recovery Objective methods: drill

URL: /code/sdk/recovery-objective/verbs · Id: `page:code/sdk/recovery-objective/verbs`

> The Recovery Objective Verbs drill as typed SDK methods, with inputs, result, refusals and an example.

Reference for [Recovery Objective](/business/nouns/recovery-objective), one group of [Recovery Objective methods](/code/sdk/recovery-objective).

### RecoveryObjective.drill
Drill restores one Capability’s records into an isolated namespace and records whether the restore met both objectives. [Verb page](/business/nouns/recovery-objective/drill?interface=sdk).

```ts
interface RecoveryObjectiveVerbs {
  drill(input: RecoveryObjectiveDrillInput, options?: SB.CallOptions): SB.Call<RecoveryObjective>
}
```

Emits [`RecoveryObjective.drilled`](/business/events/RecoveryObjective.drilled).

**Inputs**

| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `objective` | [Recovery Objective](/business/nouns/recovery-objective) | Yes | The Recovery Objective to prove. |

**Returns**

| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `objective` | [Recovery Objective](/business/nouns/recovery-objective) | Yes | The objective with its last drill result. |

**Refuses when**

| Check | Error | Fix | Then call |
| --- | --- | --- | --- |
| The key is valid, but its scopes do not allow this operation. | [`forbidden`](/code/api/errors/forbidden) | Use a key whose scopes cover the operation, or ask an owner of the namespace to grant them. | None. |

**Example**

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

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