# PATCH /assistants/:key

**Resource:** [ASSISTANTS](./assistants.md)  
**MCP tool:** `update_crew_member`  
**Scopes:** `assistants:write`  
**Write operation:** yes

Change a crew member: switch it on or off (switched off, it is hidden from chat lists and does not answer), rename it, change its face, or set its knowledge (for the lead, how the business works, read by the whole crew; for the others, notes just for their job).

## Parameters

| Name | In | Type | Required | Description |
|------|----|------|----------|-------------|
| `key` | path | string | yes | Which crew member: chief (Evie, AI Assistant), messages (Orion, Communications Assistant), sales (Echo, Sales Assistant), money (Lyra, Accounts Assistant), jobs (Marty, Operations Assistant), marketing (Mira, Marketing Assistant), numbers (Sable, Insights Assistant), setup (Max, Systems Assistant). |
| `awake` | body | boolean | no | true switches this crew member on (it shows in everyone's chat list and answers); false switches it off (hidden from chat lists until switched on again). The lead cannot be switched off. |
| `name` | body | string | no | A new name, up to 24 letters. An empty string goes back to its own name. |
| `face` | body | string | no | Which face it shows: evie, max, echo, lyra, marty, mira, orion or sable. An empty string goes back to its own. |
| `knowledge` | body | string | no | For the lead: how the business works, read by the whole crew in every conversation. For anyone else: notes just for this crew member's job. Replaces what is there; empty clears it. Up to 8000 characters. |
| `add_knowledge` | body | string | no | One new fact to add to its knowledge, kept with what is already there. |
| `require_approval` | body | boolean | no | Optional. Set true to route this write into the approval queue for human review instead of executing it immediately (returns 202 + an approval_id). Works even when your key/token has permission to execute directly. |

## Request example

```bash
curl -X PATCH   "https://api.trustpager.com/functions/v1/api/v1/assistants/:key"   -H "Authorization: Bearer YOUR_API_KEY"   -H "Content-Type: application/json"   -d '{"awake":"...","name":"...","face":"..."}'
```

---
Base URL: `https://api.trustpager.com/functions/v1/api/v1` — Auth: `Authorization: Bearer YOUR_API_KEY`