All Products
Search
Document Center

File Storage NAS:GetAgenticSpace

Last Updated:Oct 27, 2026

Queries an Agentic space.

Operation description

Applies to Agentic file systems.

Before you begin

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

  1. Create an Agentic file system: When you call CreateFileSystem to create a file system, set the following parameters:

    • FileSystemType: Set to standard.

    • StorageType: Set to Agentic.

    • ProtocolType: Set to NFS.

    • Supported regions: The Agentic storage type is available only in specific regions and zones. Go to the NAS console to view the available regions and zones, or contact Alibaba Cloud technical support to obtain the latest list of supported regions.

  2. Create an Agentic space: After the file system is created and its status changes to Running, call the CreateAgenticSpace operation to create an Agentic space in the file system and obtain the returned AgenticSpaceId.

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:GetAgenticSpace

get

*All Resource

*

None None

Request syntax

GET  HTTP/1.1

Request parameters

Parameter

Type

Required

Description

Example

FileSystemId

string

Yes

The ID of the file system.

06229oypxjgox0u****

AgenticSpaceId

string

Yes

The AgenticSpace ID.

agentic-229oypxjgpau2****

Response elements

Element

Type

Description

Example

object

Schema of Response

RequestId

string

The ID of the request.

473469C7-AA6F-4DC5-B3DB-A3DC0D****3E

AgenticSpace

object

The Agentic space information.

FileSystemId

string

The ID of the file system.

06229oypxjgox0u****

AgenticSpaceId

string

The AgenticSpace ID.

agentic-229oypxjgpau2****

Description

string

The description of the AgenticSpace.

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 Agentic space. Valid values:

  • Running: The Agentic space is running.

  • Deleted: The Agentic space is deleted.

  • Creating: The Agentic space is being created.

  • Deleting: The Agentic space is being deleted.

  • CreateFailed: The creation of the Agentic space failed.

Running

CreateTimeUtc

string

The time when the Agentic space was created. The time is displayed in UTC and follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format.

2026-06-10T10:08:08Z

UpdateTimeUtc

string

The time when the Agentic space was updated. The time is displayed in UTC and follows the ISO 8601 standard in the yyyy-MM-ddTHH:mm:ssZ format.

2026-06-10T10:08:08Z

Quota

object

The quota information.

SizeLimit

integer

The total capacity limit of the quota. Unit: bytes. Valid values:

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

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

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

10737418240

FileCountLimit

integer

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

  • Minimum value: 10,000.

  • Maximum value: 100,000,000.

10000000

FileCountUsage

integer

The number of used files.

100

SpaceUsage

integer

The used capacity. Unit: bytes.

1024

Examples

Success response

JSON format

{
  "RequestId": "473469C7-AA6F-4DC5-B3DB-A3DC0D****3E",
  "AgenticSpace": {
    "FileSystemId": "06229oypxjgox0u****",
    "AgenticSpaceId": "agentic-229oypxjgpau2****",
    "Description": "AgenticSpace Description。",
    "FileSystemPath": "/test/",
    "Azone": "cn-hangzhou-i",
    "Status": "Running",
    "CreateTimeUtc": "2026-06-10T10:08:08Z",
    "UpdateTimeUtc": "2026-06-10T10:08:08Z",
    "Quota": {
      "SizeLimit": 10737418240,
      "FileCountLimit": 10000000
    },
    "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 InvalidAgenticSpace.NotFound The specified AgenticSpace is not found.
403 OperationDenied.FilesetNotSupported The operation is not supported. The file system does not support Fileset.
404 InvalidFileSystem.NotFound The specified filesystem does not exist. The specified file system does not exist.

See Error Codes for a complete list.

Release notes

See Release Notes for a complete list.