gauge CLI; prefer the CLI when you want shell-friendly commands and formatted output.
You need an API key; see Authenticate with the API. Set it in your shell first:
List recent runs
nextCursor, pass it as cursor to get the next page.
Launch an eval
Launch an eval with its saved settings. This needs a Read & write key:batchIds and runIds. After a timeout, list runs before launching again; the server may have accepted the request even though your client didn’t receive the response.
To test proposed CLI behavior for this launch, include a cliRules object in the request body. It accepts the v3/v4 authoring format, without a digest or runtime limits. The same field is accepted by preference launch requests and by run-definitions/plan and run-definitions/run submissions. It applies to every selected session in that launch and leaves saved settings unchanged. Rule-file paths are a CLI convenience; API requests send the JSON contents.
Configure an eval
Evals own their configuration. For example, set manual cadence, three samples per target, and a selected service credential:GET /orgs/{org}/connections. That response lists each credential’s identity and allowed hosts, never secret values.
- Omitted fields keep their stored values. Supplied arrays replace the current selection;
connectionIds: []clears it. - Cadence values are
NONE,DAILY,WEEKLY, andMONTHLY. Sample counts range from 1 to 50.
Add a preference prompt scenario
Preference prompts own shared run settings and repository/persona scenarios. Add a scenario:Agents API reference
Every endpoint, with its parameters and responses.