Skip to main content

QuilrQL behavior

QuilrQL is the policy language behind the console's Policy Engine, so "QuilrQL authority enabled" in API responses means the Policy Engine is on for the LLM Gateway. This page describes how the management API behaves while it is on; it is not a policy-editing API.

Management APIs can configure apps while tenant-wide QuilrQL authority is enabled. The response distinguishes stored app settings from the policy that governs runtime behavior.

New apps under QuilrQL​

When authority is already enabled, creating an app captures its baseline and can publish an app-specific allowed-models default for all users of that app. Finite configured provider model lists receive this default. Unrestricted providers and providerless SDK/Copilot Studio apps do not get a finite allowed-model list.

Allowed-model lists combine additively with matching policy rules. Explicit model denials and other tenant policies still apply. The response includes a quilrql_governs_app warning. Creation preserves existing drafts and never enables QuilrQL authority itself. Retrying the same completed creation with its idempotency key replays the original result instead of issuing another key or policy default.

Stored settings and effective behavior​

Changes to policy-governed app settings still save, but return inactive_under_quilrql with affected field paths and the active revision. They are not enforced and are not added to policies. If authority is later disabled, the stored values as they are at that moment become live, including these API writes and any Edit anyway saves made in the console. See What happens to classic settings for the full state table. Shared-provider credentials/availability and Prompt Store content remain live dependencies. Whole-app disable is always enforced independently of QuilrQL.

App creation freezes the new app's degraded fallback baseline. Later stored-setting updates do not silently replace that baseline or publish arbitrary policies.

Available management controls​

  • Read policy_authority in an app or capabilities response: enabled, active_revision and active_checksum.
  • Create apps and configure their stored settings using the normal app endpoints.
  • Add shared-provider attachments. Removing providers while authority is enabled returns 409 policy_dependency and requires separate policy dependency review.
  • Roll back eligible app configuration. This restores stored app settings only (inactive for governed fields while authority is enabled); it does not roll back policy revisions.

Not Generally Available​

The following policy lifecycle features are Not Generally Available through management v1. They are not implemented management endpoints and are excluded from the callable OpenAPI reference.

FeatureAvailability
Policy status/metadata endpoints, authoring schema/catalog/search and suggested policiesNot Generally Available
Conversion preview, source validation and simulationNot Generally Available
List/read/create/update draftsNot Generally Available
Publish drafts, list/read revision metadata/source and roll back policy revisionsNot Generally Available
Enable/disable tenant-wide policy authorityNot Generally Available
policy:write and policy:publish management scopesNot Generally Available; issuing a key with these scopes is rejected

The supported authority metadata is embedded in app/capabilities responses. The new-app allowed-models behavior described above is implemented and does not grant general policy-editing access.

Use the existing policy authoring and publishing workflow for policy lifecycle operations, and the LLM Gateway policy guide for language behavior.