Retrieve a rule.
Documentation Index
Fetch the complete documentation index at: https://doc.lucidworks.com/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.
The rule's Universally-Unique Identifier (UUID). You can also use the externalId, if the rule has one.
Optional additional fields to include in the response. Keep in mind that additional fields can slow the call and increase the response size.
TARGETED_DOCUMENTS, CONFLICTS, IS_PENDING_BULK_OPERATION, FUSION_SYNC_STATUS, MIGRATION OK
Displays a banner in the search results when rule criteria match.
Rule type. Determines which schema applies.
BANNER Optional additional properties.
Commerce Studio Rule condition type to distinguish between rules created for search versus rules created for category-based merchandising. Ignored within stagingContent.
SEARCH, CATEGORY Conditions for the rule.
Rules with conflicting/overlapping conditions.
Blocks one or more documents that match the rule criteria in the search results, where rule criteria is an attribute (for example, Color) and list of values to block.
User who created the entity.
Date when the entity was created.
Mark the rule as deleted without fully removing it from the system (if this is true or markedForDeletion is true). Unlike markedForDeletion, this is a writeable field.
A rule description.
An optional ID set by external users of the API at creation time. Cannot be changed after creation.
A method of rule organization. Rules can be part of multiple rule groups.
It should be true when there is any conflict this rule has with other rules in this Commerce Studio instance.
Entity ID.
Date when the entity was last updated.
User who last updated the entity.
Status of this rule's (staging or live contents) synchronization.
This is true if this rule is marked for deletion (deleted is true) but has not yet been fully removed from the system. This is only true in rare cases, and usually the system automatically resolves it. If not, you can use this key for troubleshooting. It is set internally by the system and is read-only. Rules in this state (true) do not appear in the listing endpoints (other than GET by ID) unless explicitly requested to be included.
Defines how the specified search terms will be compared to the user's query to determine whether this rule applies.
KEYWORDS, TEXT, PHRASE, STARTS_WITH, ENDS_WITH "KEYWORDS"
If this was originally migrated from another system, this field shows the ID of the original rule.
Rule migration tracking information for rules that have been migrated from one Commerce Studio instance to another.
Entity name.
Whether this rule is currently pending in a bulk operation (such as being published, unpublished, or deleted). This is used to indicate that the rule should not be modified until the operation is complete. Once the rule reaches a terminal status in the operation, this will be set to false.
Specifies the rule's precedence when multiple rules could apply to the same query.
Higher values indicate higher precedence: the rule with the highest precedence is applied last and takes final effect. For example, a rule with precedence 3 will override a rule with precedence 2.
If two rules have the same precedence, the more recently created rule takes precedence.
The publish state of the rule: DRAFT (unpublished), PUBLISHED (published with no staged changes), or PUBLISHED_WITH_DRAFT_EDITS (published but with pending changes in staging).
DRAFT, PUBLISHED, PUBLISHED_WITH_DRAFT_EDITS Whether the rule is staged or published.
A list of key-value pairs representing response values.
The segments that this rule will apply to.
A version of the rule that should be applied only to the staging view of Commerce Studio. This allows draft changes to be previewed prior to publishing. Changes made to this content are not visible in the live environment.
Status of this rule's (staging or live contents) synchronization.
A set of short, descriptive labels for categorization or quick reference.
Banner rule URL.
Banner rule zone.