Headers
Your API key for authentication.
Must be
application/json
for text-based knowledge bases.Body Parameters
Must be
"text"
for text-based knowledge bases.Name for the knowledge base.
Optional description of the knowledge base content.
Text content to be stored in the knowledge base (maximum 1MB).
Response
The created knowledge base object.
Unique identifier for the knowledge base.
Name of the knowledge base.
Description of the knowledge base (if provided).
Current status:
"PROCESSING"
, "COMPLETED"
, "FAILED"
, or "DELETED"
.Will be
"TEXT"
for text-based knowledge bases.ISO timestamp of creation.
ISO timestamp of last update.
Error message if status is
"FAILED"
.Will be
null
on successful creation.