Confirm KB Source Upload
Knowledge Base
Confirm KB Source Upload
Validates the uploaded file (format via magic bytes, size against limit) and triggers indexing. If validation fails, the file is deleted from S3 and the source is removed. Supported formats: PDF, Markdown, HTML, plain text. Maximum size: 100 MB.
POST
Confirm KB Source Upload
Authorizations
Path Parameters
The unique identifier of the KB source
Response
Upload validated and indexing triggered
Example:
{
"type": "kb_sources",
"id": "a1b2c3d4-e5f6-7890-abcd-ef1234567890",
"attributes": {
"title": "Q4 Product Launch Playbook",
"source_type": "manual",
"format": "text/markdown",
"status": "indexed",
"file_size": 4096,
"chunk_count": 12,
"created_at": "2025-01-15T10:30:00Z",
"updated_at": "2025-01-15T10:35:00Z"
}
}