Queries Agentic spaces.
Operation description
Applies to Agentic file systems.
Before you begin
Before you call this operation, you must create resources in the following order:
-
Create an Agentic file system: When you call CreateFileSystem to create a file system, you must configure the following parameters:
StorageType: Set the value toAgentic.ProtocolType: Set the value toNFS.Supported regions: The Agentic storage type is available only in specific regions and zones. For more information, see the console.
-
Query the AgenticSpace list: After the file system is created and its status changes to Running, call the DescribeAgenticSpaces operation to query the Agentic spaces in the file system.
If Agentic spaces are created in the file system, the complete list is returned.
If no Agentic space is created in the file system, an empty list is returned.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
nas:DescribeAgenticSpaces |
list |
*FileSystem
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FileSystemId |
string |
Yes |
The ID of the file system. |
1ca404**** |
| Filters |
array<object> |
No |
The collection of filter information. |
|
|
object |
No |
The filter information. |
||
| Key |
string |
No |
The name of the filter key. Valid values:
Valid values:
|
AgenticSpaceIds |
| Value |
string |
No |
The value of the filter key. Wildcards are not supported for this parameter.
|
06229oypxjgox0u**** |
| NextToken |
string |
No |
The query token. The value is the NextToken value returned from the previous API call. |
MTc3OTkzNTA0Mjg0NTc1MDI4OCM0MDQ0MzA****= |
| MaxResults |
integer |
No |
The number of entries to return per query. Valid values: 10 to 100. Default value: 20. |
20 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
|||
| AgenticSpaces |
object |
||
| AgenticSpace |
array<object> |
The Agentic space information. |
|
|
array<object> |
The Agentic space information. |
||
| AgenticSpaceId |
string |
The AgenticSpace ID. |
agentic-229oypxjgpau2**** |
| Azone |
string |
The zone ID. |
cn-hangzhou-i |
| CreateTimeUtc |
string |
The time when the Agentic space was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. |
2026-06-10T10:08:08Z |
| Description |
string |
The description of the Agentic space. |
Description |
| FileCountUsage |
integer |
The number of used files. |
100 |
| FileSystemId |
string |
The ID of the file system. |
0322djegiekcia5**** |
| FileSystemPath |
string |
The absolute path of the file. |
/test/ |
| Quota |
object |
The quota information. |
|
| FileCountLimit |
integer |
The file count limit for the quota. Valid values:
|
10000000 |
| SizeLimit |
integer |
The total capacity limit for the quota. Unit: bytes. Valid values:
|
10737418240 |
| SpaceUsage |
integer |
The used capacity. Unit: bytes. |
1024 |
| Status |
string |
The status of the Agentic space. Valid values:
|
Running |
| UpdateTimeUtc |
string |
The time when the Agentic space was updated. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format. |
2026-06-10T10:08:08Z |
| NextToken |
string |
The query token. The value is the NextToken value returned from the previous API call. |
MTc2NTg1MTUyMzA1OTczNTc1OCM0NjQxMzQ****= |
| RequestId |
string |
The request ID. |
BC7C825C-5F65-4B56-BEF6-98C56C7C**** |
Examples
Success response
JSON format
{
"AgenticSpaces": {
"AgenticSpace": [
{
"AgenticSpaceId": "agentic-229oypxjgpau2****",
"Azone": "cn-hangzhou-i",
"CreateTimeUtc": "2026-06-10T10:08:08Z",
"Description": "Description",
"FileCountUsage": 100,
"FileSystemId": "0322djegiekcia5****",
"FileSystemPath": "/test/",
"Quota": {
"FileCountLimit": 10000000,
"SizeLimit": 10737418240
},
"SpaceUsage": 1024,
"Status": "Running",
"UpdateTimeUtc": "2026-06-10T10:08:08Z"
}
]
},
"NextToken": "MTc2NTg1MTUyMzA1OTczNTc1OCM0NjQxMzQ****=",
"RequestId": "BC7C825C-5F65-4B56-BEF6-98C56C7C****"
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | IllegalCharacters | The parameter contains illegal characters. | The parameter contains illegal characters. |
| 400 | MissingFileSystemId | FileSystemId is mandatory for this action. | The FileSystemId parameter is not specified. |
| 400 | InvalidParameter.SortOrder | Invalid sort order. | Parameter SortOrder error. |
| 400 | InvalidParameter.SortOrderField | Invalid sort order field. | Parameter SortOrderField error. |
| 400 | InvalidFilesystemType.NotSupport | The API operation does not support the file system type. | The API operation does not support the file system type. |
| 403 | OperationDenied.FilesetNotSupported | The operation is not supported. | The file system does not support Fileset. |
| 404 | InvalidFileSystem.NotFound | The specified file system does not exist. | The specified file system does not exist. |
| 404 | InvalidFilterParam | The specified Filter.N.Key is invalid. | The specified Filter.N.Key parameter is invalid. |
| 404 | InvalidFilterValue | The specified Filter.N.Value is invalid. | The value of Filter.1.Value is invalid. |
| 404 | InvalidParameter.InvalidNextToken | The specified NextToken is invaild. | |
| 404 | InvalidParameter.InvalidMaxResults | The specified MaxResults is invalid. | The specified MaxResults parameter is invalid. |
| 404 | InvalidAgenticSpace.NotFound | The specified AgenticSpace is not found. | The specified AgenticSpace was not found. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.