Skip to main content

What storage modes this deployment offers, and the project's current mode

GET 

/program/api/v2/storage/features

Returns one entry per storage surface: the mode the token's project is in right now, and which modes this deployment offers for that surface. Derived from the deployment's storage-feature configuration, so enabling or disabling a combination changes this response with no code change.

offeredByDeployment is an object rather than a bare boolean on purpose, so that entitlement or billing can later become an additive sibling field rather than a silent redefinition of what the boolean meant. It is named offeredByDeployment rather than enabled or available so a caller cannot mistake it for the whole answer: it states what this deployment supports, never what a customer has paid for.

public_url is offered for the assets surface only; it is absent on the other three, where public-URL storage is not a valid mode at all.

This endpoint governs all four surfaces, including archive: the binding a surface has here is what the service resolves storage from at runtime, and a surface with no binding keeps resolving from its legacy record (an archiving config, or a storage profile) until one is set. The legacy storage-profiles and archiving-config endpoints remain as facades over the same data.

Reveals no other project's configuration.

Generate JWT

Responses​

The deployment's offering, as it applies to this project

Forbidden — no project access

Internal Server Error