Attribution and budgets
Distinguish Metadata attribution from Workspace and key budget enforcement.
Configuration workflow
- Create Workspaces or Gateway API keys according to isolation requirements. Use Metadata for ordinary project, customer, and environment dimensions.
- Define validated key-owned variables such as project and environment, choosing types, defaults, and sensitivity.
- Set Workspace / API key Credits budgets, check model Credit rates, review, and publish.
- Send JSON Metadata using X-Shieldon-Metadata, excluding credentials and private customer data.
- Query usage by dimension and verify over-budget behavior with a small budget in an isolated environment.
A Metadata attribution dimension is not an independent budget resource. Routes without Credit rates do not participate in Credits budgets; check rates before publishing.