Skip to main content
GET
List rule-configuration revisions
Lists a program’s saved rule configuration revisions, newest first. Each revision shows who made the change (actor and source), what changed (diff), and the ids of the rule sets and rules it changed. List items leave out configuration. To read a revision’s complete configuration, get that revision. Use pagination.next_cursor to request the next page. earliest_tracked_version is the oldest version that has a saved revision, and caveats says when older versions have none.
See History for reading and comparing saved revisions.

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

limit
integer
default:50

Return at most this many records, from 1 to 200, default 50.

Required range: 1 <= x <= 200
cursor
string

The next_cursor from the previous response, valid only with the same endpoint and filters.

created_after
string<date-time>

Return only revisions recorded after this time, RFC 3339.

created_before
string<date-time>

Return only revisions recorded before this time, RFC 3339.

Response

One page of revisions, newest first

One page of saved rule configuration revisions, newest first, with pagination.

caveats
object[]

Explicit limitations on historical coverage.

data
object[]

Revisions ordered newest first.

earliest_tracked_version
integer

Oldest program-level configuration revision available through this API.

pagination
object

Cursor pagination metadata.