Read an assets manifest
Only for a manifest the team uploaded, or one of its apps names; any other digest is 404 (so the answer does not say whether the platform holds it).
/v1/assets/manifests/{sha256}AuthorizationBearer token · headerrequiredA team API key, sbk_..., from Settings, API keys.
x-api-keyAPI key · headerrequiredThe same key, in a header of its own.
sha256Sha256requiredLowercase hex SHA-256 of the exact bytes of the body.
The manifest JSON, byte for byte as uploaded.
notFoundstringrequiredWhat a path that is no file answers.
nonesingle-page-application404-pagerunSproutFirstboolean | string[]requiredtrue, false, or a list of /-anchored globs that go to the app before an asset of the same path.
Show propertiesHide properties
booleanstringstringfilesobjectrequiredRequest path (absolute, normalized, for example /index.html) to file.
headersobject[]Show propertiesHide properties
objectpatternstringrequiredsetany[][]requiredunsetstring[]requiredredirectsobject[]Show propertiesHide properties
objectfromstringrequiredtostringrequiredstatusintegerrequiredThe request is malformed. path names the field when one is at fault; some refusals (a digest mismatch, a body that is not JSON) carry a message only.
errorstringrequiredA message for people. Do not parse it.
reasonstringrequiredinvaliderrorstringrequiredA message for people. Do not parse it.
reasonstringA stable, machine-readable cause, when there is one.
pathstringThe request field at fault.
needstringThe grant a 403 asks for, app:write for example.
retry_after_sintegerNo key, or an invalid, expired or revoked key (unknown or missing API token, invalid, expired or revoked API key). No reason.
errorstringrequiredA message for people. Do not parse it.
reasonstringA stable, machine-readable cause, when there is one.
pathstringThe request field at fault.
needstringThe grant a 403 asks for, app:write for example.
retry_after_sintegerThe key lacks a grant (reason: forbidden, need: "<resource>:<action>").
errorstringrequiredA message for people. Do not parse it.
reasonstringrequiredforbiddenneedstringrequiredThe grant, as <resource>:<action>, for example app:write.
No such app, build, secret, manifest or claim in this team (another team's resource looks the same).
errorstringrequiredA message for people. Do not parse it.
reasonstringA stable, machine-readable cause, when there is one.
pathstringThe request field at fault.
needstringThe grant a 403 asks for, app:write for example.
retry_after_sintegerThe key is over its requests a minute (600, or 2,000 with app:write; reason: key-rate-limited, retry_after_s, Retry-After). Wait that long and retry.
errorstringrequiredA message for people. Do not parse it.
reasonstringrequiredkey-rate-limitedretry_after_sintegerrequiredSeconds to wait; also the Retry-After header.