Skip to content

SDK pricing URL

Each active database configuration exposes a public SDK Pricing URL on Manage Models:

/api/pricing/export/<database-config-id>

The bar under the page header shows the full URL for the currently selected database config. Click Copy to copy it. The endpoint needs no authentication - it only returns pricing data (no secrets or traces). Share it only with systems that should read your model prices.

Click the code icon in the header (tooltip: SDK Usage), or the SDK Usage button on the empty editor state, to open Use this pricing in your Shield360 SDK. The dialog shows the URL plus ready-to-paste Python, TypeScript, and Go snippets that pass it to pricing_json / pricingJson / PricingJson in shield360.init().

Pass your Shield360 host and the copied path - do not hardcode a machine-local address in shared configs.

The dialog note: the SDK fetches this URL on startup, and price edits here apply to future tracing. Historical spans still need Configuration if you want them updated.

Responses are cache-friendly (Cache-Control: public, max-age=300).

Public pricing export

Full schema and SDK examples for GET /api/pricing/export/{dbConfigId}