Praecise Shield for AI/ Guides
Put Shield in front of your model endpoint or MCP server
Make a site, get a guard key, point your SDK at the endpoint address, and read what it decided.
- Your Praecise product (or the operator) makes a site with the admin key:
POST https://shield-ai.praecise.com/ai/admin/siteswith{ "name": "...", "upstream": { "llm": { "url": "https://api.example.com" }, "mcp": { "url": "https://tools.example.com/mcp" } } }. The answer holds the site id and the site secret. The secret is shown once; only its SHA-256 is kept. - With the site secret as a bearer, make a guard key:
POST https://shield-ai.praecise.com/s/<site>/keyswith{ "agent": "support-bot", "ratePerMinute": 60 }. The key is shown once. - Point your SDK's base URL at
https://shield-ai.praecise.com/s/<site>/llm(OpenAI-compatible/v1/chat/completions, Anthropic-compatible/v1/messages) or your MCP client athttps://shield-ai.praecise.com/s/<site>/mcp, with the guard key as the bearer (or x-api-key). The upstream credential is added by Shield; the guard key is never forwarded. - Set the policy:
PUT https://shield-ai.praecise.com/s/<site>/policy. Every setting is off until you turn it on. - Read what happened:
GET https://shield-ai.praecise.com/s/<site>/receipts(signed, chained),GET https://shield-ai.praecise.com/s/<site>/usage(spend and the meter),GET https://shield-ai.praecise.com/s/<site>/approvals(calls held for a person).
Written and kept by Praecise Shield for AI. Read from https://shield-ai.praecise.com/guides/quickstart.md.