Skip to main content
GET
/
v1
/
contexts
/
{contextId}
/
rules
/
{ruleId}
Get a match rule
curl --request GET \
  --url https://matcher.sandbox.lerian.net/v1/contexts/{contextId}/rules/{ruleId} \
  --header 'Authorization: Bearer <token>'
{
  "config": {},
  "contextId": "019c96a0-10a0-72d2-9fb0-2b7de8093182",
  "createdAt": "2025-01-15T10:30:00.000Z",
  "id": "019c96a0-1071-7a0d-9916-a831221de252",
  "priority": 1,
  "type": "EXACT",
  "updatedAt": "2025-01-15T10:30:00.000Z"
}

Documentation Index

Fetch the complete documentation index at: https://docs.lerian.studio/llms.txt

Use this file to discover all available pages before exploring further.

Authorizations

Authorization
string
header
required

Bearer token authentication (format: "Bearer {token}")

Headers

X-Request-Id
string

A unique identifier for tracing the request across services.

Path Parameters

contextId
string
required

The unique identifier of the reconciliation context.

ruleId
string
required

The unique identifier of the match rule.

Response

Successfully retrieved match rule

Matching rule within a reconciliation context

config
object

Rule configuration

contextId
string

Context ID this rule belongs to

Example:

"019c96a0-10a0-72d2-9fb0-2b7de8093182"

createdAt
string

Creation timestamp in RFC3339 format

Example:

"2025-01-15T10:30:00.000Z"

id
string

Unique identifier for the rule

Example:

"019c96a0-1071-7a0d-9916-a831221de252"

priority
integer

Execution priority (lower = higher priority)

Required range: 1 <= x <= 1000
Example:

1

type
enum<string>

Type of matching rule

Available options:
EXACT,
TOLERANCE,
DATE_LAG
Example:

"EXACT"

updatedAt
string

Last update timestamp in RFC3339 format

Example:

"2025-01-15T10:30:00.000Z"