v2

latestOpenAPI 3.1.02026-07-2670186350.6 KB
knowledge

Upload File

Upload a file directly to a knowledge base.

This is a simplified alternative to the three-step upload process (get_upload_url -> upload to S3 -> register_file). Use this endpoint for smaller files or when you prefer a simpler API.

The file will be uploaded to S3 and queued for processing automatically.

post/knowledge/{knowledge_base_id}/upload

Path parameters

knowledge_base_idstring uuid required

The id of the knowledge base to upload the file to

The id of the knowledge base to upload the file to

Response

Successful Response

idstring uuid required
keystring required
original_filenamestring required
document_idinteger required
metadataobject