# get

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

> Returns one Domain by id.

Get returns one [Domain](/business/nouns/domain) by id. It is inherited: every [Noun](/business/nouns/noun) has `get`, `list`, `create`, `update` and `delete`.

## Inputs
| Input | Type | Required | Description |
| --- | --- | --- | --- |
| `id` | `string` | Yes | The id of the Domain. |
| `at` | `string` | No | A time or Version name: the record as it stood then. Unset: as it stands now. |

## Outputs
| Output | Type | Required | Description |
| --- | --- | --- | --- |
| `domain` | [Domain](/business/nouns/domain) | Yes | The Domain. |

## Effects
- Reads only: it emits no Event and changes nothing.
- Read: `try`, `do`.

## 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. | [Domain.get](/business/nouns/domain/get) |

## When it waits
Never: a read runs at once.

## Example

**Ask**

```text
Show me the latest domain.
```

**API**

```bash
curl https://api.sb/quietcopy.com/domains/domain_1 \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY"
```

```json
{
  "api": "https://api.sb/quietcopy.com",
  "$type": "Domain",
  "$id": "https://api.sb/quietcopy.com/domains/domain_1",
  "domain": {
    "$id": "https://api.sb/quietcopy.com/domains/domain_1",
    "$type": "Domain",
    "hostname": "quietcopy.com",
    "role": "canonical",
    "state": "verifying"
  },
  "links": {
    "self": "https://api.sb/quietcopy.com/domains/domain_1",
    "up": "https://api.sb/quietcopy.com/domains"
  },
  "actions": {
    "authenticate": "https://api.sb/quietcopy.com/domains/domain_1/authenticate",
    "release": "https://api.sb/quietcopy.com/domains/domain_1/release",
    "renew": "https://api.sb/quietcopy.com/domains/domain_1/renew"
  }
}
```

**SDK**

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

const domain = await $.Domain.get({ id: 'domain_1' })
```

**CLI**

```bash
npx startup-builder do Domain.get --json '{"id":"domain_1"}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.Domain.get({ id: 'domain_1' })"
  }
}
```