# API: Settings

| Method | Path | What it does | Scope |
|---|---|---|---|
| GET | `/v1/assistants` | Outside assistants connected to the MCP server: what each may do (read, draft or propose) and whether it's on the allowlist | `settings:read` |
| PATCH | `/v1/assistants/:id` | Change what an outside assistant may do through the MCP server, or whether it's on the allowlist (owners; more access, or allowing it, in the web app only) | `settings:write` |
| PUT | `/v1/assistants/allowlist` | Turn the allowlist on (only allowed assistants may connect) or off (owners; off in the web app only) | `settings:write` |
| POST | `/v1/assistants/keys/:key_id` | Set what an API key may do through the MCP server before its assistant first connects, or whether it's on the allowlist (owners; more than read in the web app only) | `settings:write` |
| GET | `/v1/settings/notifications` | Organization notification defaults | `settings:read` |
| PUT | `/v1/settings/notifications` | Update organization notification defaults (owner) | `settings:write` |
| GET | `/v1/settings/outside-deletes` | Whether connected assistants and apps may delete, merge or remove things on their own; off by default | `settings:read` |
| PUT | `/v1/settings/outside-deletes` | Let outside assistants delete, merge or remove things on their own, or stop them (owners, in the app) (web app only) | `settings:write` |
| PUT | `/v1/settings/session-replay` | Turn session replay on or off for the organization (owners). It's off by default; turning it off deletes the organization's recordings (web app only) | — |

## Examples

### GET /v1/assistants

Outside assistants connected to the MCP server: what each may do (read, draft or propose) and whether it's on the allowlist

```bash
curl -s "https://api.ferryseal.com/v1/assistants" \
  -H "Authorization: Bearer $FT_API_KEY"
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/assistants`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.FT_API_KEY}` },
});
const data = await res.json();
```

### PATCH /v1/assistants/$ID

Change what an outside assistant may do through the MCP server, or whether it's on the allowlist (owners; more access, or allowing it, in the web app only)

```bash
curl -s -X PATCH "https://api.ferryseal.com/v1/assistants/$ID" \
  -H "Authorization: Bearer $FT_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/assistants/${id}`, {
  method: "PATCH",
  headers: { authorization: `Bearer ${process.env.FT_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### PUT /v1/assistants/allowlist

Turn the allowlist on (only allowed assistants may connect) or off (owners; off in the web app only)

```bash
curl -s -X PUT "https://api.ferryseal.com/v1/assistants/allowlist" \
  -H "Authorization: Bearer $FT_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/assistants/allowlist`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.FT_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### POST /v1/assistants/keys/$KEY_ID

Set what an API key may do through the MCP server before its assistant first connects, or whether it's on the allowlist (owners; more than read in the web app only)

```bash
curl -s -X POST "https://api.ferryseal.com/v1/assistants/keys/$KEY_ID" \
  -H "Authorization: Bearer $FT_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/assistants/keys/${key_id}`, {
  method: "POST",
  headers: { authorization: `Bearer ${process.env.FT_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/settings/notifications

Organization notification defaults

```bash
curl -s "https://api.ferryseal.com/v1/settings/notifications" \
  -H "Authorization: Bearer $FT_API_KEY"
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/settings/notifications`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.FT_API_KEY}` },
});
const data = await res.json();
```

### PUT /v1/settings/notifications

Update organization notification defaults (owner)

```bash
curl -s -X PUT "https://api.ferryseal.com/v1/settings/notifications" \
  -H "Authorization: Bearer $FT_API_KEY" \
  -H "content-type: application/json" \
  -d '{}'
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/settings/notifications`, {
  method: "PUT",
  headers: { authorization: `Bearer ${process.env.FT_API_KEY}`, "content-type": "application/json" },
  body: JSON.stringify({}), // fields: see the OpenAPI schema
});
const data = await res.json();
```

### GET /v1/settings/outside-deletes

Whether connected assistants and apps may delete, merge or remove things on their own; off by default

```bash
curl -s "https://api.ferryseal.com/v1/settings/outside-deletes" \
  -H "Authorization: Bearer $FT_API_KEY"
```

```js
const res = await fetch(`https://api.ferryseal.com/v1/settings/outside-deletes`, {
  method: "GET",
  headers: { authorization: `Bearer ${process.env.FT_API_KEY}` },
});
const data = await res.json();
```

Request and response schemas: [https://www.ferryseal.com/openapi.json](https://www.ferryseal.com/openapi.json). All resources: [API reference](https://www.ferryseal.com/docs/api).
