API RestDocuments
Dernière mise à jour le 20 juillet 2026
Mark a file as uploaded and enqueue the document sync pipeline.
Authorization
JwtAuth AuthorizationBearer <token>
In: header
Path Parameters
file_id*File Id
Format
uuidResponse Body
application/json
curl -X POST "https://example.com/documents/files/497f6eca-6276-4993-bfeb-53cbbbba6f08/confirm-upload"{ "file_id": "8a0cfb4f-ddc9-436d-91bb-75133c583767", "upload_status": "string", "parse_status": "string", "indexing_status": "string", "correlation_id": "string"}Continuer plus loin
POSTCancel File Upload POST
Delete a file whose presigned upload never completed. Called by the front when the presigned PUT to S3 fails, or when the user leaves the import page before it finishes. No-op if the file already made it past AWAITING_UPLOAD (see ``cancel_upload``).
GETGet Document File Download Url GET
Return a presigned S3 URL so the client can download the file directly.