---
title: "Change the AI Assistant's action settings"
method: PATCH
path: "/assistant/settings/"
tags: ["workspace-actions"]
---

# Change the AI Assistant's action settings

`PATCH /assistant/settings/`

## Request

- Base URL: `https://api.getoneprofile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.getoneprofile.ai/assistant/settings/`
- Auth: one of:
  - API key in header `X-API-Key`
  - HTTP bearer

Set the threshold, the default grants, or any of them. A verb that always asks (pushing to a destination) cannot be granted and is refused. The verb list and the operation list are independent: changing one leaves the other exactly as it was.

## Request body

- AssistantSettingsUpdateSchema: Change the threshold, the default grants, or both; a field left out keeps its value.
  - `approval_threshold_credits` integer, nullable
  - `default_granted_tools` string[], nullable: The write operations everybody in this workspace may have the assistant call without asking. Send the current list minus one to take it back.
  - `default_granted_verbs` WorkspaceVerb[], nullable

## Response `200`

Successful Response

- AssistantSettingsReadSchema: What the assistant may apply unasked in this workspace.
  - `approval_threshold_credits` integer, required: Whole credits. Anything priced at or above this always proposes, whatever was granted.
  - `default_granted_tools` string[], required: The write operations the assistant may call without asking, for everybody in this workspace. Operation names, as `GET /assistant/tools/` lists them.
  - `default_granted_verbs` WorkspaceVerb[], required: The verbs a new conversation may apply without asking.

## Other responses

- `401`: Unauthorized
- `403`: Forbidden
- `422`: Invalid request made to the API.
- `500`: Internal server error.
- `502`: Bad gateway error.
- `503`: Service unavailable.

---

[API](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile.md) · [All operations](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/llms.txt) · [OpenAPI document](https://skmtc.dev/getoneprofile/apis/api-reference-oneprofile/revisions/4a6bd71e3f02?raw)
