Complete a presigned-URL upload and start processing

View as Markdown
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.

Authentication

AuthorizationBearer

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

Request

This endpoint expects an object.
fileNamestringRequired

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

contentTypestringRequired
knowledgeBaseIdstringRequired
Target knowledge base ID.
keystringRequired

S3 storage key returned by get-presigned-url.

fileSizeintegerRequired>=1

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.

Errors

400
Bad Request Error
401
Unauthorized Error
500
Internal Server Error