获取 Luma Agent 绑定的指定事件表的详细信息,包含列定义与数据保留策略。仅能查询该 Agent 已绑定的事件表。
接口说明
获取 Luma Agent 绑定的指定事件表的详细信息,包含列定义与数据保留策略。仅能查询该 Agent 已绑定的事件表。
调试
您可以在OpenAPI Explorer中直接运行该接口,免去您计算签名的困扰。运行成功后,OpenAPI Explorer可以自动生成SDK代码示例。
调试
授权信息
请求参数
|
名称 |
类型 |
必填 |
描述 |
示例值 |
| AgentName |
string |
是 |
Agent 名称 |
my_agent |
| Catalog |
string |
是 |
Agent 已绑定的数据目录名称。可通过 ListLumaCatalogs 获取 |
my_catalog |
| Namespace |
string |
是 |
Agent 已绑定的命名空间名称。可通过 ListLumaNamespaces 获取 |
my_namespace |
| Name |
string |
是 |
Agent 已绑定的事件表名称。可通过 ListLumaTables 获取 |
my_table |
返回参数
|
名称 |
类型 |
描述 |
示例值 |
|
object |
|||
| Message |
string |
接口返回的提示信息,成功时为 Operation success,失败时为具体错误描述 |
Operation success |
| RequestId |
string |
本次请求的唯一标识,用于问题排查与工单反馈 |
34AD682D-5B91-5773-8132-AA38C130**** |
| Data | LumaTable |
Agent 绑定的事件表详情,包含列定义 |
|
| Code |
string |
接口返回码,Success 表示成功,失败时为具体错误码 |
Success |
| Success |
boolean |
本次调用是否成功,true 表示成功 |
true |
示例
正常返回示例
JSON格式
{
"Message": "Operation success",
"RequestId": "34AD682D-5B91-5773-8132-AA38C130****",
"Data": {
"Catalog": "my_catalog",
"Columns": [
{
"Comment": "主键ID",
"Name": "id",
"Type": "bigint"
}
],
"Comment": "测试事件表",
"CreateTime": 1717948800000,
"Name": "my_table",
"Namespace": "my_namespace",
"RetentionPolicy": {
"ColdTTL": 30,
"HotTTL": 7
},
"UpdateTime": 1717948800000
},
"Code": "Success",
"Success": true
}
错误码
|
HTTP status code |
错误码 |
错误信息 |
描述 |
|---|---|---|---|
| 400 | InvalidParameter | The specified parameter is invalid | |
| 403 | ServiceNotEnable | Service not enable | |
| 404 | AgentNotFound | Agent not found | |
| 404 | ResourceNotFound | The specified resource is not bound to the agent |
访问错误中心查看更多错误码。
变更历史
更多信息,参考变更详情。