Retrieve Context
Contexts become useful once linked to at least one Active rule. Your application calls the Rule Engine’s evaluate endpoint with entity_type: "context" and a set of input fields (like model or user_tier); Shield360 checks all Active rules and returns which rules matched, plus references to their linked contexts.
Create an API Key
Section titled “Create an API Key”- Navigate to Settings → API Keys in Shield360.
- Click Create API Key, enter a name, and save the key securely.
Call the evaluate API
Section titled “Call the evaluate API”Send a POST request to /api/rule-engine/evaluate with your input fields and entity_type: "context". Set include_entity_data: true to receive the full context record (id, name, description, content, tags, meta_properties, status, created_by, created_at, updated_at) instead of just matching rule IDs and entity references.