Headers
Your API key for authentication.
Must be
multipart/form-data
for file uploads.Body Parameters (multipart/form-data)
Must be
"file"
for file uploads.KB name (defaults to filename if not provided).
Optional description of the knowledge base content.
The file to upload and process into a knowledge base.
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
"FILE"
for file-based knowledge bases.ISO timestamp of creation.
ISO timestamp of last update.
Error message if status is
"FAILED"
.Will be
null
on successful creation.