Skip to main content
GET
Get Rule

Overview

Retrieves complete information about a specific rule, including its conditions, actions, execution statistics, and version history.

Endpoint

Authentication

Requires a valid API key in the Authorization header:

Path Parameters

string
required
UUID of the rule to retrieve

Response

string
UUID of the rule
string
Your organization ID
string
Rule name
string
Rule description
string
Rule category (kyc, kyb, aml, fraud, compliance, custom)
string
Current status (draft, active, shadow, archived, inactive)
boolean
Whether the rule is enabled
number
Rule priority (1-100)
number
Risk score assigned when rule matches
object
Complete condition structure with nested logic
string
JSON string representation of conditions (for storage)
array
Array of actions to execute when rule matches
object
Rule scope configuration (countries, entity types, temporal windows)
array
Array of entity types the rule applies to
string
Evaluation mode (sync or async)
string
Associated risk matrix UUID (if any)
number
Current version number
string
UUID of the previous version (if any)
array
Array of tags for organization
object
Execution statistics (executions, successes, failures)
string
User ID who created the rule
string
ISO timestamp of creation
string
User ID who last updated the rule
string
ISO timestamp of last update

Example Requests

Response Example

Error Responses

404 Not Found

401 Unauthorized

403 Forbidden

Use Cases

Display Rule Details in UI

Monitor Rule Performance

Clone Rule Configuration

Export Rule Configuration

Best Practices

  1. Cache Rule Data: Cache frequently accessed rules to reduce API calls
  2. Monitor Statistics: Regularly check stats object for performance insights
  3. Track Versions: Use version and previousVersionId for audit trails
  4. Check Status: Always verify enabled and status before execution
  5. Use Tags: Leverage tags for organization and filtering

See Also