Skip to content

Concepts

Policies and caps

How caps are enforced atomically.

Before forwarding a request, the gateway reserves the estimated cost against the key's daily, monthly and workspace caps in one atomic step. After the response, the reservation is settled to the actual cost.

If the policy store is unavailable, the gateway refuses the request. Ospin fails closed.