---
title: "Update a hint"
method: PATCH
path: "/v1/ai-hint/{id}"
tags: ["ai-hint"]
---

# Update a hint

`PATCH /v1/ai-hint/{id}`

## Path parameters

- `id` string, required

## Request body

- UpdateAiHint
  - `name` string — unique name for this hint
  - `toolName` string — tool name this hint applies to, e.g. Create, Update, Delete, DataExplorer
  - `entityType` string — entity type this hint applies to, e.g. ACTION, FORM, REPORT
  - `keywords` string[] — keywords that trigger this hint when matched in user messages
  - `schema` string — optional schema override; if null, auto-generated from the entity adapter's create class
  - `addHintIds` string[] — additional hint ids to include when this hint is surfaced
  - `content` string — the hint content to provide to the AI

## Response `204`

successful operation

## Other responses

- `400` — invalid data
- `401` — not authorized
- `403` — permission denied
- `404` — not found

---

[API](https://skmtc.net/charthop/apis/charthop-api.md) · [All operations](https://skmtc.net/charthop/apis/charthop-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/charthop/charthop-api/revisions/33fc84a173ce/schema)
