---
title: "Update FAQ"
method: PATCH
path: "/knowledge-base/faq/{context_id}"
tags: ["knowledge-base"]
---

# Update FAQ

`PATCH /knowledge-base/faq/{context_id}`

Update an FAQ's question and answer (regenerates embedding)

## Path parameters

- `context_id` string, required — The context ID of the FAQ to update

## Request body

- object[]
  - `question` string — The updated question
  - `answer` string — The updated answer
  - `embedding` number[] — Optional array of embedding values

## Response `200`

200 OK

- object
  - `success` boolean
  - `message` string
  - `faq` object — The updated FAQ object

## Other responses

- `404` — FAQ not found

---

[API](https://skmtc.net/periskope/apis/api-local.md) · [All operations](https://skmtc.net/periskope/apis/api-local/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/periskope/api-local/versions/f2738ced87d8/schema)
