FAQ Tasks

Generate FAQ questions

post

Submit a request to generate FAQ questions from a Knowledge Base. Returns a task ID for tracking. The actual generation will be processed asynchronously.

Body

Generate FAQ questions request schema.

Attributes: task_id (str): Task identifier for tracking this generation task. knowledge_base_id (str): Knowledge Base identifier. question_count (int): Number of questions to generate. filter (tuple[str, str, str] | None): Optional filters for question generation. priority (Literal["width", "depth"]): Priority for generation strategy.

task_idstringRequired

Task identifier for tracking this generation task

knowledge_base_idstringRequired

Knowledge Base identifier

question_countinteger · min: 1 · max: 100Optional

Number of questions to generate

Default: 10
filterany ofOptional

Optional filters for question generation. key (in, gt, gte, lt, lte, eq, ne), operator, value

array · min: 3 · max: 3Optional
or
nullOptional
prioritystring · enumOptional

Priority: width first covers more topics broadly, depth first covers topics in detail

Default: depthPossible values:
Responses
post
/faq/generate-questions

Get FAQ question generation task status

get

Retrieve the status of a FAQ question generation task by its task ID.

Path parameters
task_idstringRequired
Responses
chevron-right
200

Successful Response

application/json
get
/faq/get-status/{task_id}

Last updated