# pause

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

> Pause stops every call through an Integration at once and keeps its token and cursor.

Pause stops every call through an [Integration](/business/nouns/integration) at once and keeps its token and cursor.

## Inputs
| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `integration` | [Integration](/business/nouns/integration) | Yes | The Integration to pause. |
| `reason` | `text` | No | Why, shown to every Worker whose Action waits on it. |

## Outputs
| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `integration` | [Integration](/business/nouns/integration) | Yes | The Integration, `paused`. |

## Effects
- Emits [`Integration.paused`](/business/events/Integration.paused).
- Two-way: it runs at once, in the `try`, `send` and `do` modes.
- Holds every Action that needs it `pending` with reason `awaitingSource`.

## 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. | [Integration.pause](/business/nouns/integration/pause) |

## 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
Pause the latest integration.
```

**API**

```bash
curl -X POST https://api.sb/kilnbakery.com/integrations/integration_1/pause \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
```

```json
{
  "api": "https://api.sb/kilnbakery.com",
  "integration": {
    "$id": "https://api.sb/kilnbakery.com/integrations/integration_1",
    "$type": "Integration",
    "acquired": "owned",
    "scope": "studio",
    "mode": "mirror",
    "state": "connecting"
  },
  "action": {
    "$id": "https://api.sb/kilnbakery.com/actions/action_1",
    "operation": "Integration.pause",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/kilnbakery.com/actions/action_1"
  }
}
```

**SDK**

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

const integration = await $.Integration.pause({ integration: 'integration_1' })
```

**CLI**

```bash
npx startup-builder do Integration.pause --json '{"integration":"integration_1"}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Integration.pause({ integration: 'integration_1' })"
  }
}
```