Skip to main content
GET
List immutable evaluation snapshots for an attached policy

Authorizations

Authorization
string
header
required

An Earnie API key, sent as Authorization: Bearer sk_earnie_.... Create one under Settings > API keys. The key's scopes decide which operations it may call.

Path Parameters

projectId
string<uuid>
required
policyId
integer<int64>
required

Query Parameters

cursor
string

Opaque cursor from the previous page's next_cursor. Omit for the first page.

limit
integer
default:50

Page size. Defaults to 50; 100 is the hard maximum.

Required range: 1 <= x <= 100

Response

One page of evaluation history, newest first

evaluations
object[]
required
total
integer
required

Evaluations recorded for this project and policy, independent of how many rows this page carries.

Required range: x >= 0
next_cursor
string | null

Opaque keyset cursor for the following page, or null on the last page. History is append-only and a page is cut by (finished_at, id), so a cursor never expires — a newer evaluation lands ahead of page one, never inside a later page.