# open

URL: /business/nouns/renewal/open · Id: `verb:Renewal.open` · Call: `await $.Renewal.open({ … })` (SDK) or the `do` tool at `https://api.sb/mcp`. Inputs says what to pass, Outputs what returns, When it waits who approves.

> Open starts the Renewal for a term Subscription before its term ends, with a usage review and any notice the legal floor requires.

Open starts the [Renewal](/business/nouns/renewal) for a term [Subscription](/business/nouns/subscription) before its term ends, with a usage review and any notice the legal floor requires.

## Inputs
| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `subscription` | [Subscription](/business/nouns/subscription) | Yes | The Subscription whose term is ending. |

## Outputs
| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `renewal` | [Renewal](/business/nouns/renewal) | Yes | The open Renewal. |

## Effects
- Emits [`Renewal.opened`](/business/events/Renewal.opened).
- Performed by the [Success Manager](/agents/customer/success-manager).
- Two-way: it runs at once, in the `try`, `send` and `do` modes.
- Runs 90 days before the term ends with no caller; a Setting at any namespace changes the lead time.
- Drafts an expansion or right-size Quote when usage moved during the term.

## 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. | [Renewal.open](/business/nouns/renewal/open) |

## When it waits
| Gate | Default |
| --- | --- |
| Decision class | Low: two-way, nothing at stake |
| [Delay window](/systems/trust-and-governance/controls/one-way-windows) | None: it runs once review passes. |
| Limit | The call [Limit](/business/nouns/limit) of the [Permission](/business/nouns/permission) it runs under. |
| Over the Limit | It waits `pending` for an [Approval](/business/nouns/approval) from the [Founder](/agents/founding/founder). Approved, it runs; refused, it ends `refused` with [`limit-exceeded`](/code/api/errors/limit-exceeded); unanswered by its deadline, it ends `canceled`. |

## Example

**Ask**

```text
Open the latest renewal with a subscription.
```

**API**

```bash
curl -X POST https://api.sb/tutorloop.com/renewals/open \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"subscription":"subscription_1"}'
```

```json
{
  "api": "https://api.sb/tutorloop.com",
  "renewal": {
    "$id": "https://api.sb/tutorloop.com/renewals/renewal_1",
    "$type": "Renewal",
    "status": "Open",
    "termEndsAt": "2026-10-22T12:00:00Z",
    "openedAt": "2026-10-22T12:00:00Z"
  },
  "action": {
    "$id": "https://api.sb/tutorloop.com/actions/action_1",
    "operation": "Renewal.open",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/tutorloop.com/actions/action_1"
  }
}
```

**SDK**

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

const renewal = await $.Renewal.open({ subscription: 'subscription_1' })
```

**CLI**

```bash
npx startup-builder do Renewal.open --json '{"subscription":"subscription_1"}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Renewal.open({ subscription: 'subscription_1' })"
  }
}
```