Push (uploads)
Pushing puts files into Prophouse. You describe the files in a manifest, upload the bytes Prophouse does not have yet, then commit. The Unreal plugin and the MCP checkin_prop tool use this same flow. Every POST and PUT on this page, including negotiate, needs a write-scoped key. The GET endpoints need only read.
| Method and path | Purpose |
|---|---|
GET /push/limits |
Per-push size limits |
POST /push/negotiate |
Dry run. Lists the missing bytes and what each item will become. |
PUT /blobs/{content_hash} |
Upload bytes through the API |
POST /push/commit |
Register the manifest in one transaction |
PUT /entries/{entry_id}/thumbnail |
Upload a thumbnail |
PUT /entries/{entry_id}/preview |
Upload a GLB, PNG or WAV preview |
PUT /entries/{entry_id}/metadata |
Update an entry’s metadata |
POST /entries/{entry_id}/preview/unavailable |
Mark an entry as unable to produce a preview |
POST /entries/media/presign, POST /entries/media/finalize |
Upload thumbnails and previews directly to storage |
The flow
Section titled “The flow”-
Hash every file. Use the lowercase hex SHA-256 of the exact bytes.
-
Build a manifest with one item per file (see Manifest items) and call
POST /push/negotiate. Negotiate writes nothing. The response listsmissing_hashes(bytes Prophouse does not have) and, for each item, what commit will do. -
Upload each missing hash. If the negotiate response has
upload_mode: "direct",PUTeach file to itsmissing[].upload_urlwith exactly theheadersgiven. Otherwise send the raw bytes toPUT /blobs/{content_hash}. -
Call
POST /push/commitwith the same manifest. Everything registers in one transaction, or nothing does. -
Optionally upload a thumbnail for each new entry with
PUT /entries/{entry_id}/thumbnail?object_id=<object_id>. Take both ids from the commit results.
You can upload in any order and repeat an upload safely. If you stop before commit, nothing appears in the library. You can re-run the whole flow: hashes the library already has come back as dedup.
Example: push one FBX
Section titled “Example: push one FBX”HASH=$(sha256sum Barrel.fbx | cut -d' ' -f1)SIZE=$(stat -c%s Barrel.fbx)
cat > manifest.json <<EOF{ "packs": [{ "ref": "p1", "name": "Industrial Yard", "source_type": "fbx" }], "items": [{ "content_hash": "$HASH", "asset_class": "SourceMesh", "asset_name": "Barrel", "blob_size": $SIZE, "source_ext": "fbx", "pack_ref": "p1", "entry": { "entry_type": "source_mesh", "name": "Barrel" } }]}EOF
curl -X POST -H "Authorization: Bearer $PH_KEY" -H "Content-Type: application/json" \ --data @manifest.json https://api.prophouse.dev/api/v1/push/negotiateIf missing_hashes contains the hash and the response has no upload_mode, upload through the API:
curl -X PUT -H "Authorization: Bearer $PH_KEY" --data-binary @Barrel.fbx \ "https://api.prophouse.dev/api/v1/blobs/$HASH"Then commit:
curl -X POST -H "Authorization: Bearer $PH_KEY" -H "Content-Type: application/json" \ --data @manifest.json https://api.prophouse.dev/api/v1/push/commitPeople can search for and download a source file like this one. They cannot pull it into Unreal, because a pull needs an asset_name and a /Game origin_path. Unreal packages pushed with both can be pulled.
GET /push/limits
Section titled “GET /push/limits”{ "max_items": 5000, "max_packs": 5000, "max_dependencies_per_item": 10000 }Negotiate and commit reject a larger manifest with 422 VALIDATION and details such as {"items": 6200, "max_items": 5000}. Split large pushes into batches. Smaller commits finish faster and hold the library’s write lock for less time.
Manifest items
Section titled “Manifest items”{ "content_hash": "9f2c...e41a", "asset_class": "StaticMesh", "asset_name": "SM_Barrel_Rusty", "origin_path": "/Game/Props/Industrial/SM_Barrel_Rusty", "blob_size": 1048576, "engine_version": "5.8.0", "package_guid": "6F9619FF8B86D011B42D00C04FC964FF", "stamped_lineage_id": null, "stamped_base_hash": null, "expected_face_object_id": null, "source_ext": null, "metadata_doc": null, "dependencies": [{ "content_hash": "41be...07c2", "hard": true }], "pack_ref": "p1", "entry": { "entry_type": "mesh", "name": "SM_Barrel_Rusty", "variant_label": null, "make_face": true, "metadata": { "tri_count": 1840, "material_count": 2 } }}| Field | Type | Description |
|---|---|---|
content_hash |
string, required | Lowercase hex SHA-256 of the file. Must be unique within the manifest. |
asset_class |
string, required | Class name, for example StaticMesh, Texture2D, SourceMesh. Up to 200 characters. |
blob_size |
integer, required | Size in bytes. Prophouse records the size of the stored bytes. |
asset_name |
string | Asset name. ASCII letters, digits, _ and - only, up to 200 characters. |
origin_path |
string | Unreal long package path under /Game, up to 500 characters. Each segment uses letters, digits, _ and -. No dots or backslashes. Required for anything you want to pull into Unreal. |
engine_version |
string | Numeric major.minor.patch of the engine that saved the package. |
package_guid |
string | The package GUID as 32 hex digits. Hyphens and braces are accepted. The first push of a GUID starts a lineage tied to it. |
stamped_lineage_id, stamped_base_hash |
string | Declare this file a new version of an existing lineage, based on the version with that hash. See Push a new version. |
expected_face_object_id |
integer | The lineage’s current version as you last saw it. Commit fails with 409 STALE_FACE if someone published since. Checked only on items that also send stamped_lineage_id and an entry with make_face: true. If you leave it out and hold the lock on that lineage, the lock’s base_object_id is used instead. |
source_ext |
string | For non-Unreal source files. Bare lowercase extension (fbx, wav) matching ^[a-z0-9]{1,12}$. |
metadata_doc |
object | Structured metadata. See The metadata document. |
dependencies |
array | [{content_hash, hard}], up to 10,000. Each must be in this manifest or already in the library. hard defaults to true. |
pack_ref |
string | Ties the item to an entry in the request’s packs[]. |
entry |
object | Send it when the file should appear as a browsable entry. Omit it (or send null) for dependency-only files such as textures used by a mesh. |
attach_to_lineage, force_new_lineage |
string, boolean | Your answer for an item negotiate held as probable_lost_stamp. Prophouse ignores them on items it would not hold. |
At commit, Prophouse reads the header of each new Unreal package:
- A
package_guidthat differs from the header, or anorigin_pathwhose last segment differs from the package name, fails the commit with422 VALIDATION. package_guid,asset_name,engine_versionandasset_classare then taken from the header. A differentasset_name,engine_versionorasset_classin the manifest is replaced, not rejected.- Imports named in the header that are also in this manifest become dependencies, even if you left them out.
- A package that imports a denylisted package from the library comes back
denied, even when that import is not in the manifest. - A package that declares the Unreal format but cannot be read (cooked, pre-UE5 or corrupt) fails with
422 VALIDATION.
The entry object:
| Field | Type | Description |
|---|---|---|
entry_type |
string, required | Open set: mesh, skeletal_mesh, texture, material, blueprint, vfx, audio, animation, sequence, source_mesh, source_texture, source_audio, and others. Only mesh, skeletal_mesh, texture and audio entries enter the preview queue. Other types start with preview status unavailable. |
name |
string, required | Display name. Ignored if the entry already exists, so a name chosen in the library stays. |
variant_label |
string | Marks the version as a variant. |
make_face |
boolean | Default true. This file becomes the entry’s current version. |
metadata |
object | Flat metadata: tri_count, vert_count, material_count, lod_count, has_collision, nanite_enabled, bounds_x, bounds_y, bounds_z, texture_count, max_texture_res, pbr_channels (comma-separated), blend_mode, two_sided, source_app, source_authored_at, audio_duration, sample_rate, channel_count, texture_width, texture_height, texture_format, bone_count, anim_length, emitter_count. Numbers must be zero or more. Unknown keys are ignored. |
variant_group_ref |
string | Ties the entry to a group in the request’s variant_groups[]. |
Request body
Section titled “Request body”Negotiate and commit take the same body:
| Field | Type | Description |
|---|---|---|
items |
array, required | Manifest items (at least one). |
pack_id |
integer | Existing pack for items without a pack_ref. |
packs |
array | Inline packs: [{ref, name, source_type?, product_url?, source_path?, engine_version?}]. Commit creates each pack by name, or links the existing pack with that name and fills only its empty fields. ref and name must be unique in the manifest. source_type defaults to uasset. |
variant_groups |
array | Up to 500 [{ref, label?, id?}]. Groups sibling entries such as SM_Crate_A, _B, _C. Pass id from an earlier batch’s response to add to the same group. |
If a manifest has no pack_id and an item has no pack_ref, Prophouse puts the item in a pack named after its top folder under /Game. For /Game/Props/Industrial/SM_Barrel that pack is Props. An item with no origin_path, or one that sits directly in /Game, gets no pack.
The metadata document
Section titled “The metadata document”metadata_doc stores structured metadata on the exact version. Its core section also fills the flat entry fields, and wins over the entry.metadata value for the same field.
{ "v": 1, "core": { "bounds": { "x": 62.5, "y": 62.5, "z": 91.0 }, "counts": { "tris": 1840, "verts": 1022, "materials": 2, "lods": 3 }, "materials": [{ "name": "M_RustyMetal", "blend": "opaque", "two_sided": false }], "source": { "app": "Blender 4.2", "authored_at": "2026-05-02", "ext": "fbx" } }, "ext": { "mystudio": { "lod_policy": "hero" } }}| Rule | Detail |
|---|---|
| Version | v must be 1. The only top-level keys are v, core and ext. |
| Size | At most 64 KiB serialized. |
core |
Closed schema. Unknown keys are 422. Sections: bounds {x, y, z}, counts {tris, verts, materials, lods, bones, emitters}, materials [{name, blend, two_sided}] (up to 64), preview {kind}, source {app, authored_at, ext}, audio {duration, sample_rate, channels}, image {width, height, format}, anim {length}. Numbers must be zero or more. |
ext |
Open. Namespace names match ^[a-z][a-z0-9_]{1,15}$. Each namespace is an object nested at most 8 levels, stored as sent. |
POST /push/negotiate
Section titled “POST /push/negotiate”Negotiate writes nothing. It returns what commit would do:
{ "missing_hashes": ["9f2c...e41a"], "upload_mode": "direct", "missing": [{ "hash": "9f2c...e41a", "upload_url": "https://<presigned-host>/...", "headers": { "x-amz-checksum-sha256": "<base64 digest>", "If-None-Match": "*" } }], "items": [{ "content_hash": "9f2c...e41a", "action": "register", "lineage_id": null, "lineage_anchor": "minted", "parent_object_id": null, "existing_object_id": null, "probable_lost_stamp": false, "candidate_lineage_id": null }]}action |
Meaning |
|---|---|
register |
Commit will create a new version. lineage_id is null when commit will start a new lineage. |
dedup |
The library already has these exact bytes (existing_object_id). |
hold |
Commit will leave the item out. reason: "probable_lost_stamp" means the file has a package GUID that already started a lineage (candidate_lineage_id) but carries no version stamp. Resend it at commit with attach_to_lineage or force_new_lineage: true. reason: "depends_on_held" lists held_dependencies. |
denied |
The workspace denylist blocks it (reason: "denylisted", denylist_kind), or it depends on denied content (reason: "depends_on_denied", denied_dependencies). Denied hashes never appear in missing_hashes. |
lineage_anchor is guid, stamp, minted or user_attached.
Negotiate does not read package headers. Commit does, so commit can still hold or reject an item that negotiated cleanly. For example, an Unreal package sent without package_guid gets its GUID from the header at commit.
Direct uploads
Section titled “Direct uploads”When upload_mode is "direct", missing[] gives a presigned PUT target for each missing hash:
- Send exactly the listed
headers, with the same names and values, and noAuthorizationheader. The headers are part of the signature. If you drop or change one, storage answers403. - Storage checks the bytes against the hash and rejects a wrong file.
- A
412 Precondition Failedanswer means storage already has the bytes. Treat it as success and go on to commit. Do not retry.
When upload_mode and missing are absent, use PUT /blobs/{content_hash} for every hash in missing_hashes.
Negotiate returns 403 FORBIDDEN with details.reason ingest_blocked (storage limit reached) or read_only (the workspace is read-only) when it would need new bytes. A push whose bytes are all stored already still negotiates. While the workspace is read-only, every other POST and PUT on this page returns the same 403 with read_only.
A write can also return 503 UNAVAILABLE with details.reason policy_unavailable while the workspace is still confirming its plan. Wait a few seconds and retry.
PUT /blobs/{content_hash}
Section titled “PUT /blobs/{content_hash}”Send the raw file bytes as the body. Prophouse hashes the bytes as they stream in.
| Status | Body or code |
|---|---|
201 |
{"hash", "size", "created": true}. Newly stored. |
200 |
{"hash", "size", "created": false}. Already stored. |
409 HASH_MISMATCH |
The bytes do not hash to content_hash. Nothing is stored. |
403 DENYLISTED |
The hash is on the denylist. |
403 FORBIDDEN |
details.reason is ingest_blocked (storage limit reached) or read_only. |
POST /push/commit
Section titled “POST /push/commit”Commit takes the same body as negotiate. It registers every item, dependency and entry in one transaction.
{ "pack_id": null, "packs": { "p1": 3 }, "results": [ { "content_hash": "9f2c...e41a", "status": "new", "object_id": 1880, "lineage_id": "ph:0b6e4c1f9a2d4f0e8c7b5a3d2e1f0a9b", "lineage_anchor": "minted", "parent_object_id": null, "variant": false, "entry_id": 412, "entry_created": true } ], "summary": { "new": 1, "dedup": 0, "held": 0, "denied": 0, "locked": 0, "entries_created": 1 }}packs maps each inline pack ref to its pack id. When you send variant_groups, the response’s variant_groups maps each group ref to its id, and grouped results carry variant_group_id.
Result status |
Meaning |
|---|---|
new |
Registered. Carries object_id, lineage_id, lineage_anchor and parent_object_id. |
dedup |
Already in the library. Carries object_id and lineage_id. Carries enriched when this push filled fields the stored version was missing (asset_name, origin_path, engine_version). |
held |
Left out, as in negotiate. Does not fail the batch. |
denied |
Blocked by the denylist. Does not fail the batch. |
locked |
Would create a new version of a lineage someone else has checked out (reason: "lineage_locked", lock), or depends on such an item (reason: "depends_on_locked", locked_dependencies). Does not fail the batch. |
A new or dedup result for an item with an entry carries entry_id and entry_created when the entry was created or the item has make_face: true. A variant pushed with make_face: false into an existing entry carries neither.
These errors fail the whole commit:
| Error | Cause |
|---|---|
409 BLOB_MISSING |
Bytes for a new item were never uploaded (details.missing). |
409 HASH_MISMATCH |
Stored bytes do not match their hash (details.contradicted). |
409 STALE_FACE |
expected_face_object_id no longer matches the lineage’s current version (details.actual_face_object_id). Download the current version and merge before you push again. Do not retry as is. |
409 CONFLICT |
One variant group ref spans entries that already belong to different groups (details.existing_group_ids). Ungroup them first. |
422 VALIDATION |
Malformed manifest, duplicate hashes, a dependency that is in neither the manifest nor the library, unknown pack_ref or variant_group_ref, too many items or packs, or a package header that contradicts the manifest or cannot be read. |
404 PACK_NOT_FOUND |
pack_id does not exist. |
404 LINEAGE_NOT_FOUND |
attach_to_lineage names a lineage that does not exist. |
404 NOT_FOUND |
A variant_groups[].id does not exist. |
Pushes never overwrite curation. Names, tags, comments and collections set in the library stay after a re-push.
Push a new version
Section titled “Push a new version”To publish a new version of a prop you already have (for example after a check-out), push the new file with:
stamped_lineage_idset to the entry’slineage_id.stamped_base_hashset to thecontent_hashof the version you started from.expected_face_object_idset to the entry’sobject_idwhen you started. Recommended. If you hold the lock and leave it out, Prophouse checks against the version your lock recorded.- An
entryblock withmake_face: true.
The commit creates a child version in the same lineage and makes it current. If Prophouse does not know stamped_base_hash, or that version belongs to another lineage, the parent is the lineage’s newest version. If stamped_lineage_id names a lineage that does not exist in this library, Prophouse ignores the stamp and matches the item as if it were unstamped (by package GUID, or as a new prop).
An Unreal package that keeps its package GUID but has no stamp is not matched automatically. Negotiate and commit hold it as probable_lost_stamp with the matching candidate_lineage_id. Resend it with attach_to_lineage set to that id to add it as a new version, or force_new_lineage: true to make it a separate prop.
If another person holds the check-out lock, the item comes back locked. Your own lock does not block you.
Thumbnails, previews and metadata
Section titled “Thumbnails, previews and metadata”These endpoints attach media to an entry’s current version. Pass that version as object_id. If the entry’s current version has changed, Prophouse refuses the upload with 409 CONFLICT and details.current_object_id.
| Endpoint | Body | Limits | Response |
|---|---|---|---|
PUT /entries/{entry_id}/thumbnail?object_id= |
PNG bytes | At most 512 x 512 and 8 MiB | {entry_id, object_id, artifact_id, width, height, size} |
PUT /entries/{entry_id}/preview?object_id=&kind= |
GLB, PNG or WAV bytes | kind is glb (default), image (PNG) or audio (WAV). 64 MiB for GLB and PNG. PNG at most 8192 x 8192. WAV up to 32 MiB, PCM or float, 1 to 8 channels. |
{entry_id, object_id, artifact_id, size, kind} |
PUT /entries/{entry_id}/metadata?object_id= |
A JSON object whose top-level keys are the flat entry.metadata fields, plus an optional metadata_doc |
A field you send overwrites the stored value. A null field keeps it. A metadata_doc replaces the stored document. |
{entry_id, object_id, updated: [field names]} |
POST /entries/{entry_id}/preview/unavailable?object_id= |
None | Takes an entry with no preview out of the preview queue. An entry that already has a preview keeps it. | {entry_id, preview_status}, the stored status: unavailable, or ready when the entry already had a preview |
Malformed media is 422 VALIDATION. When you replace a thumbnail or preview, the old file stays available by its artifact_id while annotations use it. A new thumbnail also refreshes visual search for that entry.
Thumbnail and preview uploads accept optional query parameters that record what produced the media: producer_tier, producer_tool, producer_tool_version, generator, generator_version. Tier, tool and generator are lowercase identifiers such as producer_tool=my-pipeline. If you omit them, the upload is recorded as producer_tier=dcc and producer_tool=unreal, the Unreal plugin’s values. Thumbnails with tier dcc appear in the thumbnail refresh queue, so the plugin may recapture them. Set your own producer_tier to keep a thumbnail out of that queue.
Direct media uploads
Section titled “Direct media uploads”To upload thumbnails and previews straight to storage, for example in large batches:
-
POST /entries/media/presignwith{"items": [{"entry_id", "object_id", "kind"}]}, up to 1,000 items.kindisthumbnail,glb,imageoraudio. The response is{"upload_mode": "direct", "targets": [{entry_id, object_id, kind, artifact_id, upload_url, headers}]}. An empty{}means direct upload is not offered, so use thePUTendpoints instead. -
PUTeach file to itsupload_urlwith exactly the returnedheaders(aContent-Type) and noAuthorization. -
POST /entries/media/finalizewith{"items": [{"artifact_id", "entry_id", "object_id", "kind"}]}, up to 1,000 items. It returns{"results": [{entry_id, object_id, kind, artifact_id, size}]}.
Finalize returns 422 VALIDATION for a file that never arrived, or one over the size limit (8 MiB for thumbnails, 32 MiB for audio, 64 MiB for other kinds). It returns 404 NOT_FOUND for an unknown artifact_id, and 409 CONFLICT when the artifact_id was issued for a different object or kind. On this path the server does not inspect the media, so an invalid file gives a preview that does not render.
The presign query string accepts the same producer parameters as the PUT endpoints.
Processing queues
Section titled “Processing queues”The Unreal plugin reads these queues to find entries that still need media. Scripts that generate previews can use them too.
| Endpoint | Returns |
|---|---|
GET /push/preview-queue?limit=&entry_type= |
Up to limit entries (default 500, max 2000) that still need a preview, in entry id order. This includes entries with a requested preview refresh, and mesh entries whose texture metadata was never collected. Response: {"items": [{entry_id, object_id, name, entry_type, content_hash, origin_path, asset_name}]}. entry_type is a comma-separated subset of mesh, skeletal_mesh, texture, audio. Any other value is 422. |
GET /push/preview-stats |
{pending, ready, unavailable, total_pending}. pending, ready and unavailable are each split by entry type. |
GET /push/thumbnail-refresh-queue?limit=&after= |
Entries whose thumbnail the plugin can recapture: they have an origin_path, and either no thumbnail or one with producer tier dcc. Returned in entry id order after after (default 0), up to limit (default 500, max 2000): {"items": [{entry_id, object_id, name, entry_type, has_thumbnail, origin_path, asset_name}], "total"}. total counts the remaining entries after after. |
