Faqs / Import batch
Bulk import of manually created FAQs (max 1000 per request). Duplicates and empty rows are skipped; embeddings are generated in the background.
Route: /api/{tenant:minlength(2)}/v{version:apiVersion}/faqs/import_batch
Method: POST
Authorisation: Minimum role: USER
Response object
Response status: 200 (OK)
Response type: DTO_faq_import_result
Wrapper: DTO_response_wrap
Other response statuses: 400 (BadRequest), 403 (Forbidden)
Response body example
DTO_faq_import_batch
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| items | DTO_faq_create[] | Items |
DTO_faq_import_result
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| created_count | Int32 | Created count | |
| skipped_duplicate_count | Int32 | Rows skipped because an identical question/answer already exists (or repeats within the batch) | |
| skipped_invalid_count | Int32 | Rows skipped because question or answer was empty |
DTO_faq_create
| Name | Type | ReadOnly | Description |
|---|---|---|---|
| question | String | Question | |
| answer | String | Answer |