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

Request Arguments
Name Type Source
inputDTO_faq_import_batchBody

  Request body example

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
NameTypeReadOnlyDescription
itemsDTO_faq_create[]Items
DTO_faq_import_result
NameTypeReadOnlyDescription
created_countInt32Created count
skipped_duplicate_countInt32Rows skipped because an identical question/answer already exists (or repeats within the batch)
skipped_invalid_countInt32Rows skipped because question or answer was empty
DTO_faq_create
NameTypeReadOnlyDescription
questionStringQuestion
answerStringAnswer