Gallery Platform API
Reference

List integrity runs

The gallery's integrity run history: one row per check execution with the counts it found, proposed and suppressed. Filter by `check_id`; newest first.

GET
/gallery/integrity/runs

The gallery's integrity run history: one row per check execution with the counts it found, proposed and suppressed. Filter by check_id; newest first.

Authorization

bearerAuth gallery:read
AuthorizationBearer <token>

A gallery API key, sent as Authorization: Bearer gpk_… (or the x-api-key header).

In: header

Scope: gallery:read

Query Parameters

limit?integer

Page size. Defaults to 20; the maximum is 100.

Range1 <= value <= 100
Default20
cursor?string

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

check_id?string

Filter to the given check id.

sort?"ran"

Sort by one of: ran (default ran).

Value in

  • "ran"
dir?string

Sort direction (default desc).

Value in

  • "asc"
  • "desc"

Response Body

application/json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

application/problem+json

{  "data": [    {      "id": "string",      "check_id": "string",      "ran_at": "string",      "found": -9007199254740991,      "proposed": -9007199254740991,      "suppressed": -9007199254740991,      "duration_ms": -9007199254740991,      "trigger": "schedule",      "error": "string"    }  ],  "next_cursor": "string"}