Documents
Upload managed raw bytes for a registered document.
Stores the request body as the document's managed blob via the configured RawContentStore adapter (local_fs or s3), and promotes the document row to storage_mode='managed_blob' / raw_storage_status='blob_stored'. Idempotent on byte-identical input under the same document. Different bytes against an already-stored managed blob return 409 because the managed slot is immutable per row to avoid orphaning the prior blob. Returns 503 when the deployment runs rawStorageMode='pointer_only'.
put/v1/documents/{id}/raw
Path parameters
idstring uuid required
Query parameters
user_idstring required
content_typestring
Response
Upload result with storage URI + content hash + size.