Skip to content

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.

  • Navigate to Settings → API Keys in Shield360.
  • Click Create API Key, enter a name, and save the key securely.

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.