Update upload (internal)
Updates an upload with processing results including validation, metadata, AI analysis, and virus scan. Authenticated by the in-band update_token; no Bearer required.
JWT access token obtained via OAuth2 flow or service account
In: header
Header Parameters
Define the version of the Connect protocol
1Define the timeout, in ms
Request Body
application/json
Per-entry metadata writes. Each entry is upserted into UploadMetadataKV keyed on (upload_id, key). Replaces the legacy UploadMetadata proto blob. Key must be a known registration (common:* or owning integration's slug).
items <= 32Detection results from the pipeline's classification step. Persisted on the Upload row as detected_mime / detected_magic_format / detected_encoding / detected_magic_prefix. The prefix is the first 64 bytes of the file; the read-side matcher evaluator uses it to handle MagicMatch_Raw byte-for-byte the same as the pipeline.
byteURN of the content type whose worker generated the current S3 thumbnail (e.g., "default:image"). Equals resolvePrimary(detection, BucketApplicationDefault) at last classify/reprocess. Null when no thumbnail was generated.
Reprocess marker — set by the Sub-plan F reprocess workflow once an upload has been re-run under the new content type system.
Response Body
application/json
application/json
curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.InternalUploadsService/UpdateUpload" \ -H "Connect-Protocol-Version: 1" \ -H "Content-Type: application/json" \ -d '{}'{}{
"code": "not_found",
"message": "string",
"details": [
{
"type": "string",
"value": "string",
"debug": {}
}
]
}