All Products
Search
Document Center

File Storage NAS:DescribeAgenticSpaces

Last Updated:Sep 03, 2026

Queries an Agentic space.

Operation description

Applicable to Agentic file systems.

Before you begin

Before you call this operation, create resources in the following order:

  1. Create an Agentic file system: Call CreateFileSystem to create a file system with the following parameters:

    • StorageType: Set to Agentic.

    • ProtocolType: Set to NFS.

    • Supported regions: The Agentic storage type is available only in specific regions and zones. Check the console for details.

  2. Query the AgenticSpace list: After the file system is created (status is Running), call this operation DescribeAgenticSpaces to query the list of AgenticSpaces in the file system.

    • If AgenticSpaces have been created in the file system, the complete list is returned.

    • If no AgenticSpaces have been created in the file system, an empty list is returned.

Try it now

Try this API in OpenAPI Explorer, no manual signing needed. Successful calls auto-generate SDK code matching your parameters. Download it with built-in credential security for local usage.

Test

RAM authorization

The table below describes the authorization required to call this API. You can define it in a Resource Access Management (RAM) policy. The table's columns are detailed below:

  • Action: The actions can be used in the Action element of RAM permission policy statements to grant permissions to perform the operation.

  • API: The API that you can call to perform the action.

  • Access level: The predefined level of access granted for each API. Valid values: create, list, get, update, and delete.

  • Resource type: The type of the resource that supports authorization to perform the action. It indicates if the action supports resource-level permission. The specified resource must be compatible with the action. Otherwise, the policy will be ineffective.

    • For APIs with resource-level permissions, required resource types are marked with an asterisk (*). Specify the corresponding Alibaba Cloud Resource Name (ARN) in the Resource element of the policy.

    • For APIs without resource-level permissions, it is shown as All Resources. Use an asterisk (*) in the Resource element of the policy.

  • Condition key: The condition keys defined by the service. The key allows for granular control, applying to either actions alone or actions associated with specific resources. In addition to service-specific condition keys, Alibaba Cloud provides a set of common condition keys applicable across all RAM-supported services.

  • Dependent action: The dependent actions required to run the action. To complete the action, the RAM user or the RAM role must have the permissions to perform all dependent actions.

Action

Access level

Resource type

Condition key

Dependent action

nas:DescribeAgenticSpaces

list

*FileSystem

acs:nas:{#regionId}:{#accountId}:filesystem/{#FileSystemId}

None None

Request parameters

Parameter

Type

Required

Description

Example

FileSystemId

string

Yes

The file system ID.

1ca404****

Filters

array<object>

No

The collection of filter conditions.

object

No

The filter condition.

Key

string

No

The name of the filter key. Valid values:

  • AgenticSpaceIds

Valid values:

  • AgenticSpaceIds :

    The filter name for a collection of AgenticSpace IDs.

AgenticSpaceIds

Value

string

No

The value of the filter key. Wildcards are not supported.

  • AgenticSpaceIds: Only a single ID can be specified.

06229oypxjgox0u****

NextToken

string

No

The pagination token. Set this parameter to the value of NextToken that is returned in the previous API call.

MTc3OTkzNTA0Mjg0NTc1MDI4OCM0MDQ0MzA****=

MaxResults

integer

No

The number of results per query.

Valid values: 10 to 100. Default value: 20.

20

Response elements

Element

Type

Description

Example

object

RequestId

string

The request ID.

BC7C825C-5F65-4B56-BEF6-98C56C7C****

NextToken

string

The pagination token. Set this parameter to the value of NextToken that is returned in the previous API call.

MTc2NTg1MTUyMzA1OTczNTc1OCM0NjQxMzQ****=

AgenticSpaces

object

AgenticSpace

array<object>

The AgenticSpace information.

array<object>

The AgenticSpace information.

FileSystemId

string

The file system ID.

0322djegiekcia5****

AgenticSpaceId

string

AgenticSpace Id。

agentic-229oypxjgpau2****

Description

string

The description of the AgenticSpace.

Description

FileSystemPath

string

The absolute path of the file.

/test/

Azone

string

The zone ID.

cn-hangzhou-i

Status

string

The status of the AgenticSpace. Valid values:

  • Running

Running

CreateTimeUtc

string

The time when the AgenticSpace was created. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format.

2026-06-10T10:08:08Z

UpdateTimeUtc

string

The time when the AgenticSpace was last updated. The time follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format.

2026-06-10T10:08:08Z

Quota

object

The quota information.

FileCountLimit

integer

The maximum number of files allowed by the quota. Valid values:

  • Minimum value: 10,000.

  • Maximum value: 100,000,000.

10000000

SizeLimit

integer

The maximum total capacity allowed by the quota. Unit: bytes.

Valid values:

  • Minimum value: 10,737,418,240 (10 GiB).

  • Maximum value: 1,099,511,627,776,000 (1,024,000 GiB).

  • Increment: 1,073,741,824 (1 GiB).

10737418240

FileCountUsage

integer

The number of files used.

100

SpaceUsage

integer

The capacity used. Unit: bytes.

1024

Examples

Success response

JSON format

{
  "RequestId": "BC7C825C-5F65-4B56-BEF6-98C56C7C****",
  "NextToken": "MTc2NTg1MTUyMzA1OTczNTc1OCM0NjQxMzQ****=",
  "AgenticSpaces": {
    "AgenticSpace": [
      {
        "FileSystemId": "0322djegiekcia5****",
        "AgenticSpaceId": "agentic-229oypxjgpau2****",
        "Description": "Description",
        "FileSystemPath": "/test/",
        "Azone": "cn-hangzhou-i",
        "Status": "Running",
        "CreateTimeUtc": "2026-06-10T10:08:08Z",
        "UpdateTimeUtc": "2026-06-10T10:08:08Z",
        "Quota": {
          "FileCountLimit": 10000000,
          "SizeLimit": 10737418240
        },
        "FileCountUsage": 100,
        "SpaceUsage": 1024
      }
    ]
  }
}

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 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.