Upload a PDF file to a knowledge base

View as Markdown
Upload a PDF file to a knowledge base. Only PDF files are accepted.

Authentication

AuthorizationBearer

API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.

Path parameters

idstringRequired
The ID of the knowledge base

Request

This endpoint expects a multipart form containing a file.
mediafileRequired

Response

Knowledge base item created successfully
statusboolean

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error