reportsInContext

fun reportsInContext(contextId: String, limit: Int, since: Instant? = null): List<DriftReportDto>

The most recent drift checks scoped to contextId, newest first. Whole-graph checks and other contexts' are left out.

Return

At most limit reports, newest first.

Parameters

contextId

The context to read.

limit

The most reports to return.

since

When non-null, only reports captured at or after this instant.

Throws

if limit is outside its bounds or contextId is blank.