# LexQ Docs ## Documentation ### Getting Started - [Introduction](https://docs.lexq.io/introduction.md): LexQ is a Decision Operations Platform for engineering teams. Test rule changes on real production traffic with Impact Simulation, understand every decision with full trace, and deploy with confidence — no more blind changes to business logic. - [Quickstart](https://docs.lexq.io/quickstart.md): Get your first policy running in under 5 minutes. - [Domain Templates](https://docs.lexq.io/domain-templates.md): Start from a working policy for a common decision: fact definitions, sample rules, and sample requests with the responses they produce. - [Glossary](https://docs.lexq.io/glossary.md): Official terminology used across LexQ documentation, console, and API. ### Core Concepts - [Policy Groups](https://docs.lexq.io/guides/policy-groups.md): A policy group is the top-level container for your business rules. Learn how to create, manage, and configure groups. - [Policy Versions](https://docs.lexq.io/guides/policy-versions.md): Versions represent snapshots of your rules. Understand the version lifecycle from draft to deployment. - [Policy Rules](https://docs.lexq.io/guides/policy-rules.md): Rules define the if-then logic of your policies. Learn condition syntax, action types, conflict resolution, and decision trace. - [Fact Definitions](https://docs.lexq.io/guides/fact-definitions.md): Facts are the input variables your rules evaluate against. Define, type, and manage them here. - [Deployments](https://docs.lexq.io/guides/deployments.md): Push published versions to production, roll back if needed, and manage the deployment lifecycle. ### Features - [Dry Run](https://docs.lexq.io/guides/dry-run.md): Test a single input against a policy version without side effects. Validate rule behavior before publishing. - [Impact Simulation](https://docs.lexq.io/guides/simulation.md): Run a policy version against historical execution data to measure impact before deploying. - [A/B Testing](https://docs.lexq.io/guides/ab-testing.md): Split production traffic between two policy versions to compare their performance. - [Decision Replay](https://docs.lexq.io/guides/decision-replay.md): Re-evaluate past production decisions against a candidate version and see exactly what would change — before you deploy. - [Decision Provenance](https://docs.lexq.io/guides/decision-provenance.md): Every decision carries its lineage — what was decided, why, on which inputs, and who authored, published, and deployed the rules behind it. - [Performance Profiling](https://docs.lexq.io/guides/performance-profiling.md): Per-rule latency, measured on the calls where LexQ picks the version. A rule is flagged slow by comparison with its group's median p50, and a percentile appears only once there are enough samples. ## API Reference ### Overview - [API Overview](https://docs.lexq.io/api/introduction.md): Integrate LexQ policy execution into your application via REST API. - [Authentication](https://docs.lexq.io/api/authentication.md): Authenticate your API requests using API keys. - [Errors](https://docs.lexq.io/api/errors.md): Complete error code reference for the LexQ platform — integration API and console. Codes are stable across versions; HTTP status and message text may evolve. ### Policy Execution - [Policy Execution](https://docs.lexq.io/api/execution.md): Execute deployed policies against input facts in real time. LexQ provides 3 execution modes for different use cases. - [Provenance](https://docs.lexq.io/api/provenance.md): Read decision lineage and the PII reveal audit ledger programmatically — built for audit automation and SIEM collection. ## CLI & MCP ### CLI - [CLI Overview](https://docs.lexq.io/cli/introduction.md): Command-line interface for the LexQ Decision Operations Platform. Manage policies, run Impact Simulation, and deploy from your terminal. Built for humans and AI agents. - [Installation & Authentication](https://docs.lexq.io/cli/installation.md): Install the LexQ CLI and set up your API key. - [Command Reference](https://docs.lexq.io/cli/commands.md): Complete reference for the LexQ CLI. ### MCP Server - [MCP Server](https://docs.lexq.io/cli/mcp-server.md): Connect Claude, VS Code, Cursor, and other AI tools to LexQ via MCP. ## Changelog ### Changelog - [Changelog](https://docs.lexq.io/changelog.md): New features and changes that affect how you use LexQ, newest first. ## Help Center ### Help - [FAQ](https://docs.lexq.io/help/faq.md): Frequently asked questions about LexQ. - [Troubleshooting](https://docs.lexq.io/help/troubleshooting.md): Common issues and how to resolve them. - [Support](https://docs.lexq.io/help/support.md): Get help from the LexQ team. > The links below point to documentation indexes. Follow each `/_llms/` index recursively until you reach documentation pages. ## Indexes - [Korean (28 pages)](https://docs.lexq.io/_llms/ko.txt): 문서, API 레퍼런스, CLI & MCP, 변경 기록, 고객센터. This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.