Faqs
Update
Updates the question/answer content of a FAQ and approves it with edits.
Sets status to APPROVED_WITH_EDITS.
PUT
/api/{tenant:minlength(2)}/v{version:apiVersion}/faqs/{id}
- Authorisation
- Minimum role: USER
Request arguments
Request body example
Response
- Status
- 200 (OK)
- Type
- DTO_faq
- Wrapper
- DTO_response_wrap
- Other statuses
- 400 (BadRequest), 403 (Forbidden)
Response body example
DTO_faq_update
| Name | Type | ReadOnly | Description |
| question | String | | Question |
| answer | String | | Answer |
DTO_faq
| Name | Type | ReadOnly | Description |
| cluster | DTO_reference | | Cluster |
| cluster_label | DTO_reference | | Cluster label |
| conflicting_faq_ids | Int32[] | | Conflicting faq ids |
| conflicting_faqs | DTO_faq[] | | Conflicting faqs |
| id | Int32 | | Id |
| status | ENUM faq_status | | Status |
| question | String | | Question |
| answer | String | | Answer |
| embeddings_status_enum_id | Int32 | | Embeddings status enum id |
DTO_reference
| Name | Type | ReadOnly | Description |
| id | Int32 | | The id of the reference |
| label | Object | ReadOnly | Name/Label from referenced object. |
DTO_faq
| Name | Type | ReadOnly | Description |
| cluster | DTO_reference | | Cluster |
| cluster_label | DTO_reference | | Cluster label |
| conflicting_faq_ids | Int32[] | | Conflicting faq ids |
| conflicting_faqs | DTO_faq[] | | Conflicting faqs |
| id | Int32 | | Id |
| status | ENUM faq_status | | Status |
| question | String | | Question |
| answer | String | | Answer |
| embeddings_status_enum_id | Int32 | | Embeddings status enum id |
ENUM faq_status
| Value | Name | Description |
| 0 | UNKNOWN | UNKNOWN |
| 1 | SUGGESTED | SUGGESTED |
| 11 | MANUALLY_CREATED | MANUALLY_CREATED |
| 21 | APPROVED_AS_IS | APPROVED_AS_IS |
| 22 | APPROVED_WITH_EDITS | APPROVED_WITH_EDITS |
| 31 | DECLINED | DECLINED |
| 32 | DUPLICATED_IGNORE | DUPLICATED_IGNORE |
| 41 | REMOVED | REMOVED |
Generated Aug 4, 2026 18:37