Skip to content

Versions

Each push of new bytes for a prop adds an immutable version (an object) to the prop’s lineage. Prophouse never overwrites an old version. The entry points at one version of its lineage as its current version, also called the face. The entry’s object_id holds it.

Method and path Scope Purpose
GET /lineages/{lineage_id} read Version history
POST /entries/{entry_id}/restore write Make an earlier version current

Get an entry’s lineage id from the lineage_id field of GET /entries/{entry_id}. Lineage ids look like guid:6F9619FF8B86D011B42D00C04FC964FF (anchored on an Unreal package GUID) or ph:0b6e4c1f9a2d4f0e8c7b5a3d2e1f0a9b (assigned by Prophouse). URL-encode the colon if your client needs it (guid%3A...).

AI agents use the MCP tools get_version_history and restore_version for the same operations. See MCP tools.

Terminal window
curl -H "Authorization: Bearer $PH_KEY" \
"https://api.prophouse.dev/api/v1/lineages/guid%3A6F9619FF8B86D011B42D00C04FC964FF"
{
"lineage_id": "guid:6F9619FF8B86D011B42D00C04FC964FF",
"entry": { "id": 412, "name": "SM_Barrel_Rusty", "object_id": 1880, "status": "active" },
"objects": [
{
"id": 1880,
"content_hash": "9f2c...e41a",
"lineage_anchor": "stamp",
"parent_object_id": 1502,
"variant_label": null,
"asset_class": "StaticMesh",
"asset_name": "SM_Barrel_Rusty",
"origin_path": "/Game/Props/Industrial/SM_Barrel_Rusty",
"blob_size": 1048576,
"source_ext": null,
"engine_version": "5.8.0",
"package_guid": "6F9619FF8B86D011B42D00C04FC964FF",
"pack": { "id": 3, "name": "Industrial Yard" },
"published_by": { "id": 7, "name": "<user>", "display_name": "Sam Rigger" },
"date_ingested": "2026-07-20T09:11:40Z",
"is_face": true
}
]
}
Field Description
entry The entry for this lineage (id, name, object_id, status), or null if there is none.
objects Every version in the lineage, oldest first.
parent_object_id The version this one was made from. The parent links form the version tree.
lineage_anchor How the version joined the lineage: guid, stamp, minted or user_attached.
variant_label The variant name when the version was pushed as a variant, otherwise null.
source_ext The original file extension of a non-Unreal source file, used for download filenames.
pack The pack the version came from, or null.
published_by The member who pushed the version, or null.
is_face true for the entry’s current version.

An unknown lineage returns 404 LINEAGE_NOT_FOUND.

To download any version, pass its content_hash to Downloads. To find the review state or comments for a version, match its id against object_id in Reviews and Comments.

Make an earlier version the entry’s current version.

Terminal window
curl -X POST -H "Authorization: Bearer $PH_KEY" -H "Content-Type: application/json" \
-d '{"object_id": 1502}' \
https://api.prophouse.dev/api/v1/entries/412/restore
Field Type Description
object_id integer, required A version from the entry’s own lineage. Must be greater than 0.

The call returns the full entry detail. It creates no new version. The entry points at the old version again and takes that version’s metadata, thumbnail, variant label and review state. The category follows the restored version too, unless someone locked the category or set it by hand. The newer versions stay in the history.

A restore records an entry.restore event in the activity feed, with from_object_id and to_object_id in its payload. Restoring the version that is already current changes nothing and records no event.

Error Cause
403 FORBIDDEN The API key is read-only. Restoring needs a write-scoped key.
404 ENTRY_NOT_FOUND Unknown entry.
404 OBJECT_NOT_FOUND Unknown version.
409 LINEAGE_CONFLICT The version belongs to a different lineage. details.entry_lineage_id and details.object_lineage_id name both lineages.
409 LOCKED Someone else has the prop checked out. The message names them, and details.holder and details.lock describe the lock. Admins and the lock holder can still restore.
422 VALIDATION object_id is missing or not a positive integer.

If you hold the lock, a restore moves your lock’s base_object_id to the restored version. Your next check-in is then checked against that version. See Check-out locks.

After a restore, a push that sends expected_face_object_id with the previous current version returns 409 STALE_FACE. See Push a new version.

PATCH /entries/{entry_id} with object_id makes the same change under the same rules but records no entry.restore event.