Skip to Content
Levain LabsLevain Labs

list_eval_cases

List an agent's eval cases, newest first, with their verdicts. Each case carries ``gold``, its accepted verdict, and ``candidates``, the verdicts waiting…

List an agent's eval cases, newest first, with their verdicts.

Each case carries gold, its accepted verdict, and candidates, the verdicts waiting for review. gold=True keeps the cases that have a gold verdict, which together are the agent's dataset, and gold=False the ones still without. pending=True keeps the cases with a candidate waiting: the review queue. kind keeps one kind. context and output are left out unless include_content is true. limit is 50 by default and 200 at most; offset skips that many cases, and a page shorter than limit is the last. When the reply would not fit one tool result it is an object instead: the first cases in cases, truncated true, and next_offset; call again with the same arguments and offset set to next_offset.

Parameters

NameTypeRequiredDescription
agent_idstringyes
kindstringno
goldbooleanno
pendingbooleanno
include_contentbooleanno
limitintegerno
offsetintegerno

On this page