> ## Documentation Index
> Fetch the complete documentation index at: https://docs.veadk.xyz/llms.txt
> Use this file to discover all available pages before exploring further.

# 评测连接与工作空间

从 0.57.4 开始，`agentkit eval` 使用 Eval API 管理工作空间、数据集、评估器、评测目标和实验。旧脚本可将原有的 `agentkit eval` 改为 `agentkit eval-legacy`。`agentkit dataset` 仍等价于 `agentkit eval-legacy dataset`。

首次使用可按[运行评测并导出报告](https://docs.veadk.xyz/productions/agentkit-cli/preview/zh/workflows/evaluation.md)操作。

## 连接、输入与输出

签名请求使用 HTTPS 根地址和 CLI 当前凭据。网关、签名服务和签名地域分别按命令选项、对应的评测环境变量、AgentKit 共用配置的顺序解析。API 版本单独设置。

| 命令选项 | 环境变量或用途 | 默认值 |
| - | - | - |
| `--endpoint <url>` | AGENTKIT\_EVAL\_API\_ENDPOINT | AgentKit 网关 |
| `--service <name>` | AGENTKIT\_EVAL\_API\_SERVICE | AgentKit 签名服务 |
| `--region <region>` | AGENTKIT\_EVAL\_API\_REGION | AgentKit 签名地域 |
| `--api-version <version>` | AGENTKIT\_EVAL\_API\_VERSION | 2026-10-30 |
| `--timeout-ms <milliseconds>` | 请求超时，范围 1–2147483647 毫秒 | 目标查询和验证 3630000，其余 30000 |
| `--local` | 使用显式 HTTP 回环地址连接本地开发网关，免签名 | false |
| `--local-account-id <id>` | 本地模式必填的账号标识 | — |
| `--json` | 输出完整响应，包含 Result 和 ResponseMetadata.RequestId | false |
| `--request <path\|->` | 使用协议字段名的请求 JSON 文件或标准输入 | — |

默认输出 `Result`。复杂字段可用内联 JSON、`@文件` 或 `-`，每条命令最多读取一次标准输入。独立字段优先于完整对象选项和请求文件。多值参数用空格分隔。列表每次只返回一页。

支持 `--dry-run` 的操作会访问服务。预检通过时，服务返回 HTTP 412 和 `DryRunOperation`，CLI 以 0 退出。使用 `--json` 可检查 `ResponseMetadata.Error.Code`。其他调用错误写入标准错误并返回非零退出码。

## eval workspace list

列出签名账号可用的评测工作空间。将返回的 `Result.EvalWorkspaces[].Id` 用作后续命令的 `--workspace-id`。

| 选项 | 说明 | 默认值 |
| - | - | - |
| `--account-id <value>` | 当前签名凭据对应的主账号 ID | — |
| `--page-number <number>` | 页码，从 1 开始 | 1 |
| `--page-size <number>` | 每页条数，范围 1–200 | 20 |

```bash theme={null}
agentkit eval workspace list --json --account-id "$ACCOUNT_ID"
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.