Skip to main content

api_all_runs

Function api_all_runs 

Source
pub fn api_all_runs(
    corpus: Option<String>,
    service: Option<String>,
    owner: Option<String>,
    limit: Option<i64>,
    pool: &State<DbPool>,
) -> Result<Json<Vec<RunOverviewDto>>, Status>
Expand description

The system-wide run history (agent twin of the /admin/runs screen): the most recent runs, newest first, optionally filtered by corpus/service/owner, capped at limit (default 100, max 500). 503 if the pool is exhausted.