Calling Guardrail APIs
REST API reference for Highflame Shield guardrails — evaluate prompts, tool calls, files, and responses against detection and Cedar policy.
Base URL and Authentication
https://shield.api.highflame.aiAuthorization: Bearer <jwt>
X-Account-ID: <account-id>
X-Project-ID: <project-id>POST /v1/guard
Field
Type
Values
Evaluate a prompt
Evaluate a tool call
Evaluate a model response
Get the full policy trace
POST /v1/detect
Enforcement Modes
SDK Equivalents
REST call
Python SDK
TypeScript SDK
Last updated