Galon Cloud
Galon API v1

/projects/{project_id}/storage/uploads/{upload_id}/commit

Base URL https://api.galon.ai/v1 · export GALON_API_BASE="https://api.galon.ai/v1"

POST /projects/{project_id}/storage/uploads/{upload_id}/commit

Console — Validate an upload (commit)

Galon console session: tenant from the session, project in the path verified as an active project of the tenant, project environment; admin role (a member receives 403 reserve_admin). Same control plane and same projection as the key-based route. No body. The server inspects the observed metadata: size and SHA-256 must be exactly those announced at begin. 201 when the object is created, 200 on replay. Hidden surface: 404 not_found until the Galon Object opt-in is enabled and a qualified data plane is injected. No bytes pass through the API; no internal reference or provider name is returned.

Console session only (signed-in console).

Parameters

NameInTypeDescription
project_idpathstring · required
upload_idpathstring · required

Responses

StatusDescriptionBody
201Object availableStorageUploadCommit
200Idempotent replayStorageUploadCommit
400body_not_allowedError
401unauthorized (session missing, expired or revoked)Error
403reserve_admin (member)Error
404project_not_found, not_found (surface closed or tenant not admitted), storage_object_not_found (unknown upload), not_foundError
412storage_precondition_failed (nothing received, size differs)Error
422project_id_invalid, storage_checksum_mismatchError
503storage_operation_indeterminate, storage_response_lost: replay the commitError

Examples

curl

curl -X POST "$GALON_API_BASE/projects/<project_id>/storage/uploads/<upload_id>/commit" \
  -H "Authorization: Bearer $GALON_API_KEY"