# Key Result

URL: /business/nouns/key-result · Id: `noun:key-result`

> A Key Result is one measurable target inside a Goal: a Metric, a baseline, a target, and a deadline.

A Key Result is one measurable target inside a [Goal](/business/nouns/goal): a [Metric](/business/nouns/metric), a baseline, a target, and a deadline.

## Properties
| Property | Type | Required | Description |
| --- | --- | --- | --- |
| `baseline` | `number` | Yes | Where the Metric started. |
| `target` | `number` | Yes | Where the Metric must reach. |
| `deadline` | `date` | Yes | When it must reach it. |

## Object
```json
{
  "$id": "https://api.sb/ledgerlark.com/key-results/key_result_1",
  "$type": "KeyResult",
  "baseline": 1,
  "target": 1,
  "deadline": "2026-10-22"
}
```

## Relationships
- <a id="rel-measures"></a>A Key Result **measures** one [Goal](/business/nouns/goal): a [Goal](/business/nouns/goal) is met when its Key Results reach their targets. `measures`, inverse [`keyResults`](/business/nouns/goal#rel-key-results).
- <a id="rel-reads"></a>A Key Result **reads** one [Metric](/business/nouns/metric): a Key Result compares one [Metric](/business/nouns/metric)’s value against its baseline and target. `reads`, inverse [`readBy`](/business/nouns/metric#rel-read-by).

## Verbs
| Verb | Description | Subject | Event | Class |
| --- | --- | --- | --- | --- |
| <a id="create"></a>[KeyResult.create](/business/nouns/key-result/create) | Creates a Key Result. Inherited from [Noun](/business/nouns/noun). | None. | `KeyResult.created` | Two-way: `try`, `send`, `do` |
| <a id="get"></a>[KeyResult.get](/business/nouns/key-result/get) | Returns one Key Result by id. Inherited from [Noun](/business/nouns/noun). | None. | None. | Read: `try`, `do` |
| <a id="list"></a>[KeyResult.list](/business/nouns/key-result/list) | Returns Key Results, newest first, one page at a time. Inherited from [Noun](/business/nouns/noun). | None. | None. | Read: `try`, `do` |
| <a id="update"></a>[KeyResult.update](/business/nouns/key-result/update) | Changes the given properties of a Key Result. Inherited from [Noun](/business/nouns/noun). | None. | `KeyResult.updated` | Two-way: `try`, `send`, `do` |
| <a id="delete"></a>[KeyResult.delete](/business/nouns/key-result/delete) | Deletes a Key Result; its history is kept. Inherited from [Noun](/business/nouns/noun). | None. | `KeyResult.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` |
| --- | --- | --- | --- | --- |
| `KeyResult.create` | Yes | Yes | Yes | No |
| `KeyResult.get` | Yes | Yes | Yes | Yes |
| `KeyResult.list` | Yes | Yes | Yes | Yes |
| `KeyResult.update` | Yes | Yes | Yes | No |
| `KeyResult.delete` | Yes | Yes | Yes | No |

## Call it

**Ask**

```text
Add a key result to Kiln Bakery.
```

**API**

```bash
curl -X POST https://api.sb/kilnbakery.com/key-results \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"baseline":1,"target":1,"deadline":"2026-10-22"}'
```

```json
{
  "api": "https://api.sb/kilnbakery.com",
  "keyResult": {
    "$id": "https://api.sb/kilnbakery.com/key-results/key_result_1",
    "$type": "KeyResult",
    "baseline": 1,
    "target": 1,
    "deadline": "2026-10-22"
  },
  "action": {
    "$id": "https://api.sb/kilnbakery.com/actions/action_1",
    "operation": "KeyResult.create",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/kilnbakery.com/actions/action_1"
  }
}
```

**SDK**

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

const keyResult = await $.KeyResult.create({ baseline: 1, target: 1, deadline: '2026-10-22' })
```

**CLI**

```bash
npx startup-builder do KeyResult.create --json '{"baseline":1,"target":1,"deadline":"2026-10-22"}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.KeyResult.create({ baseline: 1, target: 1, deadline: '2026-10-22' })"
  }
}
```

## Example
A Key Result of a clinic-reminder [SaaS](/products/templates/saas) reads the paid clinic count [Metric](/business/nouns/metric) from 35 to a target of 200 by year end.