name: agentuity-cli-cloud-stream-get description: 获取特定数据流的详细信息。需要身份验证。用于Agentuity云平台操作 version: “0.0.103” license: Apache-2.0 allowed-tools: “Bash(agentuity:*)” argument-hint: “<id>” metadata: command: “agentuity cloud stream get” tags: “read-only slow requires-auth”
云数据流获取
获取特定数据流的详细信息
前提条件
- 已通过
agentuity auth login完成身份验证 - 需要项目上下文(从项目目录运行或使用
--project-id)
使用方法
agentuity cloud stream get <id> [options]
参数
| 参数 | 类型 | 必填 | 描述 |
|---|---|---|---|
<id> |
字符串 | 是 | 数据流ID |
选项
| 选项 | 类型 | 必填 | 默认值 | 描述 |
|---|---|---|---|---|
--output |
字符串 | 是 | - | 将数据流内容下载到文件 |
示例
获取数据流详情:
bunx @agentuity/cli stream get stream-id-123
以JSON格式获取数据流:
bunx @agentuity/cli stream get stream-id-123 --json
下载数据流到文件:
bunx @agentuity/cli stream get stream-id-123 --output stream.dat
下载数据流(短标志):
bunx @agentuity/cli stream get stream-id-123 -o stream.dat
输出
返回JSON对象:
{
"id": "string",
"name": "string",
"metadata": "object",
"url": "string",
"sizeBytes": "number"
}
| 字段 | 类型 | 描述 |
|---|---|---|
id |
字符串 | 数据流ID |
name |
字符串 | 数据流名称 |
metadata |
对象 | 数据流元数据 |
url |
字符串 | 公开URL地址 |
sizeBytes |
数字 | 数据大小(字节) |