Promptic

Complete a direct upload

Checks the uploaded object against the size limit and MIME type authorized when the upload was created. Records actual size only after validation. Oversized or MIME-mismatched objects are deleted. No request body is required; client size or limit claims are ignored. Repeated completion requests recheck storage metadata.

POST
/storage-objects/{id}/complete

Checks the uploaded object against the size limit and MIME type authorized when the upload was created. Records actual size only after validation. Oversized or MIME-mismatched objects are deleted. No request body is required; client size or limit claims are ignored. Repeated completion requests recheck storage metadata.

Authorization

BearerApiKey
AuthorizationBearer <token>

API key from AI Application settings

In: header

Path Parameters

id*string
Formatuuid

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://loading/api/v1/storage-objects/497f6eca-6276-4993-bfeb-53cbbbba6f08/complete"
{
  "storageObjectId": "7f5af0cf-fc95-42d7-a16f-f40e471a1b60",
  "sizeBytes": 0,
  "contentType": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}
{
  "error": "string"
}