'1.0', 'info' => ['style' => 'ROA', 'product' => 'ModelStudio', 'version' => '2026-02-10'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'AddOrganizationMember' => [ 'path' => '/tokenplan/organization/member-additions', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'AccountName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'OrgRoleCode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SpecType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'BatchAssignSeats' => [ 'path' => '/tokenplan/subscription/seat-assignments', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'SeatType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'AccountIds', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'Locale', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'BatchRevokeSeats' => [ 'path' => '/tokenplan/subscription/seat-revocations', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Items', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'AccountId' => ['type' => 'string', 'required' => false], ], ], ], ], [ 'name' => 'Locale', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateApiKey' => [ 'path' => '/modelstudio/apikeys', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 128], ], [ 'name' => 'description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 200], ], [ 'name' => 'auth', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'type' => [ 'type' => 'string', 'required' => false, 'enum' => ['All', 'Custom'], ], 'accessIps' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'modelAccessScope' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'allowAllModels' => ['type' => 'boolean', 'required' => false], 'accessibleModels' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], ], ], 'CreateTokenPlanInviteLink' => [ 'path' => '/tokenplan/invite/link/create', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ExpireType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SsoSource', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'CreateTokenPlanKey' => [ 'path' => '/tokenplan/api-keys', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'AccountId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateWorkspace' => [ 'path' => '/modelstudio/workspaces', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 30], ], [ 'name' => 'serviceSite', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 30], ], ], ], 'DeleteApiKey' => [ 'path' => '/modelstudio/apikeys/{apiKeyId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'apiKeyId', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], 'DeleteWorkspace' => [ 'path' => '/modelstudio/workspaces/{workspaceId}', 'methods' => ['delete'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'workspaceId', 'in' => 'path', 'schema' => ['type' => 'string', 'required' => true, 'maxLength' => 64], ], ], ], 'DisableApiKey' => [ 'path' => '/modelstudio/apikeys/{apiKeyId}/disable', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'apiKeyId', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], 'EnableApiKey' => [ 'path' => '/modelstudio/apikeys/{apiKeyId}/enable', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'apiKeyId', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], 'GetApiKey' => [ 'path' => '/modelstudio/apikeys/{apiKeyId}', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'apiKeyId', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], 'GetOrganization' => [ 'path' => '/tokenplan/organization', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [], ], 'GetOrganizationMemberSeatStats' => [ 'path' => '/tokenplan/organization/member-seat-stats', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [], ], 'GetSubscriptionSeatDetails' => [ 'path' => '/tokenplan/subscription/seat-detail', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'StatusList', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'SeatId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SeatType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'QueryAssigned', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'GetSubscriptionStats' => [ 'path' => '/tokenplan/subscription/stats', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [], ], 'GetTokenPlanAccountDetail' => [ 'path' => '/tokenplan/account', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [], ], 'GetTokenPlanInviteLink' => [ 'path' => '/tokenplan/invite/link/get', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [], ], 'GetTokenPlanOrgInviteConfig' => [ 'path' => '/tokenplan/invite/config/get', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [], ], 'ListApiKeys' => [ 'path' => '/modelstudio/apikeys', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '100'], ], [ 'name' => 'workspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 64], ], [ 'name' => 'apiKeyId', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => false], ], [ 'name' => 'description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 200], ], [ 'name' => 'orderBy', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => ['apiKeyId', 'gmtCreate'], ], ], [ 'name' => 'order', 'in' => 'query', 'schema' => [ 'type' => 'string', 'required' => false, 'enum' => ['DESC', 'ASC'], ], ], ], ], 'ListOrganizationMembers' => [ 'path' => '/tokenplan/organization/members', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Status', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'HasSeat', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], [ 'name' => 'PageNum', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListSubscriptionSharedPackages' => [ 'path' => '/tokenplan/subscription/shared-packages', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'StatusList', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], 'ListWorkspaces' => [ 'path' => '/modelstudio/workspaces', 'methods' => ['get'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'nextToken', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'maxResults', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false, 'minimum' => '10', 'maximum' => '100'], ], [ 'name' => 'workspaceName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 30], ], [ 'name' => 'workspaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'maxLength' => 128], ], ], ], 'RemoveOrganizationMember' => [ 'path' => '/tokenplan/organization/member-removals', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'AccountIds', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'Locale', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'ResetApiKey' => [ 'path' => '/modelstudio/apikeys/{apiKeyId}/reset', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'apiKeyId', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], ], ], 'RevokeTokenPlanInviteLink' => [ 'path' => '/tokenplan/invite/link/revoke', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [], ], 'RotateTokenPlanKey' => [ 'path' => '/tokenplan/api-key-rotations', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ApiKeyId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'SetTokenPlanOrgInviteConfig' => [ 'path' => '/tokenplan/invite/config/set', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'DefaultRoleId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SeatAssignStrategy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'UpdateApiKey' => [ 'path' => '/modelstudio/apikeys/{apiKeyId}', 'methods' => ['put'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'apiKeyId', 'in' => 'path', 'schema' => ['type' => 'integer', 'format' => 'int64', 'required' => true], ], [ 'name' => 'description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false, 'maxLength' => 200], ], [ 'name' => 'auth', 'in' => 'formData', 'style' => 'flat', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'type' => [ 'type' => 'string', 'required' => false, 'enum' => ['All', 'Custom'], ], 'accessIps' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'modelAccessScope' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'allowAllModels' => ['type' => 'boolean', 'required' => false], 'accessibleModels' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], ], ], 'UpdateOrganization' => [ 'path' => '/tokenplan/organization', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdateOrganizationMember' => [ 'path' => '/tokenplan/organization/members/update', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'consumes' => ['application/x-www-form-urlencoded'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'AccountIds', 'in' => 'query', 'style' => 'flat', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'NewRoleCode', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], ], 'endpoints' => [ ['regionId' => 'cn-beijing', 'regionName' => '华北2(北京)', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'modelstudio.cn-beijing.aliyuncs.com', 'endpoint' => 'modelstudio.cn-beijing.aliyuncs.com', 'vpc' => 'modelstudio-vpc.cn-beijing.aliyuncs.com'], ['regionId' => 'cn-hongkong', 'regionName' => '中国香港', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'modelstudio.cn-hongkong.aliyuncs.com', 'endpoint' => 'modelstudio.cn-hongkong.aliyuncs.com', 'vpc' => 'modelstudio-vpc.cn-hongkong.aliyuncs.com'], ['regionId' => 'ap-southeast-1', 'regionName' => '新加坡', 'areaId' => 'asiaPacific', 'areaName' => '亚太', 'public' => 'modelstudio.ap-southeast-1.aliyuncs.com', 'endpoint' => 'modelstudio.ap-southeast-1.aliyuncs.com', 'vpc' => 'modelstudio-vpc.ap-southeast-1.aliyuncs.com'], ['regionId' => 'us-east-1', 'regionName' => '美国(弗吉尼亚)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'modelstudio.us-east-1.aliyuncs.com', 'endpoint' => 'modelstudio.us-east-1.aliyuncs.com', 'vpc' => 'modelstudio-vpc.us-east-1.aliyuncs.com'], ['regionId' => 'eu-central-1', 'regionName' => '德国(法兰克福)', 'areaId' => 'europeAmerica', 'areaName' => '欧洲与美洲', 'public' => 'modelstudio.eu-central-1.aliyuncs.com', 'endpoint' => 'modelstudio.eu-central-1.aliyuncs.com', 'vpc' => 'modelstudio-vpc.eu-central-1.aliyuncs.com'], ], ];