All Products
Search
Document Center

Platform For AI:DatasetShareRelationship

Last Updated:Jan 29, 2026

Parameter

Type

Description

Example

object

The configuration for sharing a dataset.

Status

string

The status of the sharing relationship.

  • ACTIVE: The sharing relationship is active. Complete dataset information is displayed only in this state.

  • EXPIRED: The sharing relationship has expired.

  • REVOKED: The sharing relationship was revoked by the sharer.

  • INVALID: The sharing relationship is invalid. This can happen if the source dataset is deleted.

ACTIVE

SourceTenantId

string

The ID of the tenant that owns the source dataset. The user who shares the dataset must be a workspace administrator or the root account.

148***************115

SourceWorkspaceId

string

The ID of the workspace that contains the source dataset.

33**19

TenantId

string

The ID of the target tenant. This must be a root account ID.

Note

This parameter is required when you set a sharing relationship.

153***************249

WorkspaceId

string

The ID of the target workspace. This ID must be different from the source workspace ID.

Note

This parameter is required when you set a sharing relationship.

42**2

IsSecureMode

boolean

Specifies whether to enable security protection for the shared dataset.

true

SharedAt

string

The time when the dataset was shared. The time is in ISO 8601 format.

2025-08-27T12:23:58Z

ExpiresAt

string

The expiration time. The time is in ISO 8601 format.

Note

If you do not specify this parameter, the sharing relationship never expires.

2026-08-27T12:23:58Z

AllowedMountAccessLevels

array

The allowed permissions for the shared dataset. When a user accesses the shared dataset, their permissions are limited to this list. The default value is `["RO"]`.

  • RO: Read-only permission. The recipient can only read the dataset.

  • RW: Read and write permission. The recipient can read and modify the dataset.

string

The dataset permission.

RO

Extra

string

Additional configurations for the sharing relationship. This parameter is a JSON string.

  • AllowExportModel: Specifies whether to allow the export of trained models.

  • AllowAccessDLCWebTerminal: Specifies whether to allow users to log on to the container in a DLC task.

  • AllowAccessDLCFullLog: Specifies whether to allow access to the full task logs.

{"AllowExportModel":false,"AllowAccessDLCWebTerminal":false,"AllowAccessDLCFullLog":false}