Knowledge Base
Upload a PDF file to a knowledge base
Upload a PDF file to a knowledge base. Only PDF files are accepted (validated by MIME type and extension).
400 is returned for billing/entitlement failures before the file is processed:
- "Insufficient credits for KB storage upload." — account lacks upload credits
- "KB storage access is not enabled for your account." — plan doesn't include KB storage
No application-level file size limit is enforced — any proxy or infrastructure limits (e.g. nginx) apply instead.
post/knowledgebase/{id}/items/upload-media
Path parameters
idstring required
The ID of the knowledge base
Response
Knowledge base item created successfully
Example response
{
"status": true
}