# ICP

URL: /business/nouns/icp · Id: `noun:icp`

> An ICP is the ideal customer profile a Startup is built to win: who they are and what they do.

An ICP is the ideal customer profile a [Startup](/business/nouns/startup) is built to win: who they are and what they do.

## Properties
| Property | Type | Required | Description |
| --- | --- | --- | --- |
| `description` | `text` | Yes | Who they are and what they do. |

## Object
```json
{
  "$id": "https://api.sb/quietcopy.com/icps/icp_1",
  "$type": "ICP",
  "description": "One résumé reviewed against one job posting."
}
```

## Relationships
- <a id="rel-faces"></a>An ICP **faces** many [Problems](/business/nouns/problem): an ICP struggles with [Problems](/business/nouns/problem): how they solve them today and what that costs. `faces`, inverse [`facedBy`](/business/nouns/problem#rel-faced-by).
- <a id="rel-personas"></a>An ICP **has** many [Personas](/business/nouns/persona): a [Persona](/business/nouns/persona) is one named role inside an ICP, such as its buyer or its admin. `personas`, inverse [`belongsTo`](/business/nouns/persona#rel-belongs-to).
- <a id="rel-targeted-by"></a>An ICP **is targeted by** many [Startups](/business/nouns/startup): a [Startup](/business/nouns/startup) is built to win its ICPs; its [Offers](/business/nouns/offer), [Story](/business/nouns/story) and [Plays](/business/nouns/play) compile toward them. `targetedBy`, inverse [`targets`](/business/nouns/startup#rel-targets).

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

## Call it

**Ask**

```text
Add an ICP to TutorLoop.
```

**API**

```bash
curl -X POST https://api.sb/tutorloop.com/icps \
  -H "Authorization: Bearer $STARTUP_BUILDER_API_KEY" \
  -H "Content-Type: application/json" \
  -d '{"description":"One 50-minute online tutoring session."}'
```

```json
{
  "api": "https://api.sb/tutorloop.com",
  "icp": {
    "$id": "https://api.sb/tutorloop.com/icps/icp_1",
    "$type": "ICP",
    "description": "One 50-minute online tutoring session."
  },
  "action": {
    "$id": "https://api.sb/tutorloop.com/actions/action_1",
    "operation": "ICP.create",
    "status": "done"
  },
  "links": {
    "self": "https://api.sb/tutorloop.com/actions/action_1"
  }
}
```

**SDK**

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

const icp = await $.ICP.create({ description: 'One 50-minute online tutoring session.' })
```

**CLI**

```bash
npx startup-builder do ICP.create --json '{"description":"One 50-minute online tutoring session."}'
```

**MCP**

```json
{
  "name": "do",
  "arguments": {
    "code": "return await $.ICP.create({ description: 'One 50-minute online tutoring session.' })"
  }
}
```

## Example
The ICP of a court-filings API is a litigation-support firm of 5 to 50 staff that pulls dockets by hand from four or more courts.