v45

latestOpenAPI 3.0.0raw.githubusercontent.com2026-08-0114775543.6 KB
Knowledge Base

Complete a presigned-URL upload and start processing

Step 3 of the presigned-URL upload flow. Commits a file that was uploaded directly to S3 via POST /knowledgebase/get-presigned-url, registers it as a knowledge-base item, and triggers async processing.

Note: The path includes compelete (sic) — that's the actual route name on the platform. Don't fix the spelling in your client; it's a stable URL.

post/knowledgebase/compelete-file-upload

Request body

fileNamestring required

Filename — pass the same value used in get-presigned-url.

contentTypestring required
knowledgeBaseIdstring required

Target knowledge base ID.

keystring required

S3 storage key returned by get-presigned-url.

fileSizeinteger required

Example request

{
  "fileName": "company-handbook.pdf",
  "contentType": "application/pdf",
  "knowledgeBaseId": "6867ca76d0f8f2e0f4201281"
}

Response

File registered as a knowledge-base item. Processing runs async — poll GET /knowledgebase/{id}/items for the item to surface with the desired processing status.

statusboolean
dataobject

Created knowledge-base item record.

Example response

{
  "status": true
}