Evaluates all active rules against the provided input fields and returns matching rule IDs, linked entities, and optionally their full data.
Documentation Index
Fetch the complete documentation index at: https://docs.openlit.io/llms.txt
Use this file to discover all available pages before exploring further.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Filter results to entities of this type.
context, prompt, dataset, meta_config "context"
Key-value map of input values to evaluate against rule conditions.
{
"model": "gpt-4",
"user_tier": "premium",
"token_count": 1500
}
When true, fetches full entity records and includes them in entity_data.
true
Extra inputs specific to the entity type. Used for prompts to control compilation.
Successfully evaluated rules.
["a1b2c3d4-1234-5678-abcd-ef0123456789"]
{
"context:b2c3d4e5-2345-6789-bcde-f01234567890": {
"id": "b2c3d4e5-2345-6789-bcde-f01234567890",
"name": "Premium System Prompt",
"content": "You are a helpful AI assistant for premium users...",
"status": "ACTIVE"
}
}