FruxonDocs
AgentsExecution Records

Gets the agent's judge-verdict counts (+ average score) for the operator overview Quality card.

Returns passed / failed / scored counts, the average run-level score, and a pass rate over the requested origin + window. Null/null window covers all time; otherwise it defaults to 30 days before to, mirroring the cost-timeseries windowing so the surfaces reconcile.

GET
/v1/tenants/{tenant}/agents/{agent}/judgeActivity
AuthorizationBearer <token>

JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.

In: header

Path Parameters

agent*string

The unique identifier of the agent.

tenant*string

The tenant identifier

Query Parameters

origin?string

Execution origin to roll up. Defaults to PRODUCTION.

Default"PRODUCTION"
Value in"UNSPECIFIED" | "PRODUCTION" | "TEST"
from?integer

Optional window start as Unix milliseconds (inclusive).

Formatint64
to?integer

Optional window end as Unix milliseconds (exclusive). Defaults to now when a window is requested.

Formatint64
environment?string

Optional environment slug to scope the rollup to.

Response Body

curl -X GET "https://api.fruxon.com/v1/tenants/string/agents/string/judgeActivity"
{
  "passed": 0,
  "revised": 0,
  "failed": 0,
  "scored": 0,
  "errors": 0,
  "avgScore": 0,
  "runs": 0,
  "unchecked": {
    "notFinished": 0,
    "judgeOff": 0,
    "pending": 0,
    "notSampled": 0,
    "shortReply": 0
  },
  "judged": 0,
  "attempted": 0,
  "gated": 0,
  "gateAttempts": 0,
  "passRate": null
}
Empty
Empty
{
  "type": "string",
  "title": "string",
  "status": 0,
  "detail": "string",
  "instance": "string",
  "property1": null,
  "property2": null
}

Gets the whole spawn tree this execution belongs to, in one request.

Returns every run descending from this execution's root — the run itself, whatever spawned it, and every sub-task or consult anywhere beneath — in pre-order with a depth on each node, plus rollups (run count, failures, combined cost, wall-clock span) computed across the tree. This is the whole-session view that `/children` can only serve one level at a time. Because the tree is resolved from the shared root rather than walked link by link, it is neither depth-capped nor truncated, and it does not lose the branches that belong to another agent — a consult child runs under the *consulted* agent, so a level-by-level walk from here cannot see it. Each node carries its own `agentId` for navigation. A run with no lineage returns a single-node tree, not an error.

Gets the post-deploy quality-regression signal (latest revision vs

Powers the agent-overview "quality regression" banner: compares the mean judge score of the latest deployed revision against the prior revision and reports whether it dropped significantly. Only runs the judge scored count toward the scores and sample sizes; runs where the judge itself failed are reported apart in `currentErrors` / `baselineErrors`. Read-only and side-effect-free. Defaults to comparing `PRODUCTION` executions; pass `origin` to compare a different execution origin and `environment` to scope the comparison to one environment slug. Returns `regressed=false` when there is no significant drop or not enough data to judge.