Skip to main content
POST
Confirm Upload Completion
This endpoint requires authentication. Include your Bearer token in the Authorization header.

Description

This endpoint is called by the frontend after a successful direct upload to Google Cloud Storage using a signed URL. Based on auto-detection settings and confidence thresholds, the file will either be automatically processed or require manual confirmation. Auto-Processing Logic:
  • If detection session status is ‘auto_confirmed’, processing starts immediately
  • If detection session status is ‘detected’, manual confirmation is required
  • Returns processing job information if auto-processing is enabled
Authorization:
  • Required role: user or higher

Code Examples

Authorizations

Authorization
string
header
required

JWT Authorization header using the Bearer scheme. Format: "Bearer {token}"

Body

application/json
fileId
string<uuid>
required

The unique identifier of the uploaded file

fileName
string

Original name of the uploaded file (for logging)

uploadStatus
enum<string>
default:completed

Status of the upload operation

Available options:
completed,
failed

Response

Upload completion confirmed successfully

success
boolean
default:true
message
string
data
object