Skip to content

Downloads

Prophouse stores every file as a blob named by the SHA-256 of its bytes. An entry’s current version is its content_hash. The hashes of its dependencies are in GET /entries/{entry_id}/closure. Downloads cost $0 on every plan, and REST downloads do not count toward the agent-call allowance. An MCP get_download_url call counts like any other tool call.

Method and path Scope Purpose
GET /blobs/{content_hash}/url read Get a presigned download URL as JSON
GET /blobs/{content_hash} read Redirect to the bytes
POST /entries/{entry_id}/pulled write Record that you handed this entry’s files to someone
  1. Find the hash. For one entry, read content_hash, source_ext, name, asset_class and origin_path from GET /entries/{entry_id}. For an entry with dependencies, read members from GET /entries/{entry_id}/closure. Each member has its own content_hash, asset_class, origin_path and blob_size, and the list includes the entry itself.

  2. Ask for a download URL:

    Terminal window
    curl -H "Authorization: Bearer $PH_KEY" \
    "https://api.prophouse.dev/api/v1/blobs/9f2c...e41a/url"
    { "url": "https://<presigned-host>/...&X-Amz-Signature=...", "expires_at": "2026-07-25T13:00:00Z" }
  3. Fetch url before expires_at. Send no Authorization header. The storage host rejects requests that carry one.

    Terminal window
    curl -o SM_Barrel_Rusty.uasset "<url>"
  4. Hash the downloaded bytes with SHA-256 and compare the result with content_hash. If they differ, discard the file.

Returns {"url", "expires_at"}. url is a presigned URL that stops working at expires_at (UTC). Use this endpoint if your HTTP client forwards the Authorization header when it follows a redirect. If no blob has that hash, you get 404 BLOB_MISSING.

Answers 302 with a presigned URL in Location, plus ETag: <content_hash> and Cache-Control: private, no-store. Follow the redirect without the Authorization header. If no blob has that hash, you get 404 BLOB_MISSING.

For both endpoints, content_hash must be 64 lowercase hex characters. Anything else returns 422 VALIDATION.

Requests to /blobs/* use the larger rate-limit window for upload and media traffic. See Errors and limits.

Prophouse stores blobs by hash, not by name. Name the file yourself:

Kind of file Name and location
Unreal package (source_ext is null) origin_path is a package path such as /Game/Props/SM_Barrel. Replace /Game with your project’s Content folder and add .uasset, or .umap when asset_class is World.
Source file (source_ext set) <name>.<source_ext>, for example Barrel.fbx

A check-out also returns a suggested_filename. See Check-out locks.

Call this after you give an entry’s files to a person or a pipeline outside a pull job. It sets ever_pulled on the entry and adds a download.pull event to the activity feed. An admin cannot hard-delete an entry once ever_pulled is set. The delete returns 409 CONFLICT and the entry can only be deprecated. See Curation.

Send no body. The response is 204. You can repeat the call. Each call adds another download.pull event.

Status Code When
403 FORBIDDEN The key has read scope only
404 ENTRY_NOT_FOUND No entry with that id

The call keeps working while the workspace is read-only for billing.

The MCP tool get_download_url makes this call for you when you pass entry_id, unless you set mark_pulled to false.