Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
Operation description
Retrieves the details of a specified namespace bound to a Luma Agent. Only namespaces that are already bound to the Agent can be queried.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| AgentName |
string |
Yes |
The name of the Agent. |
my_agent |
| Catalog |
string |
Yes |
The name of the data catalog bound to the Agent. You can call ListLumaCatalogs to obtain this value. |
my_catalog |
| Name |
string |
Yes |
The name of the namespace bound to the Agent. You can call ListLumaNamespaces to obtain this value. |
my_namespace |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| Message |
string |
The message returned by the operation. The value is Operation success if the call succeeds, or a specific error description if the call fails. |
Operation success |
| RequestId |
string |
The unique identifier of the request, used for troubleshooting and ticket submission. |
34AD682D-5B91-5773-8132-AA38C130**** |
| Data | Namespace |
The details of the namespace bound to the Agent. |
|
| Code |
string |
The response code. A value of Success indicates that the call succeeded. If the call fails, a specific error code is returned. |
Success |
| Success |
boolean |
Indicates whether the call was successful. A value of true indicates success. |
true |
Examples
Success response
JSON format
{
"Message": "Operation success",
"RequestId": "34AD682D-5B91-5773-8132-AA38C130****",
"Data": {
"Catalog": "my_catalog",
"Name": "my_namespace",
"Comment": "测试命名空间",
"properties": "{\"key\":\"value\"}"
},
"Code": "Success",
"Success": true
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 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 |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.