Skip to main content
GET
Get a rule set
Returns one program-owned rule set by stable ID. The response includes its immutable key, display name, and current order.
See Rule sets for assignment and execution order.

Authorizations

Authorization
string
header
default:sk_...
required

Send your API key as Authorization: Bearer <key>.

Path Parameters

program_id
string<uuid>
required

The program's id.

rule_set_id
string<uuid>
required

The rule set's id.

Response

Rule-set details

A rule set: an ordered group of rules in a program.

created_at
string<date-time>

When this rule set was created.

Example:

"2027-01-15T10:30:00Z"

id
string<uuid>

The id of the rule set. Use it in rule_set_id fields and paths.

Example:

"d4735e3a-265e-4f16-b1a5-4c8e9d6f0a04"

key
string

Immutable program-scoped key.

Example:

"holiday-promo"

name
string

Operator-facing display name.

Example:

"Holiday Promotion"

order
integer

Execution position among participating sets; lower executes first. This does not control participation, stacking, replacement, or suppression.

Example:

1

program_id
string<uuid>

Program that owns this rule set.

Example:

"8f14e45f-ceea-4e70-9df8-2a7d1b3c9f01"

rule_configuration_version
integer

Resulting program rule-configuration revision. Present on mutation responses.

Example:

4

updated_at
string<date-time>

When this rule set was last modified.

Example:

"2027-01-15T10:30:00Z"