# publish

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

> Publish puts a Content draft live on its Site and every Interface, once it passes the Evals for its kind.

Publish puts a [Content](/business/nouns/content) draft live on its [Site](/business/nouns/site) and every [Interface](/business/nouns/interface), once it passes the Evals for its kind.

## Inputs
| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `content` | [Content](/business/nouns/content) | Yes | The draft to publish. |

## Outputs
| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `content` | [Content](/business/nouns/content) | Yes | The published Content. |

## Effects
- Emits [`Content.published`](/business/events/Content.published).
- Performed by the [Content Lead](/agents/marketing/content-lead).
- One-way (brand): it waits out its delay window, and runs in the `send` and `do` modes.
- Agents read it as Markdown; people read it in each locale the Site serves.

## 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. | [Content.publish](/business/nouns/content/publish) |

## When it waits
| Gate | Default |
| --- | --- |
| Decision class | Medium: one-way, bounded (brand) |
| [Delay window](/systems/trust-and-governance/controls/one-way-windows) | 1 business hour, in which a watcher can pause, redirect or cancel it; then it runs. |
| 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
Publish the latest content.
```

**API**

```bash
curl -X POST https://api.sb/quietcopy.com/content/content_1/publish \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
```

```json
{
  "api": "https://api.sb/quietcopy.com",
  "content": {
    "$id": "https://api.sb/quietcopy.com/content/content_1",
    "$type": "Content",
    "title": "Résumé review"
  },
  "action": {
    "$id": "https://api.sb/quietcopy.com/actions/action_1",
    "operation": "Content.publish",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/quietcopy.com/actions/action_1"
  }
}
```

**SDK**

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

const content = await $.Content.publish({ content: 'content_1' })
```

**CLI**

```bash
npx startup-builder do Content.publish --json '{"content":"content_1"}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Content.publish({ content: 'content_1' })"
  }
}
```