agentkit eval uses the Eval API for workspaces, datasets, evaluators, targets and experiments. To keep existing TEA/Coze scripts working, change their agentkit eval prefix to agentkit eval-legacy. The top-level agentkit dataset still calls agentkit eval-legacy dataset.
For a complete example, follow Run an evaluation and export its report.
Connection, input and output
Signed requests use an HTTPS root URL and the current CLI credentials. The gateway, signing service and signing region each resolve from the command option, its evaluation environment variable, then the shared AgentKit setting. The API version is configured separately.
By default the CLI prints
Result. Structured fields accept inline JSON, @file or -. Each command can read stdin once. Individual options override full-object options and request-file fields. Separate list values with spaces. Each list request returns one page.
Operations with --dry-run contact the service. A successful preflight returns HTTP 412 with DryRunOperation and a CLI exit code of 0. Use --json to inspect ResponseMetadata.Error.Code. Other request errors go to stderr with a nonzero exit code.
eval workspace list
List evaluation workspaces for the signing account. Use an ID fromResult.EvalWorkspaces[].Id as --workspace-id for subsequent commands.