Upload a PDF file to a knowledge base

View as MarkdownOpen in Claude
Upload a PDF file to a knowledge base. Only PDF files are accepted.

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

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 or null

Errors