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> |
字符串 | 是 | - |
选项
| 选项 | 类型 | 是否必需 | 默认值 | 描述 |
|---|---|---|---|---|
--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 |
数字 | 字节大小 |