Skip to main content

Install

Usage

Because shield returns a standard Runnable, it composes naturally with LCEL chains:

Error handling

If the customer has no active subscription for the product, shield throws a ShieldError before the model is called.

Config

string
required
Your StellarTools API key.
string
required
The StellarTools customer ID to check.
string
required
The product the customer must have an active subscription to.