Create a knowledge base item
/api/v1/knowledge_base_itemsWhen answer is omitted an AI answer is generated asynchronously
(subject to available credits). Poll GET /api/v1/knowledge_base_items/{id}
and watch state; the item settles in auto_answered or needs_input.
Supplying answer skips generation and no credit is used.
Authorizations
Section titled “Authorizations”Request Bodyrequired
Section titled “Request Bodyrequired”object
object
Approve/unapprove; ignored unless user-selectable
Numeric ID of a category (see category.id on the item)
The integer index (0, 1, 2) is also accepted
Responses
Section titled “Responses”201
The created item
The created item
object
The item’s page in the web app
Lifecycle state. approved items are used to answer questionnaires.
Whether the question applies to your organisation
Whether the AI may answer or re-answer this item
0–1, encoded as a decimal string
The confidence rating flagged points a human should review
object
Numeric category ID, as accepted by category_id
403
Insufficient scope, role, or credits
Insufficient scope, role, or credits
object
object
A stable machine-readable code
Present on validation errors; one entry per failed validation
422
The record could not be saved
The record could not be saved
object
object
A stable machine-readable code
Present on validation errors; one entry per failed validation