Skip to main content
GET
List rule sets
Returns all of a program’s rule sets in execution order. Every program has an immutable-key default set. Rule sets have no delete or archive operation.
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.

Query Parameters

created_after
string<date-time>

Return only records created after this time, RFC 3339.

created_before
string<date-time>

Return only records created before this time, RFC 3339.

Response

List of rule sets

One page of rule sets, with the pagination details for the next page.

data
object[]

The rule sets on this page.

pagination
object

Whether another page follows, and the cursor that fetches it.