diff options
Diffstat (limited to 'data/en_us/paifeaturestore/2023-06-21/api-docs.php')
| -rw-r--r-- | data/en_us/paifeaturestore/2023-06-21/api-docs.php | 13407 |
1 files changed, 5846 insertions, 7561 deletions
diff --git a/data/en_us/paifeaturestore/2023-06-21/api-docs.php b/data/en_us/paifeaturestore/2023-06-21/api-docs.php index 0601a1b..9cb4f31 100644 --- a/data/en_us/paifeaturestore/2023-06-21/api-docs.php +++ b/data/en_us/paifeaturestore/2023-06-21/api-docs.php @@ -1,196 +1,115 @@ <?php return [ 'version' => '1.0', - 'info' => [ - 'style' => 'ROA', - 'product' => 'PaiFeatureStore', - 'version' => '2023-06-21', - ], + 'info' => ['style' => 'ROA', 'product' => 'PaiFeatureStore', 'version' => '2023-06-21'], 'directories' => [ [ - 'id' => 185367, - 'title' => 'Instance management', + 'children' => ['CheckInstanceDatasource'], 'type' => 'directory', - 'children' => [ - 'CreateInstance', - 'ListInstances', - 'GetInstance', - 'CheckInstanceDatasource', - ], + 'title' => 'Instance management', ], [ - 'id' => 185387, - 'title' => 'Data source management', + 'children' => ['ListDatasourceFeatureViews', 'ListDatasourceTables', 'GetDatasourceTable'], 'type' => 'directory', - 'children' => [ - 'CreateDatasource', - 'ListDatasources', - 'GetDatasource', - 'UpdateDatasource', - 'DeleteDatasource', - 'ListDatasourceFeatureViews', - 'ListDatasourceTables', - 'GetDatasourceTable', - ], + 'title' => 'Data source management', ], [ - 'id' => 221141, - 'title' => 'Large model configuration information management', + 'children' => ['CreateLLMConfig', 'ListLLMConfigs', 'GetLLMConfig', 'UpdateLLMConfig', 'DeleteLLMConfig'], 'type' => 'directory', - 'children' => [ - 'CreateLLMConfig', - 'ListLLMConfigs', - 'GetLLMConfig', - 'UpdateLLMConfig', - 'DeleteLLMConfig', - ], + 'title' => 'Foundation model configuration management', ], [ - 'id' => 185372, - 'title' => 'Project Management', + 'children' => ['ListProjectFeatures', 'ListProjectFeatureViews', 'GetProjectFeatureEntity'], 'type' => 'directory', - 'children' => [ - 'CreateProject', - 'ListProjects', - 'GetProject', - 'UpdateProject', - 'DeleteProject', - 'ListProjectFeatures', - 'ListProjectFeatureViews', - 'GetProjectFeatureEntity', - ], + 'title' => 'Project management', ], [ - 'id' => 185395, - 'title' => 'Feature entity', + 'children' => ['CreateFeatureEntity', 'ListFeatureEntities', 'GetFeatureEntity', 'DeleteFeatureEntity'], 'type' => 'directory', - 'children' => [ - 'CreateFeatureEntity', - 'ListFeatureEntities', - 'GetFeatureEntity', - 'DeleteFeatureEntity', - ], + 'title' => 'Feature entity', ], [ - 'id' => 185400, - 'title' => 'Feature View', + 'children' => ['CreateFeatureView', 'ListFeatureViews', 'GetFeatureView', 'UpdateFeatureView', 'DeleteFeatureView', 'PublishFeatureViewTable', 'WriteFeatureViewTable', 'ListFeatureViewOnlineFeatures', 'ListFeatureViewRelationships', 'ListFeatureViewFieldRelationships'], 'type' => 'directory', - 'children' => [ - 'CreateFeatureView', - 'ListFeatureViews', - 'GetFeatureView', - 'DeleteFeatureView', - 'PublishFeatureViewTable', - 'WriteFeatureViewTable', - 'ListFeatureViewOnlineFeatures', - 'ListFeatureViewRelationships', - 'ListFeatureViewFieldRelationships', - ], + 'title' => 'Feature view', ], [ - 'id' => 185409, + 'children' => ['CreateLabelTable', 'ListLabelTables', 'GetLabelTable', 'UpdateLabelTable', 'DeleteLabelTable'], + 'type' => 'directory', 'title' => 'Label table', + ], + [ + 'children' => ['CreateModelFeature', 'ListModelFeatures', 'GetModelFeature', 'UpdateModelFeature', 'DeleteModelFeature', 'ExportModelFeatureTrainingSetTable', 'ListModelFeatureAvailableFeatures', 'UpdateModelFeatureFGFeature', 'GetModelFeatureFGFeature', 'GetModelFeatureFGInfo', 'CheckModelFeatureFGFeature'], 'type' => 'directory', - 'children' => [ - 'CreateLabelTable', - 'ListLabelTables', - 'GetLabelTable', - 'UpdateLabelTable', - 'DeleteLabelTable', - ], + 'title' => 'Model feature', ], [ - 'id' => 185415, - 'title' => 'Model Features', + 'children' => ['StopTask', 'ListTaskLogs'], 'type' => 'directory', - 'children' => [ - 'CreateModelFeature', - 'ListModelFeatures', - 'GetModelFeature', - 'UpdateModelFeature', - 'DeleteModelFeature', - 'ExportModelFeatureTrainingSetTable', - 'ListModelFeatureAvailableFeatures', - 'UpdateModelFeatureFGFeature', - 'GetModelFeatureFGFeature', - 'GetModelFeatureFGInfo', - 'CheckModelFeatureFGFeature', - ], + 'title' => 'Task management', ], [ - 'id' => 185422, - 'title' => 'Task Management', + 'children' => ['CreateServiceIdentityRole', 'GetServiceIdentityRole'], 'type' => 'directory', - 'children' => [ - 'ListTasks', - 'GetTask', - 'StopTask', - 'ListTaskLogs', - ], + 'title' => 'Service account role', ], [ - 'id' => 185364, - 'title' => 'Service Account Role', + 'children' => ['CreateDatasource', 'CreateInstance', 'CreateProject', 'DeleteDatasource', 'DeleteProject', 'GetDatasource', 'GetInstance', 'GetProject', 'GetTask', 'ListDatasources', 'ListInstances', 'ListProjects', 'ListTasks', 'UpdateDatasource', 'UpdateProject'], + 'title' => 'Others', 'type' => 'directory', - 'children' => [ - 'CreateServiceIdentityRole', - 'GetServiceIdentityRole', - ], ], ], 'components' => [ 'schemas' => [], ], 'apis' => [ - 'CreateInstance' => [ - 'summary' => '创建Feature Store实例。', - 'path' => '/api/v1/instances', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CheckInstanceDatasource' => [ + 'summary' => 'Tests connectivity to a data source.', + 'path' => '/api/v1/instances/{InstanceId}/action/checkdatasource', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188081', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '190554', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['description' => 'The instance ID. You can get it from the ListInstances API.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], + ], + [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body.', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => '实例类型。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Basic', - ], + 'Type' => ['description' => 'The data source type.'."\n" + ."\n" + .'- Hologres'."\n" + ."\n" + .'- Redis'."\n" + ."\n" + .'- MaxCompute', 'type' => 'string', 'required' => true, 'example' => 'Hologres', 'title' => ''], + 'Uri' => ['description' => 'The resource URI.', 'type' => 'string', 'required' => true, 'example' => 'igraph1', 'title' => ''], + 'Config' => ['description' => 'The resource configuration.', 'type' => 'string', 'example' => '{"address": ""}', 'title' => '', 'required' => false], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -201,127 +120,71 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6', - ], - 'InstanceId' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'featureStore-cn-7mz2xfu****', - ], - 'Code' => [ - 'title' => '错误码', - 'description' => '', - 'type' => 'string', - 'example' => 'InstanceAlreadyExistsErrorProblem', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA'], + 'Status' => ['description' => 'The resource check status.'."\n" + ."\n" + .'- Success: succeeded'."\n" + ."\n" + .'- Failure: failed', 'type' => 'string', 'example' => 'Success', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"Status\\": \\"Success\\"\\n}","type":"json"}]', + 'title' => 'Check the connectivity of a data source', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckInstanceDatasource'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:CheckInstanceDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\",\\n \\"InstanceId\\": \\"featureStore-cn-7mz2xfu****\\",\\n \\"Code\\": \\"InstanceAlreadyExistsErrorProblem\\"\\n}","type":"json"}]', ], - 'ListInstances' => [ - 'summary' => '获取Feature Store实例列表。', - 'path' => '/api/v1/instances', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CheckModelFeatureFGFeature' => [ + 'summary' => 'Verify that the FG configuration is correct and meets all rules.', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/action/checkfgfeature', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188082', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '205450', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'title' => '状态过滤。'."\n" - .'● Initializing-初始化中。'."\n" - .'● Running-运行中。'."\n" - .'● Failure-创建失败。', - 'type' => 'string', - 'example' => 'Running', - ], - ], - [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。'."\n" - .'● GmtCreateTime-创建时间。'."\n" - .'● GmtModifiedTime-更新时间。', - 'type' => 'string', - 'example' => 'GmtCreateTime', - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['description' => 'The instance ID. You can get it from the ListInstances API.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。'."\n" - .'● ASC-升序。'."\n" - .'● DESC-降序。', - 'type' => 'string', - 'example' => 'DESC', - ], + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['description' => 'The model feature ID. You can get it from the ListModelFeatures API.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], ], 'responses' => [ @@ -331,145 +194,117 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '2CA11923-2A3D-5E5A-8314-E699D2DD15DE', - ], - 'TotalCount' => [ - 'title' => '列表内元素总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Instances' => [ - 'title' => '实例列表。', - 'description' => '', + 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'ED4DEA2F-F216-57F0-AE28-08D791233280'], + 'FGCheckResults' => [ + 'title' => '', + 'description' => 'The FG configuration check results.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'InstanceId' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'featureStore-cn-7mz2xfu****', - ], - 'Type' => [ - 'title' => '实例类型。'."\n" - .'● Basic-基础版', - 'description' => '', - 'type' => 'string', - 'example' => 'Basic', - ], - 'Status' => [ - 'title' => '状态。'."\n" - .'● Initializing-初始化中。'."\n" - .'● Running-运行中。'."\n" - .'● Stopped-停止服务。', - 'description' => '', - 'type' => 'string', - 'example' => 'Initializing', - ], - 'RegionId' => [ - 'title' => '所属区域。'."\n" - .'● cn-hangzhou'."\n" - .'● cn-beijing'."\n" - .'● cn-shanghai'."\n" - .'● cn-shenzhen', - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '', + 'RuleCode' => [ + 'description' => 'The rule code for the check.'."\n" + ."\n" + .'- SeqSubEx—Are the sub-features of sequence features in the FG present in the model feature?'."\n" + ."\n" + .'- LookupKeyEx—Does the lookup key feature of query features exist in the model feature?'."\n" + ."\n" + .'- FGSetEx—Are all FG features present in the model feature?'."\n" + ."\n" + .'- ModelSetEx—Are all model feature features present in the FG?', + 'enumValueTitles' => [], 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'FeatureDBInstanceInfo' => [ - 'title' => '已废弃。请通过 FeatureDBInfo 获取FeatureDB实例信息。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'title' => '状态。', - 'type' => 'string', - ], - ], - 'deprecated' => true, - ], - 'FeatureDBInfo' => [ - 'title' => 'FeatureDB实例信息。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'title' => '状态。', - 'type' => 'string', - ], - ], + 'example' => 'SeqSubEx', + 'title' => '', ], + 'Status' => ['description' => 'Whether the rule passes.', 'type' => 'boolean', 'title' => '', 'example' => 'True'], + 'Message' => ['description' => 'The error message.', 'type' => 'string', 'example' => 'f1[1]: these lookup_features\'s LookupValueFeature(key) not exist in model features', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ED4DEA2F-F216-57F0-AE28-08D791233280\\",\\n \\"FGCheckResults\\": [\\n {\\n \\"RuleCode\\": \\"SeqSubEx\\",\\n \\"Status\\": true,\\n \\"Message\\": \\"f1[1]: these lookup_features\'s LookupValueFeature(key) not exist in model features\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Check whether the FG configuration of model features is correct', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckModelFeatureFGFeature'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:CheckModelFeatureFGFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CA11923-2A3D-5E5A-8314-E699D2DD15DE\\",\\n \\"TotalCount\\": 10,\\n \\"Instances\\": [\\n {\\n \\"InstanceId\\": \\"featureStore-cn-7mz2xfu****\\",\\n \\"Type\\": \\"Basic\\",\\n \\"Status\\": \\"Initializing\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"FeatureDBInstanceInfo\\": {\\n \\"Status\\": \\"\\"\\n },\\n \\"FeatureDBInfo\\": {\\n \\"Status\\": \\"\\"\\n }\\n }\\n ]\\n}","type":"json"}]', ], - 'GetInstance' => [ - 'summary' => '获取实例详细信息', - 'path' => '/api/v1/instances/{InstanceId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'CreateDatasource' => [ + 'summary' => 'Registers a datasource in a FeatureStore instance. A datasource provides offline or online storage for a project.', + 'path' => '/api/v1/instances/{InstanceId}/datasources', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '190265', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', + 'schema' => ['description' => 'The ID of the instance. Call the ListInstances operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => 'featureStore-cn-test1', 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the datasource.', 'type' => 'string', 'required' => true, 'example' => 'datasource1', 'title' => ''], + 'WorkspaceId' => ['description' => 'The ID of the workspace. Call the [ListWorkspaces](~~449124~~) operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => '234', 'title' => ''], + 'Type' => ['description' => 'The datasource type. Valid values are:'."\n" + ."\n" + .'● Hologres'."\n" + ."\n" + .'● GraphCompute'."\n" + ."\n" + .'● Redis'."\n" + ."\n" + .'● MaxCompute', 'type' => 'string', 'required' => true, 'example' => 'Hologres', 'title' => ''], + 'Uri' => ['description' => 'The URI of the resource.', 'type' => 'string', 'required' => true, 'example' => 'igraph_instance1', 'title' => ''], + 'Config' => ['description' => 'The configuration of the resource.', 'type' => 'string', 'example' => '{"address": ""}', 'title' => '', 'required' => false], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -477,171 +312,83 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response schema.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '1C5B1511-8A5B-59C3-90AF-513F9210E882', - ], - 'Status' => [ - 'title' => '状态。'."\n" - .'● Initializing-初始化中。'."\n" - .'● Running-运行中。'."\n" - .'● Failure-创建失败。'."\n" - .'● Stopped-停止服务。', - 'description' => '', - 'type' => 'string', - 'example' => 'Running', - ], - 'RegionId' => [ - 'title' => '所属区域。', - 'description' => '', - 'type' => 'string', - 'example' => 'cn-hangzhou', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'Progress' => [ - 'title' => '实例生产进度。', - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.8', - ], - 'Message' => [ - 'title' => '实例生产日志信息。', - 'description' => '', - 'type' => 'string', - 'example' => 'Success', - ], - 'Type' => [ - 'title' => '实例类型。', - 'description' => '', - 'type' => 'string', - 'example' => 'Basic', - ], - 'FeatureDBInstanceInfo' => [ - 'title' => '已废弃。请通过 FeatureDBInfo 获取FeatureDB实例信息。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'title' => '状态。', - 'type' => 'string', - ], - ], - 'deprecated' => true, - ], - 'FeatureDBInfo' => [ - 'title' => 'FeatureDB实例信息。', - 'type' => 'object', - 'properties' => [ - 'Status' => [ - 'title' => '状态。', - 'type' => 'string', - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => '1C5B1511-8A5B-59C3-90AF-513F9210E882'], + 'DatasourceId' => ['description' => 'The ID of the datasource.', 'type' => 'string', 'example' => '3', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1C5B1511-8A5B-59C3-90AF-513F9210E882\\",\\n \\"DatasourceId\\": \\"3\\"\\n}","type":"json"}]', + 'title' => 'Create a data source', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1C5B1511-8A5B-59C3-90AF-513F9210E882\\",\\n \\"Status\\": \\"Running\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"Progress\\": 0.8,\\n \\"Message\\": \\"Success\\",\\n \\"Type\\": \\"Basic\\",\\n \\"FeatureDBInstanceInfo\\": {\\n \\"Status\\": \\"\\"\\n },\\n \\"FeatureDBInfo\\": {\\n \\"Status\\": \\"\\"\\n }\\n}","type":"json"}]', - ], - 'CheckInstanceDatasource' => [ - 'summary' => '检测资源连接状态。', - 'path' => '/api/v1/instances/{InstanceId}/action/checkdatasource', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDatasource'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateFeatureEntity' => [ + 'summary' => 'Creates a feature entity. A feature entity defines a join key that links multiple feature views to it, enabling feature joining.', + 'path' => '/api/v1/instances/{InstanceId}/featureentities', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '190554', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. To get this ID, call the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'The request body.', 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => '数据源类型。'."\n" - .'● Hologres'."\n" - .'● GraphCompute'."\n" - .'● Redis'."\n" - .'● MaxCompute', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Hologres', - ], - 'Uri' => [ - 'title' => '资源地址。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'igraph1', - ], - 'Config' => [ - 'title' => '资源配置。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '{"address": ""}', - ], + 'JoinId' => ['description' => 'The join key that links feature views to the feature entity.', 'type' => 'string', 'required' => true, 'example' => 'user_id ', 'title' => ''], + 'Name' => ['description' => 'The feature entity name.', 'type' => 'string', 'required' => true, 'example' => 'feature_entity_1', 'title' => ''], + 'ProjectId' => ['description' => 'The project ID. To get this ID, call the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + 'ParentFeatureEntityId' => ['title' => 'Parent feature entity ID.', 'description' => 'The parent feature entity ID.', 'type' => 'string', 'example' => '1', 'required' => false], ], 'required' => false, + 'example' => '', ], ], ], @@ -649,665 +396,940 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA', - ], - 'Status' => [ - 'title' => '资源检测状态。'."\n" - .'● Success-成功。'."\n" - .'● Failure-失败。', - 'description' => '', - 'type' => 'string', - 'example' => 'Success', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8'], + 'FeatureEntityId' => ['description' => 'The feature entity ID.', 'type' => 'string', 'example' => '3', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"FeatureEntityId\\": \\"3\\"\\n}","type":"json"}]', + 'title' => 'Create a feature entity', + 'changeSet' => [ + ['createdAt' => '2025-11-17T06:07:04.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"Status\\": \\"Success\\"\\n}","type":"json"}]', - ], - 'CreateDatasource' => [ - 'summary' => '创建数据源。', - 'path' => '/api/v1/instances/{InstanceId}/datasources', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFeatureEntity'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'CreateFeatureView' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureviews', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188527', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'featureStore-cn-test1', - ], + 'schema' => ['title' => '', 'description' => 'The instance ID. You can call the ListInstances operation to obtain the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'title' => '', + 'description' => 'The request body.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '数据源名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'datasource1', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '234', - ], - 'Type' => [ - 'title' => '数据源类型。'."\n" - .'● FeatureDB'."\n" - .'● Hologres'."\n" - .'● MaxCompute'."\n" - .'● TableStore', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Hologres', - ], - 'Uri' => [ - 'title' => '资源地址。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'igraph_instance1', + 'ProjectId' => ['title' => '', 'description' => 'The project ID.', 'type' => 'string', 'required' => true, 'example' => '3'], + 'FeatureEntityId' => ['title' => '', 'description' => 'The feature entity ID.', 'type' => 'string', 'example' => '4', 'required' => false], + 'Name' => ['title' => '', 'description' => 'The feature view name.', 'type' => 'string', 'required' => true, 'example' => 'FeatureView1'], + 'Type' => ['title' => '', 'description' => 'The type. Valid values:'."\n" + ."\n" + .'- Batch: batch feature'."\n" + .'- Stream: stream feature', 'type' => 'string', 'required' => true, 'example' => 'Batch'], + 'WriteMethod' => ['title' => '', 'description' => 'The write method. Valid values:'."\n" + ."\n" + .'- ByReadyMadeTable: Register by using an existing table.'."\n" + .'- Custom: Custom table schema.', 'type' => 'string', 'required' => true, 'example' => 'Custom'], + 'WriteToFeatureDB' => ['title' => '', 'description' => 'Specifies whether to write data to the online managed store. Valid values:'."\n" + ."\n" + .'- true: Yes.'."\n" + .'- false: No.', 'type' => 'boolean', 'required' => false, 'example' => 'false'], + 'RegisterTable' => ['title' => '', 'description' => 'The name of the registered table.', 'type' => 'string', 'example' => 'table1', 'required' => false], + 'RegisterDatasourceId' => ['title' => '', 'description' => 'The ID of the data source where the registered table resides. You can call the ListDatasources operation to obtain the data source ID.', 'type' => 'string', 'example' => '5', 'required' => false], + 'SyncOnlineTable' => ['title' => '', 'description' => 'Specifies whether to synchronize the online feature table. Valid values:'."\n" + ."\n" + .'- true: Yes.'."\n" + .'- false: No.', 'type' => 'boolean', 'required' => true, 'example' => 'true'], + 'TTL' => ['title' => '', 'description' => 'The time to live (TTL), in days.', 'type' => 'integer', 'format' => 'int32', 'example' => '90', 'required' => false], + 'Tags' => [ + 'title' => '', + 'description' => 'The list of tags.', + 'type' => 'array', + 'items' => ['description' => 'The tag of the feature view.', 'type' => 'string', 'required' => false, 'example' => 'label1', 'title' => ''], + 'required' => false, + 'example' => '', ], - 'Config' => [ - 'title' => '资源配置。', - 'description' => '', - 'type' => 'string', + 'Config' => ['title' => '', 'description' => 'The feature view configuration.', 'type' => 'string', 'example' => '{"save_original_field":true}', 'required' => false], + 'Fields' => [ + 'title' => '', + 'description' => 'The list of fields.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '', 'description' => 'The field name.', 'type' => 'string', 'required' => false, 'example' => 'age'], + 'Type' => ['title' => '', 'description' => 'The field type. Valid values:'."\n" + ."\n" + .'- INT32'."\n" + .'- INT64'."\n" + .'- FLOAT'."\n" + .'- DOUBLE'."\n" + .'- STRING'."\n" + .'- BOOLEAN'."\n" + .'- TIMESTAMP', 'type' => 'string', 'example' => 'INT32', 'required' => false], + 'Attributes' => [ + 'title' => '', + 'description' => 'The list of field attributes. Valid values:'."\n" + ."\n" + .'- Partition: partition field'."\n" + .'- PrimaryKey: primary key'."\n" + .'- EventTime: event time', + 'type' => 'array', + 'items' => ['description' => 'The field attribute.', 'type' => 'string', 'required' => false, 'example' => 'Partition', 'title' => ''], + 'required' => false, + 'example' => '', + ], + 'Transform' => [ + 'title' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['title' => '', 'type' => 'string', 'example' => 'LLMEmbedding', 'description' => '', 'required' => false], + 'LLMConfigId' => ['title' => '', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'description' => '', 'required' => false], + 'Input' => [ + 'title' => '', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '', 'type' => 'string', 'example' => 'f1', 'description' => '', 'required' => false], + 'Type' => ['title' => '', 'type' => 'string', 'example' => 'STRING', 'description' => '', 'required' => false], + 'Modality' => [ + 'type' => 'string', + 'enum' => ['NONE', 'TEXT', 'IMAGE', 'VIDEO', 'MULTI_IMAGES'], + 'description' => '', + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'description' => '', + 'example' => '', + ], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'description' => '', + 'example' => '', + ], + 'Dimension' => ['type' => 'integer', 'format' => 'int32', 'description' => '', 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => '{"address": ""}', + 'example' => '', ], ], 'required' => false, + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', + 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '1C5B1511-8A5B-59C3-90AF-513F9210E882', - ], - 'DatasourceId' => [ - 'title' => '数据源ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8'], + 'FeatureViewId' => ['title' => '', 'description' => 'The feature view ID.', 'type' => 'string', 'example' => '3'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create a feature view', + 'summary' => 'Creates a feature view. Three types of feature views are supported: batch, stream, and behavior sequence. A feature view defines the feature structure through fields and is associated with a feature entity.', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2025-05-14T07:57:55.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-25T06:53:33.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1C5B1511-8A5B-59C3-90AF-513F9210E882\\",\\n \\"DatasourceId\\": \\"3\\"\\n}","type":"json"}]', - ], - 'ListDatasources' => [ - 'summary' => '获取数据源列表。', - 'path' => '/api/v1/instances/{InstanceId}/datasources', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFeatureView'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"FeatureViewId\\": \\"3\\"\\n}","type":"json"}]', + ], + 'CreateInstance' => [ + 'summary' => 'Creates a FeatureStore instance. This operation is idempotent. If an instance is already running or initializing in the same account, this operation returns the existing instance ID.', + 'path' => '/api/v1/instances', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188081', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'featureStore-cn-XXXXXXX', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The instance type. The only supported value is `Basic`.', 'type' => 'string', 'example' => 'Basic', 'title' => '', 'required' => false], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'WorkspaceId', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '工作空间ID。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '234', + 'title' => 'Schema of Response', + 'description' => 'The response object', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6'], + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'featureStore-cn-7mz2xfu****', 'title' => ''], + 'Code' => ['description' => 'The error code.', 'type' => 'string', 'example' => 'InstanceAlreadyExistsErrorProblem', 'title' => ''], + ], + 'example' => '', ], ], - [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'title' => '数据源类型。'."\n" - .'● FeatureDB'."\n" - .'● Hologres'."\n" - .'● MaxCompute'."\n" - .'● TableStore', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'MaxCompute', + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\",\\n \\"InstanceId\\": \\"featureStore-cn-7mz2xfu****\\",\\n \\"Code\\": \\"InstanceAlreadyExistsErrorProblem\\"\\n}","type":"json"}]', + 'title' => 'Create Instance', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstance'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'CreateLLMConfig' => [ + 'summary' => 'Creates an LLM configuration that contains the call parameters and API key for an embedding model. During creation, the service validates the ApiKey and Model. For a DashScope model, the EmbeddingDimension must match one of the fixed, valid dimensions supported by the model.', + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs', + 'methods' => ['post'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '数据源名称模糊过滤。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'datasource1', - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ [ - 'name' => 'PageSize', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '页大小。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the LLM configuration.', 'type' => 'string', 'required' => true, 'example' => 'llm_config1', 'title' => ''], + 'Model' => ['description' => 'The name of the model.', 'type' => 'string', 'required' => true, 'example' => 'text-embedding-v1', 'title' => ''], + 'ApiKey' => ['description' => 'The API key for the model.', 'type' => 'string', 'required' => true, 'example' => 'api-xyz', 'title' => ''], + 'BaseUrl' => ['description' => 'The base URL of the model service.', 'type' => 'string', 'required' => false, 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1', 'title' => ''], + 'Rps' => ['description' => 'The number of requests per second.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => '', 'required' => false], + 'MaxTokens' => ['description' => 'The maximum number of input tokens.', 'type' => 'integer', 'format' => 'int32', 'example' => '8192', 'title' => '', 'required' => false], + 'BatchSize' => ['description' => 'The batch size.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => '', 'required' => false], + 'WorkspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'required' => true, 'example' => '234', 'title' => ''], + 'EmbeddingDimension' => ['description' => 'The embedding dimension. For a DashScope model, this value must match one of the fixed, valid dimensions supported by the model.', 'type' => 'integer', 'format' => 'int32', 'example' => '1024', 'title' => ''], + 'ModelType' => [ + 'type' => 'string', + 'default' => 'TEXT_EMBEDDING', + 'enum' => ['TEXT_EMBEDDING', 'MULTI_MODAL_EMBEDDING'], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'EnableFusion' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], + ], 'required' => false, - 'example' => '10', + 'description' => 'The LLM configuration object.', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'PageNumber', - 'in' => 'query', + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['description' => 'The instance ID. You can obtain this value by calling the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'featureStore-cn-test1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '页码。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + 'title' => 'Schema of Response', + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'DD19A0E2-0DC8-5EAA-867D-00C813F553F9'], + 'LLMConfigId' => ['description' => 'The ID of the LLM configuration.', 'type' => 'string', 'example' => 'llm_config1', 'title' => ''], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD19A0E2-0DC8-5EAA-867D-00C813F553F9\\",\\n \\"LLMConfigId\\": \\"llm_config1\\"\\n}","type":"json"}]', + 'title' => 'Create LLM Configuration Information', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLLMConfig'], + ], + ], + 'ramActions' => [ [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Asc', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'CreateLabelTable' => [ + 'summary' => 'Creates a label table. A label table defines the schema for label data referenced by model features.', + 'path' => '/api/v1/instances/{InstanceId}/labeltables', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtModifiedTime', - ], + 'AK' => [], ], ], - 'responses' => [ - 200 => [ + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['description' => 'The instance ID. Call the ListInstances operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => 'featurestore-test1', 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The request body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '44933189-493B-5C43-A5C6-11EEC2A43520', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Datasources' => [ - 'title' => '数据源列表。', - 'description' => '', + 'ProjectId' => ['description' => 'The project ID. Call the ListProjects operation to obtain this ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '3'], + 'Name' => ['description' => 'The name of the label table.', 'type' => 'string', 'required' => true, 'example' => 'rec_test', 'title' => ''], + 'DatasourceId' => ['description' => 'The ID of the data source that contains the label table. Call the ListDatasources operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + 'Fields' => [ + 'title' => '', + 'description' => 'The field list.', 'type' => 'array', 'items' => [ + 'description' => 'A field in the list.', 'type' => 'object', 'properties' => [ - 'DatasourceId' => [ - 'title' => '数据源ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'Name' => [ - 'title' => '数据源名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'datasource1', - ], + 'Name' => ['description' => 'The name of the field.', 'type' => 'string', 'required' => true, 'example' => 'lat', 'title' => ''], 'Type' => [ - 'title' => '数据源类型。'."\n" - .'● FeatureDB'."\n" - .'● Hologres'."\n" - .'● MaxCompute'."\n" - .'● TableStore', - 'description' => '', - 'type' => 'string', - 'example' => 'Hologres', - ], - 'Uri' => [ - 'title' => '资源地址。', - 'description' => '', - 'type' => 'string', - 'example' => 'igraph_instance1', - ], - 'Config' => [ - 'title' => '资源配置。', - 'description' => '', + 'description' => 'The data type of the field.', 'type' => 'string', - 'example' => '{"address": ""}', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', + 'required' => true, + 'example' => 'INT32', + 'enum' => ['INT32', 'INT64', 'FLOAT', 'DOUBLE', 'STRING', 'BOOLEAN', 'TIMESTAMP'], + 'title' => '', ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '', - 'type' => 'string', - 'example' => '32324', + 'Attributes' => [ + 'title' => '', + 'description' => 'The field attributes. Valid values include:'."\n" + ."\n" + .'● `Partition`: A partition field.'."\n" + ."\n" + .'● `FeatureField`: A feature field.'."\n" + ."\n" + .'● `FeatureGenerationReserveField`: A reserved field for Feature Generation (FG).'."\n" + ."\n" + .'● `EventTime`: The event time.'."\n" + ."\n" + .'● `LabelField`: A label field.', + 'type' => 'array', + 'items' => [ + 'description' => 'A field attribute.', + 'type' => 'string', + 'example' => 'Partition', + 'enum' => ['Partition', 'FeatureField', 'FeatureGenerationReserveField', 'EventTime', 'LabelField', 'EventTimeIsUnixTime'], + 'required' => false, + 'title' => '', + ], + 'required' => true, + 'example' => '', ], + 'AlignedEntityName' => ['type' => 'string', 'example' => 'item', 'description' => '', 'title' => ''], ], + 'required' => true, + 'title' => '', + 'example' => '', ], + 'required' => true, + 'example' => '', ], ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0FA90B3B-F30A-5C9D-A9FD-8114F8868062'], + 'LabelTableId' => ['description' => 'The label table ID.', 'type' => 'string', 'example' => '1', 'title' => ''], + ], + 'example' => '', + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44933189-493B-5C43-A5C6-11EEC2A43520\\",\\n \\"TotalCount\\": 10,\\n \\"Datasources\\": [\\n {\\n \\"DatasourceId\\": \\"3\\",\\n \\"Name\\": \\"datasource1\\",\\n \\"Type\\": \\"Hologres\\",\\n \\"Uri\\": \\"igraph_instance1\\",\\n \\"Config\\": \\"{\\\\\\"address\\\\\\": \\\\\\"\\\\\\"}\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"WorkspaceId\\": \\"32324\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'GetDatasource' => [ - 'summary' => '获取数据源详细信息。', - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create label table', + 'changeSet' => [ + ['createdAt' => '2025-07-15T08:31:33.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLabelTable'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FA90B3B-F30A-5C9D-A9FD-8114F8868062\\",\\n \\"LabelTableId\\": \\"1\\"\\n}","type":"json"}]', + ], + 'CreateModelFeature' => [ + 'summary' => 'Creates a model feature. A model feature associates a label table with a set of feature view fields to generate the training dataset table required for model training and to specify the feature set used for model inference.', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '189325', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-********', - ], + 'schema' => ['title' => '', 'description' => 'The instance ID. You can call the ListInstances operation to obtain the instance ID.', 'type' => 'string', 'example' => 'fs-cn-********', 'required' => false], ], [ - 'name' => 'DatasourceId', - 'in' => 'path', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '数据源ID,可通过接口ListDatasources获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'datasource1', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'ProjectId' => ['title' => '', 'description' => 'The project ID. You can call the ListProjects operation to obtain the project ID.', 'type' => 'string', 'required' => true, 'example' => '3'], + 'Name' => ['title' => '', 'description' => 'The name of the model feature.', 'type' => 'string', 'required' => true, 'example' => 'model_feature_1'], + 'LabelTableId' => ['title' => '', 'description' => 'The label table ID. You can call the ListLabelTables operation to obtain the label table ID.', 'type' => 'string', 'required' => true, 'example' => '4'], + 'Features' => [ + 'title' => '', + 'description' => 'The list of features.', + 'type' => 'array', + 'items' => [ + 'description' => 'The feature.', + 'type' => 'object', + 'properties' => [ + 'FeatureViewId' => ['title' => '', 'description' => 'The feature view ID. You can call the ListFeatureViews operation to obtain the feature view ID.', 'type' => 'string', 'required' => true, 'example' => '5'], + 'Name' => ['title' => '', 'description' => 'The feature name.', 'type' => 'string', 'required' => true, 'example' => 'user_id'], + 'AliasName' => ['title' => '', 'description' => 'The feature alias.', 'type' => 'string', 'example' => 'userid', 'required' => false], + 'Type' => ['title' => '', 'description' => 'The feature type. Valid values:'."\n" + ."\n" + .'● INT32'."\n" + ."\n" + .'● INT64'."\n" + ."\n" + .'● FLOAT'."\n" + ."\n" + .'● DOUBLE'."\n" + ."\n" + .'● STRING'."\n" + ."\n" + .'● BOOLEAN'."\n" + ."\n" + .'● TIMESTAMP.', 'type' => 'string', 'required' => true, 'example' => 'STRING'], + 'PrefixName' => ['title' => '', 'type' => 'string', 'example' => 'cand_seq__', 'description' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'example' => '', + ], + 'SequenceFeatureViewIds' => [ + 'title' => '', + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'required' => false, + 'description' => 'The sequence feature view IDs.', + 'example' => '', + ], + 'LabelPriorityLevel' => ['title' => '', 'description' => 'The priority level of the label table. Default value: 0, which indicates that conflicts between label table features and feature view features are not allowed. A value of 1 indicates that the label table takes precedence when conflicts occur. A value of 2 indicates that the feature view takes precedence.', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'required' => false], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', + 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'AD7D9E95-BD31-53F2-B710-6C01866FCB05', - ], - 'DatasourceId' => [ - 'title' => '数据源ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'Name' => [ - 'title' => '数据源名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'Type' => [ - 'title' => '数据源类型。'."\n" - .'● FeatureDB'."\n" - .'● Hologres'."\n" - .'● MaxCompute'."\n" - .'● TableStore', - 'description' => '', - 'type' => 'string', - 'example' => 'Hologres', - ], - 'Uri' => [ - 'title' => '资源地址。', - 'description' => '', - 'type' => 'string', - 'example' => 'igraph_instance1', - ], - 'Config' => [ - 'title' => '资源配置。', - 'description' => '', - 'type' => 'string', - 'example' => '{"address": ""}', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '', - 'type' => 'string', - 'example' => '32244', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '37D19490-AB69-567D-A852-407C94E510E9'], + 'ModelFeatureId' => ['title' => '', 'description' => 'The model feature ID.', 'type' => 'string', 'example' => '3'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Create a model feature', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-09-03T08:10:50.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-10-30T02:07:07.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD7D9E95-BD31-53F2-B710-6C01866FCB05\\",\\n \\"DatasourceId\\": \\"3\\",\\n \\"Name\\": \\"datasource1\\",\\n \\"Type\\": \\"Hologres\\",\\n \\"Uri\\": \\"igraph_instance1\\",\\n \\"Config\\": \\"{\\\\\\"address\\\\\\": \\\\\\"\\\\\\"}\\",\\n \\"WorkspaceId\\": \\"32244\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\"\\n}","type":"json"}]', - ], - 'UpdateDatasource' => [ - 'summary' => '更新数据源信息。', - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', - 'methods' => [ - 'put', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateModelFeature'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"ModelFeatureId\\": \\"3\\"\\n}","type":"json"}]', + ], + 'CreateProject' => [ + 'summary' => 'Creates a FeatureStore project. A project is a container for feature entities, feature views, and model features.', + 'path' => '/api/v1/instances/{InstanceId}/projects', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'create', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', + 'schema' => ['description' => 'The ID of the FeatureStore instance. You can call the ListInstances operation to obtain this ID.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'fs-cn-********'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the project. The name must be unique within the instance. It must be 2 to 18 characters long, begin with a letter, and contain only letters, digits, and underscores (\\_). Regex: ^\\[a-zA-Z]\\[a-zA-Z0-9\\_]+$.', 'type' => 'string', 'required' => true, 'example' => 'project1', 'title' => ''], + 'WorkspaceId' => ['description' => 'The ID of the PAI workspace. You can call the [ListWorkspaces](~~449124~~) operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => '324', 'title' => ''], + 'Description' => ['description' => 'The description of the project. This description is displayed in the PAI console.', 'type' => 'string', 'required' => false, 'example' => 'This is a test.', 'title' => ''], + 'OfflineDatasourceId' => ['description' => 'The ID of the offline data source, which must be of the **MaxCompute** type. You can call the ListDatasources operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => '4', 'title' => ''], + 'OfflineLifeCycle' => ['description' => 'The retention period in days for offline tables created by FeatureStore. This setting does not affect existing tables registered with the RegisterTable operation. A default value of 0 means the tables are never automatically deleted.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '90'], + 'OnlineDatasourceId' => ['description' => 'The ID of the online data source. The data source type must be **Hologres**, **Tablestore**, or **FeatureDB**. You can call the ListDatasources operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], - [ - 'name' => 'DatasourceId', - 'in' => 'path', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '数据源ID,可通过接口ListDatasources获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'title' => 'Schema of Response', + 'description' => 'The response schema.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '977ADE3A-D69D-58AD-8323-96E2FB898E99'], + 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => '3', 'title' => ''], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"977ADE3A-D69D-58AD-8323-96E2FB898E99\\",\\n \\"ProjectId\\": \\"3\\"\\n}","type":"json"}]', + 'title' => 'Create Project', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProject'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'CreateServiceIdentityRole' => [ + 'summary' => 'Creates a service-linked role that authorizes the FeatureStore service to access other cloud resources of the user. Returns a conflict error if the role already exists.', + 'path' => '/api/v1/serviceidentityroles', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'create', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '数据源名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'datasource1', - ], - 'Uri' => [ - 'title' => '资源地址。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'igraph_instance1', - ], - 'Config' => [ - 'title' => '资源配置。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '{"address": ""}', - ], + 'RoleName' => ['title' => '', 'description' => 'The name of the service account role.', 'type' => 'string', 'required' => true, 'example' => 'AliyunServiceRoleForFeatureStore'], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', + 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA'], + 'RoleName' => ['title' => '', 'description' => 'The name of the service account role.', 'type' => 'string', 'example' => 'AliyunServiceRoleForFeatureStore'], + 'Code' => ['title' => '', 'description' => 'The error code.', 'type' => 'string', 'example' => 'ServiceLinkedRoleAlreadyExistsErrorProblem'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"RoleName\\": \\"AliyunServiceRoleForFeatureStore\\",\\n \\"Code\\": \\"ServiceLinkedRoleAlreadyExistsErrorProblem\\"\\n}","type":"json"}]', + 'title' => 'Create Service Account Role', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateServiceIdentityRole'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateServiceIdentityRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\"\\n}","type":"json"}]', ], 'DeleteDatasource' => [ - 'summary' => '删除指定数据源。', + 'summary' => 'Deletes a datasource from a FeatureStore instance.', 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The ID of the instance. Call the ListInstances operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ 'name' => 'DatasourceId', 'in' => 'path', + 'schema' => ['description' => 'The ID of the datasource. Call the ListDatasources operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '数据源ID,可通过接口ListDatasources获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'title' => 'Schema of Response', + 'description' => 'The response data.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'E2E1575F-29D1-5579-B649-B7883A793562'], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E2E1575F-29D1-5579-B649-B7883A793562\\"\\n}","type":"json"}]', + 'title' => 'Delete data source', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDatasource'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], + ], + 'DeleteFeatureEntity' => [ + 'summary' => 'Deletes a feature entity.', + 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['description' => 'The instance ID. Obtain it from the ListInstances API.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], + ], + [ + 'name' => 'FeatureEntityId', + 'in' => 'path', + 'schema' => ['description' => 'The feature entity ID. Obtain it from the ListFeatureEntities API.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ @@ -1315,554 +1337,697 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'E2E1575F-29D1-5579-B649-B7883A793562', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'E23EFF09-58AA-5420-934F-8453AE01548D'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E23EFF09-58AA-5420-934F-8453AE01548D\\"\\n}","type":"json"}]', + 'title' => 'Delete a feature entity', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFeatureEntity'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E2E1575F-29D1-5579-B649-B7883A793562\\"\\n}","type":"json"}]', ], - 'ListDatasourceFeatureViews' => [ - 'summary' => '获取数据源下所有特征视图信息。', - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/featureviews', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'DeleteFeatureView' => [ + 'summary' => 'Deletes a feature view. A feature view cannot be deleted if it is referenced by a model feature. To delete the feature view, you must first delete the associated model feature.', + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'delete', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '259270', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The ID of the feature store instance. You can call the ListInstances operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'DatasourceId', + 'name' => 'FeatureViewId', 'in' => 'path', + 'schema' => ['description' => 'The ID of the feature view. You can call the ListFeatureViews operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '数据源ID,可通过接口ListDatasources获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'title' => 'Schema of Response', + 'description' => 'The response body.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06'], + ], + 'example' => '', ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\"\\n}","type":"json"}]', + 'title' => 'Delete a feature view', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFeatureView'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DeleteLLMConfig' => [ + 'summary' => 'Deletes an LLM call configuration. You cannot delete a configuration referenced by a feature view. You must first delete the associated feature view.', + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', + 'methods' => ['delete'], + 'schemes' => ['https'], + 'security' => [ [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtCreateTime', - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the instance. You can obtain this ID by calling the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'Order', - 'in' => 'query', + 'name' => 'LLMConfigId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the LLM call configuration.', 'type' => 'string', 'required' => true, 'example' => 'llm_config1', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '排序方式。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Desc', + 'title' => 'Schema of Response', + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '96EE513F-8626-50B8-B046-D57FD3D037C2'], + ], + 'example' => '', ], ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"96EE513F-8626-50B8-B046-D57FD3D037C2\\"\\n}","type":"json"}]', + 'title' => 'Delete LLM Configuration Information', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLLMConfig'], + ], + ], + 'ramActions' => [ [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'title' => '项目ID,可通过接口ListProjects获取。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DeleteLabelTable' => [ + 'summary' => 'Deletes a label table. You cannot delete a label table that is referenced by a model feature. Delete the associated model feature first.', + 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '特征视图名称模糊过滤。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'fv', - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'title' => '特征视图类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征'."\n" - .'● Sequence-序列特征', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Stream', - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the instance. To obtain the instance ID, call the ListInstances API.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'All', - 'in' => 'query', + 'name' => 'LabelTableId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the label table. To obtain the label table ID, call the ListLabelTables API.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '是否返回所有数据(不分页)。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'default' => 'false', + 'title' => 'Schema of Response', + 'description' => 'The response object.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'FFD39C0F-DD8D-51B2-864E-2842206DB0E8'], + ], + 'example' => '', ], ], - [ - 'name' => 'ProjectName', - 'in' => 'query', - 'schema' => [ - 'title' => '项目名称过滤。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'fs_project', + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FFD39C0F-DD8D-51B2-864E-2842206DB0E8\\"\\n}","type":"json"}]', + 'title' => 'Delete the label table', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLabelTable'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'DeleteModelFeature' => [ + 'summary' => 'Deletes a model feature and its associated training set table.', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'StartDate', - 'in' => 'query', - 'schema' => [ - 'title' => '查询读写量的起始时间,格式为yyyy-mm-dd。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2025-03-14', - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ [ - 'name' => 'EndDate', - 'in' => 'query', - 'schema' => [ - 'title' => '查询读写量的截止时间,格式为yyyy-mm-dd。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2025-03-19', - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the instance. You can call the `ListInstances` operation to get this ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'Verbose', - 'in' => 'query', + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the model feature. You can call the `ListModelFeatures` operation to get this ID.', 'type' => 'string', 'required' => true, 'example' => '4', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '是否展示详细信息。如果设置为false,则不展示每个视图的UsageStatistics,只展示总量。默认为true。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'default' => 'true', + 'title' => 'Schema of Response', + 'description' => 'Response schema', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8'], + ], + 'example' => '', ], ], - [ - 'name' => 'ShowStorageUsage', - 'in' => 'query', - 'schema' => [ - 'title' => '是否展示存储用量,默认为true。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'default' => 'true', + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8\\"\\n}","type":"json"}]', + 'title' => 'Delete model feature', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteModelFeature'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], ], + ], + 'DeleteProject' => [ + 'summary' => 'Deletes a FeatureStore project.', + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', + 'methods' => ['delete'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'delete', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the instance. You can call the ListInstances operation to get the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], + ], + [ + 'name' => 'ProjectId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the project. You can call the ListProjects operation to get the project ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'Response schema', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '514F82AF-3C04-5C3D-8F38-A11261BF37B0', - ], - 'TotalUsageStatistics' => [ - 'title' => '用量统计综合。仅使用FeatureDB的特征视图展示。', - 'description' => '', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0DA35264-0877-5852-8971-7735B547C969'], + ], + 'example' => '', + ], + ], + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0DA35264-0877-5852-8971-7735B547C969\\"\\n}","type":"json"}]', + 'title' => 'Delete Project', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProject'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ExportModelFeatureTrainingSetTable' => [ + 'summary' => 'Export a training set table for model features. Create an export task by configuring the Label table input, the data source partition for each feature view, and the training set output partition.', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/action/exporttrainingsettable', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], + 'security' => [ + [ + 'AK' => [], + ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'none', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeCode' => '189386', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ + [ + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the instance. Call [ListInstances](~~2787137~~) to get it.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => 'fs-cn-********'], + ], + [ + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the model feature. Call [ListModelFeatures](~~2787184~~) to get it.', 'type' => 'string', 'required' => true, 'title' => '', 'example' => '3'], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', + 'schema' => [ + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'LabelInputConfig' => [ + 'title' => '', + 'description' => 'The input configuration for the label table.', 'type' => 'object', 'properties' => [ - 'TotalDiskUsage' => [ - 'title' => '磁盘存储用量总和。', - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '12.3', - ], - 'TotalMemoryUsage' => [ - 'title' => '内存存储用量总和。', - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '1.23', - ], - 'TotalReadWriteCount' => [ - 'title' => '读写次数总量统计。', - 'description' => '', - 'type' => 'array', - 'items' => [ + 'Partitions' => [ + 'title' => '', + 'description' => 'The list of partitions.', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ 'type' => 'object', - 'properties' => [ - 'Date' => [ - 'title' => '日期。', - 'description' => '', - 'type' => 'string', - 'example' => '2025-03-18T00:00:00+08:00', - ], - 'TotalWriteCount' => [ - 'title' => '写入次数总量。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '123', - ], - 'TotalReadCount' => [ - 'title' => '读取次数总量。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '456', - ], - ], + 'additionalProperties' => ['description' => 'The partition date.', 'type' => 'string', 'example' => '20230101', 'title' => ''], + 'description' => 'A map of partition fields.', + 'title' => '', + 'example' => '', ], + 'example' => '', ], + 'EventTime' => ['description' => 'The event time.', 'type' => 'string', 'example' => '2022-07-02 00:00:00', 'title' => '', 'required' => false], ], + 'required' => false, + 'example' => '', ], - 'FeatureViews' => [ - 'title' => '特征视图列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ + 'FeatureViewConfig' => [ + 'description' => 'A map of feature view configurations.', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ 'type' => 'object', 'properties' => [ - 'FeatureViewId' => [ - 'title' => '特征视图ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'Name' => [ - 'title' => '特征视图名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'fv1', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'p1', - ], - 'Type' => [ - 'title' => '特征视图类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征'."\n" - .'● Sequence-序列特征', - 'description' => '', - 'type' => 'string', - 'example' => 'Batch', - ], - 'FeatureEntityName' => [ - 'title' => '特征实体名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'user', - ], - 'TTL' => [ - 'title' => '生命周期。单位:秒。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '86400', - ], - 'Config' => [ - 'title' => '特征视图配置。仅使用FeatureDB的特征视图有值,展示分片数和副本数信息。', - 'description' => '', - 'type' => 'string', - 'example' => '{"shard_count":5,"replication_count":1}', + 'Partitions' => [ + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'additionalProperties' => ['type' => 'string', 'description' => 'The partition date.', 'example' => '20230101'], + 'description' => 'A map of partition fields.', + 'properties' => [ + 'Value' => ['description' => 'Partition value. ', 'type' => 'string', 'example' => '20230101', 'title' => '', 'required' => false], + 'Values' => [ + 'description' => 'List of partitions. ', + 'title' => '', + 'type' => 'array', + 'items' => ['description' => 'List of partitions. ', 'type' => 'string', 'required' => false, 'example' => '20230101', 'title' => ''], + 'required' => false, + 'example' => '', + ], + 'StartValue' => ['description' => 'Start time partition. ', 'type' => 'string', 'example' => '20230101', 'title' => '', 'required' => false], + 'EndValue' => ['description' => 'End time partition.', 'type' => 'string', 'example' => '20230202', 'title' => '', 'required' => false], + ], + 'title' => '', + 'example' => '', + ], + 'description' => 'The list of partitions.', + 'title' => '', + 'example' => '', ], - 'UsageStatistics' => [ - 'title' => '用量统计。仅使用FeatureDB的特征视图展示。', - 'description' => '', + 'EventTime' => ['description' => 'The event time.', 'type' => 'string', 'example' => '1721186536', 'title' => '', 'required' => false], + 'Equal' => ['description' => 'Specifies whether the feature\'s timestamp must match the event time.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'False'], + 'UseMock' => ['description' => 'Specifies whether to use a mock data table.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'True'], + 'Snapshot' => [ 'type' => 'object', 'properties' => [ - 'RowCount' => [ - 'title' => '行数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10000', - ], - 'DiskUsage' => [ - 'title' => '磁盘存储用量。', - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '1.23', - ], - 'MemoryUsage' => [ - 'title' => '内存存储用量。', - 'description' => '', - 'type' => 'number', - 'format' => 'double', - 'example' => '0.12', - ], - 'ReadWriteCount' => [ - 'title' => '读写次数统计。', - 'description' => '', - 'type' => 'array', - 'items' => [ + 'Partitions' => [ + 'type' => 'object', + 'additionalProperties' => [ 'type' => 'object', 'properties' => [ - 'Date' => [ - 'title' => '日期。', - 'description' => '', - 'type' => 'string', - 'example' => '2025-03-18T00:00:00+08:00', - ], - 'WriteCount' => [ - 'title' => '写入次数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '100', - ], - 'ReadCount' => [ - 'title' => '读取次数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '200', + 'Value' => ['description' => 'The partition value.', 'type' => 'string', 'example' => '20260101', 'required' => false, 'title' => ''], + 'Values' => [ + 'type' => 'array', + 'items' => ['description' => 'A partition value.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'description' => 'An array of partition values.', + 'title' => '', + 'example' => '', + 'required' => false, ], + 'StartValue' => ['description' => 'The start value of the partition range.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], + 'EndValue' => ['description' => 'The end value of the partition range.', 'type' => 'string', 'required' => false, 'title' => '', 'example' => ''], ], + 'description' => 'A map of partition fields.', + 'title' => '', + 'example' => '', ], + 'description' => 'The partition configuration for the snapshot.', + 'title' => '', + 'example' => '', + 'required' => false, ], + 'Table' => ['description' => 'The name of the snapshot table.', 'type' => 'string', 'example' => 'table_name', 'required' => false, 'title' => ''], ], + 'description' => 'The snapshot configuration.', + 'title' => '', + 'example' => '', + 'required' => false, ], + 'SecondJoinKey' => ['description' => 'The second join key.', 'type' => 'string', 'example' => 'request_id', 'required' => false, 'title' => ''], + 'JoinWithLabel' => ['type' => 'boolean', 'description' => '', 'title' => '', 'example' => ''], ], + 'description' => 'The configuration for the feature view.', + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], + 'TrainingSetConfig' => [ + 'title' => '', + 'description' => 'The configuration for the training set.', + 'type' => 'object', + 'properties' => [ + 'Partitions' => [ + 'title' => '', + 'description' => 'The list of partitions.', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'additionalProperties' => ['description' => 'The partition date.', 'type' => 'string', 'example' => '20230101', 'title' => ''], + 'description' => 'A map of partition fields.', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + ], + 'required' => false, + 'example' => '', + ], + 'RealTimeIterateInterval' => ['description' => 'The polling interval for retrieving real-time features.', 'type' => 'integer', 'format' => 'int64', 'example' => '1', 'title' => '', 'required' => false], + 'RealTimePartitionCountValue' => ['description' => 'The number of days for partition statistics of the real-time feature view.', 'type' => 'integer', 'format' => 'int64', 'example' => '5', 'title' => '', 'required' => false], ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'responses' => [ + 200 => [ + 'schema' => [ + 'title' => '', + 'description' => 'The response data.', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'title' => '', 'example' => '0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B'], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '51', 'title' => ''], + ], + 'example' => '', + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"requestId\\": \\"514F82AF-3C04-5C3D-8F38-A11261BF37B0\\",\\n \\"TotalUsageStatistics\\": {\\n \\"TotalDiskUsage\\": 12.3,\\n \\"TotalMemoryUsage\\": 1.23,\\n \\"TotalReadWriteCount\\": [\\n {\\n \\"Date\\": \\"2025-03-18T00:00:00+08:00\\",\\n \\"TotalWriteCount\\": 123,\\n \\"TotalReadCount\\": 456\\n }\\n ]\\n },\\n \\"FeatureViews\\": [\\n {\\n \\"FeatureViewId\\": \\"3\\",\\n \\"Name\\": \\"fv1\\",\\n \\"ProjectName\\": \\"p1\\",\\n \\"Type\\": \\"Batch\\",\\n \\"FeatureEntityName\\": \\"user\\",\\n \\"TTL\\": 86400,\\n \\"Config\\": \\"{\\\\\\"shard_count\\\\\\":5,\\\\\\"replication_count\\\\\\":1}\\",\\n \\"UsageStatistics\\": {\\n \\"RowCount\\": 10000,\\n \\"DiskUsage\\": 1.23,\\n \\"MemoryUsage\\": 0.12,\\n \\"ReadWriteCount\\": [\\n {\\n \\"Date\\": \\"2025-03-18T00:00:00+08:00\\",\\n \\"WriteCount\\": 100,\\n \\"ReadCount\\": 200\\n }\\n ]\\n }\\n }\\n ]\\n}","type":"json"}]', - ], - 'ListDatasourceTables' => [ - 'summary' => '获取数据源下所有表。', - 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/tables', - 'methods' => [ - 'get', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Export the train set table of a model feature', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-12-18T07:08:26.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-09-03T08:10:50.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-07-12T03:35:04.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-13T09:48:31.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2023-09-08T11:53:38.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExportModelFeatureTrainingSetTable'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:ExportModelFeatureTrainingSetTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B\\",\\n \\"TaskId\\": \\"51\\"\\n}","type":"json"}]', + ], + 'GetDatasource' => [ + 'summary' => 'Gets the detailed information about a data source, including its type, connection information, and configuration.', + 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188514', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. You can obtain this ID by calling the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-********', 'title' => ''], ], [ 'name' => 'DatasourceId', 'in' => 'path', - 'schema' => [ - 'title' => '数据源ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - ], - [ - 'name' => 'TableName', - 'in' => 'query', - 'schema' => [ - 'title' => '表名过滤。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'table1', - ], - ], - [ - 'name' => 'SchemaName', - 'in' => 'query', - 'schema' => [ - 'title' => 'Schema名称。', - 'type' => 'string', - 'example' => 'default', - ], + 'schema' => ['description' => 'The data source ID. You can obtain this ID by calling the ListDatasources operation.', 'type' => 'string', 'required' => true, 'example' => 'datasource1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response data.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'Tables' => [ - 'title' => '数据表列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'table1', - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'AD7D9E95-BD31-53F2-B710-6C01866FCB05'], + 'DatasourceId' => ['description' => 'The ID of the data source.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'Name' => ['description' => 'The name of the data source.', 'type' => 'string', 'example' => 'datasource1', 'title' => ''], + 'Type' => ['description' => 'The type of the data source. Valid values:'."\n" + ."\n" + .'- Hologres'."\n" + ."\n" + .'- Redis'."\n" + ."\n" + .'- MaxCompute', 'type' => 'string', 'example' => 'Hologres', 'title' => ''], + 'Uri' => ['description' => 'The URI of the resource.', 'type' => 'string', 'example' => 'igraph_instance1', 'title' => ''], + 'Config' => ['description' => 'The resource configuration.', 'type' => 'string', 'example' => '{"address": ""}', 'title' => ''], + 'WorkspaceId' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'example' => '32244', 'title' => ''], + 'GmtCreateTime' => ['title' => 'Creation Time.', 'description' => 'The time the data source was created.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], + 'GmtModifiedTime' => ['title' => 'Update Time.', 'description' => 'The time the data source was last updated.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AD7D9E95-BD31-53F2-B710-6C01866FCB05\\",\\n \\"DatasourceId\\": \\"3\\",\\n \\"Name\\": \\"datasource1\\",\\n \\"Type\\": \\"Hologres\\",\\n \\"Uri\\": \\"igraph_instance1\\",\\n \\"Config\\": \\"{\\\\\\"address\\\\\\": \\\\\\"\\\\\\"}\\",\\n \\"WorkspaceId\\": \\"32244\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\"\\n}","type":"json"}]', + 'title' => 'Retrieve data source details', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-01-29T07:38:08.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDatasource'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"TotalCount\\": 10,\\n \\"Tables\\": [\\n \\"table1\\"\\n ]\\n}","type":"json"}]', ], 'GetDatasourceTable' => [ - 'summary' => '获取数据源下指定表的详细信息。', + 'summary' => 'Gets the field information for a specified table in a data source. This operation supports only MaxCompute data sources.', 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/tables/{TableName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ @@ -1870,1177 +2035,893 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '188515', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. You can call the ListInstances operation to query the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ 'name' => 'DatasourceId', 'in' => 'path', - 'schema' => [ - 'title' => '数据源ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['description' => 'The data source ID. You can call the ListDatasources operation to query the data source ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], [ 'name' => 'TableName', 'in' => 'path', - 'schema' => [ - 'title' => '数据表名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'table1', - ], + 'schema' => ['description' => 'The name of the data table.', 'type' => 'string', 'required' => true, 'example' => 'table1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'D7B2F8C4-49C7-5CFA-8075-9D715A114873', - ], - 'TableName' => [ - 'title' => '数据表名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'table1', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'D7B2F8C4-49C7-5CFA-8075-9D715A114873'], + 'TableName' => ['description' => 'The name of the data table.', 'type' => 'string', 'example' => 'table1', 'title' => ''], 'Fields' => [ - 'title' => '字段列表。', - 'description' => '', + 'title' => '', + 'description' => 'The list of fields.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'A field.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '字段名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'field1', - ], - 'Type' => [ - 'title' => '字段类型。'."\n" - .'● INT32'."\n" - .'● INT64'."\n" - .'● FLOAT'."\n" - .'● DOUBLE'."\n" - .'● STRING'."\n" - .'● BOOLEAN'."\n" - .'● TIMESTAMP', - 'description' => '', - 'type' => 'string', - 'example' => 'INT32', - ], + 'Name' => ['description' => 'The name of the field.', 'type' => 'string', 'example' => 'field1', 'title' => ''], + 'Type' => ['description' => 'The data type of the field. Valid values:'."\n" + ."\n" + .'● INT32'."\n" + ."\n" + .'● INT64'."\n" + ."\n" + .'● FLOAT'."\n" + ."\n" + .'● DOUBLE'."\n" + ."\n" + .'● STRING'."\n" + ."\n" + .'● BOOLEAN'."\n" + ."\n" + .'● TIMESTAMP', 'type' => 'string', 'example' => 'INT32', 'title' => ''], 'Attributes' => [ - 'title' => '字段属性列表,可能出现的值包括:'."\n" - .'● Partition-分区字段'."\n" - .'● EventTime-事件时间'."\n" - .'● PrimaryKey-主键', - 'description' => '', + 'title' => '', + 'description' => 'The attributes of the field. Valid values:'."\n" + ."\n" + .'● Partition: indicates that the field is a partition field.'."\n" + ."\n" + .'● EventTime: indicates that the field is an event time field.'."\n" + ."\n" + .'● PrimaryKey: indicates that the field is a primary key field.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Partition', - ], + 'items' => ['description' => 'The attribute of the field.', 'type' => 'string', 'example' => 'Partition', 'title' => ''], + 'example' => '', ], ], + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"D7B2F8C4-49C7-5CFA-8075-9D715A114873\\",\\n \\"TableName\\": \\"table1\\",\\n \\"Fields\\": [\\n {\\n \\"Name\\": \\"field1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'CreateLLMConfig' => [ - 'summary' => '创建大模型调用信息配置', - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'https', + 'title' => 'Obtain the details of a specified table under a data source', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDatasourceTable'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetDatasourceTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetFeatureEntity' => [ + 'summary' => 'Retrieves the details of a feature entity.', + 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '大模型调用信息配置名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'llm_config1', - ], - 'Model' => [ - 'title' => '模型名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'text-embedding-v1', - ], - 'ApiKey' => [ - 'title' => '大模型调用密钥。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'api-xyz', - ], - 'BaseUrl' => [ - 'title' => '大模型调用信息基础链接。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1', - ], - 'Rps' => [ - 'title' => '每秒并发请求数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '30', - ], - 'MaxTokens' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'title' => '一行最大输入 token 数。', - 'example' => '8192', - ], - 'BatchSize' => [ - 'title' => '一次批处理大小。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '8', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '234', - ], - 'EmbeddingDimension' => [ - 'title' => '向量维度。为空或为0则按照模型各自的默认维度处理。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1024', - ], - ], - 'required' => false, - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['description' => 'The instance ID. Call the ListInstances operation to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'InstanceId', + 'name' => 'FeatureEntityId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'featureStore-cn-test1', - ], + 'schema' => ['description' => 'The ID of the feature entity. Call the ListFeatureEntities operation to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - ], - 'LLMConfigId' => [ - 'title' => '大模型调用信息配置ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'llm_config1', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'E23EFF09-58AA-5420-934F-8453AE01548D'], + 'Name' => ['description' => 'The name of the feature entity.', 'type' => 'string', 'example' => 'feature_entity_1', 'title' => ''], + 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'ProjectName' => ['description' => 'The name of the project.', 'type' => 'string', 'example' => 'project_1', 'title' => ''], + 'JoinId' => ['description' => 'The join ID used to associate with a feature view.', 'type' => 'string', 'example' => 'user_id', 'title' => ''], + 'Owner' => ['description' => 'The Alibaba Cloud account ID of the creator.', 'type' => 'string', 'example' => '123456789*****', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The time when the feature entity was created.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + 'ParentFeatureEntityId' => ['title' => 'Parent feature entity ID. If empty or 0, it indicates a root feature entity.', 'description' => 'The ID of the parent feature entity. An empty value or 0 indicates a root feature entity.', 'type' => 'string', 'example' => '1'], + 'ParentFeatureEntityName' => ['title' => 'Name of the parent feature entity.', 'description' => 'The name of the parent feature entity.', 'type' => 'string', 'example' => 'user'], + 'ParentJoinId' => ['title' => 'Join ID of the parent feature entity.', 'description' => 'The join ID of the parent feature entity.', 'type' => 'string', 'example' => 'user_id'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E23EFF09-58AA-5420-934F-8453AE01548D\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"JoinId\\": \\"user_id\\",\\n \\"Owner\\": \\"123456789*****\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"ParentFeatureEntityId\\": \\"1\\",\\n \\"ParentFeatureEntityName\\": \\"user\\",\\n \\"ParentJoinId\\": \\"user_id\\"\\n}","type":"json"}]', + 'title' => 'Obtain detailed information about a feature entity', + 'changeSet' => [ + ['createdAt' => '2025-11-17T06:07:05.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"DD19A0E2-0DC8-5EAA-867D-00C813F553F9\\",\\n \\"LLMConfigId\\": \\"llm_config1\\"\\n}","type":"json"}]', - ], - 'ListLLMConfigs' => [ - 'summary' => '获取大模型调用信息配置', - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFeatureEntity'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:GetFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetFeatureView' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188637', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'featureStore-cn-XXXXXXX', - ], + 'schema' => ['title' => '', 'description' => 'The instance ID. You can call ListInstances to obtain the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'title' => '工作空间ID。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '234', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '大模型调用信息配置名称。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'llm_config_1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Asc', - ], - ], - [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtModifiedTime', - ], - ], - [ - 'name' => 'MaxResults', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '100', - ], - ], - [ - 'name' => 'NextToken', - 'in' => 'query', - 'allowEmptyValue' => false, - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'None', - ], + 'name' => 'FeatureViewId', + 'in' => 'path', + 'schema' => ['title' => '', 'description' => 'The feature view ID. You can call ListFeatureViews to obtain the feature view ID.', 'type' => 'string', 'required' => true, 'example' => '3'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', + 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '898DB17C-09E9-5C41-909D-269BA183EB92', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'LLMConfigs' => [ - 'title' => '大模型配置信息字段。', - 'description' => '', + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => '72F15A8A-5A28-5B18-A0DE-0EABD7D3245A'], + 'ProjectId' => ['title' => '', 'description' => 'The project ID.', 'type' => 'string', 'example' => '3'], + 'ProjectName' => ['title' => '', 'description' => 'The project name.', 'type' => 'string', 'example' => 'project1'], + 'FeatureEntityName' => ['title' => '', 'description' => 'The feature entity name.', 'type' => 'string', 'example' => 'featureEntity1'], + 'Name' => ['title' => '', 'description' => 'The feature view name.', 'type' => 'string', 'example' => 'featureView1'], + 'Owner' => ['title' => '', 'description' => 'The Alibaba Cloud account ID of the creator.', 'type' => 'string', 'example' => '12321421412****'], + 'Type' => ['title' => '', 'description' => 'The type. Valid values:'."\n" + ."\n" + .'- Batch: offline feature'."\n" + ."\n" + .'- Stream: real-time feature', 'type' => 'string', 'example' => 'Batch'], + 'GmtCreateTime' => ['title' => '', 'description' => 'The creation time.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'GmtModifiedTime' => ['title' => '', 'description' => 'The update time.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'FeatureEntityId' => ['title' => '', 'description' => 'The feature entity ID.', 'type' => 'string', 'example' => '3'], + 'JoinId' => ['title' => '', 'description' => 'The Join ID of the feature entity.', 'type' => 'string', 'example' => 'user_id'], + 'WriteMethod' => ['title' => '', 'description' => 'The write method. Valid values:'."\n" + ."\n" + .'- ByReadyMadeTable: registered using an existing table'."\n" + ."\n" + .'- Custom: custom table schema', 'type' => 'string', 'example' => 'custom'], + 'RegisterTable' => ['title' => '', 'description' => 'The registered table name.', 'type' => 'string', 'example' => 'table1'], + 'RegisterDatasourceId' => ['title' => '', 'description' => 'The ID of the data source where the registered table resides.', 'type' => 'string', 'example' => '4'], + 'RegisterDatasourceName' => ['title' => '', 'description' => 'The name of the data source where the registered table resides.', 'type' => 'string', 'example' => 'datasource1'], + 'WriteToFeatureDB' => ['title' => '', 'description' => 'Indicates whether data is written to the online managed storage.', 'type' => 'boolean', 'example' => 'false'], + 'SyncOnlineTable' => ['title' => '', 'description' => 'Indicates whether the online feature table is synchronized.', 'type' => 'boolean', 'example' => 'true'], + 'TTL' => ['title' => '', 'description' => 'The time-to-live (TTL).', 'type' => 'integer', 'format' => 'int32', 'example' => '86400'], + 'Tags' => [ + 'title' => '', + 'description' => 'The list of labels.', + 'type' => 'array', + 'items' => ['description' => 'The label of the feature view.', 'type' => 'string', 'example' => 'tag1', 'title' => ''], + 'example' => '', + ], + 'Config' => ['title' => '', 'description' => 'The configuration.', 'type' => 'string', 'example' => '{"save_original_field":true}'], + 'GmtSyncTime' => ['title' => '', 'description' => 'The synchronization time.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00'], + 'LastSyncConfig' => ['title' => '', 'description' => 'The most recent synchronization configuration.', 'type' => 'string', 'example' => '{'."\n" + .' "mode": "overwrite",'."\n" + .' "partitions": {'."\n" + .' "ds": {'."\n" + .' "value": "20230820"'."\n" + .' }'."\n" + .' },'."\n" + .' "event_time": "",'."\n" + .' "config": {},'."\n" + .' "offline_to_online": true'."\n" + .'}'], + 'Fields' => [ + 'title' => '', + 'description' => 'The list of fields.', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'LLMConfigId' => [ - 'title' => '大模型调用信息配置ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'llm_config1', - ], - 'Name' => [ - 'title' => '大模型调用信息配置名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'llm_config_name1', - ], - 'ApiKey' => [ - 'title' => '大模型调用密钥。', - 'description' => '', - 'type' => 'string', - 'example' => 'apikey-abcdxy', - ], - 'Model' => [ - 'title' => '模型名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'text-embedding-v1', - ], - 'BaseUrl' => [ - 'title' => '配置基础调用链接。', - 'description' => '', - 'type' => 'string', - 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1', - ], - 'Rps' => [ - 'title' => '每秒钟最大并发调用次数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'MaxTokens' => [ - 'title' => '单行最大处理Token数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2048', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '修改时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'ResourceGroupId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'rg-aek2vtzqjaohzqi', - ], - 'BatchSize' => [ - 'title' => '一次批处理大小。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '', - 'type' => 'string', - 'example' => '234', + 'Name' => ['title' => '', 'description' => 'The field name.', 'type' => 'string', 'example' => 'user'], + 'Type' => ['title' => '', 'description' => 'The field type. Valid values:'."\n" + ."\n" + .'- int'."\n" + ."\n" + .'- string'."\n" + ."\n" + .'- float', 'type' => 'string', 'example' => 'int'], + 'Attributes' => [ + 'title' => '', + 'description' => 'The list of field attributes. Valid values:'."\n" + ."\n" + .'- Partition: partition field'."\n" + ."\n" + .'- PrimaryKey: primary key'."\n" + ."\n" + .'- EventTime: event time', + 'type' => 'array', + 'items' => ['description' => 'The field attribute.', 'type' => 'string', 'example' => 'Partition', 'title' => ''], + 'example' => '', ], - 'EmbeddingDimension' => [ - 'title' => '向量维度。为空或为0则按照模型各自的默认维度处理。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1024', + 'Transform' => [ + 'title' => '', + 'description' => 'The feature transformation.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Type' => ['title' => '', 'description' => 'The feature transformation type.', 'type' => 'string', 'example' => 'LLMEmbedding'], + 'LLMConfigId' => ['title' => '', 'description' => 'The ID of the large language model configuration.', 'type' => 'integer', 'format' => 'int32', 'example' => '1'], + 'Input' => [ + 'title' => '', + 'description' => 'The input.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Name' => ['title' => '', 'description' => 'The feature name.', 'type' => 'string', 'example' => 'feature1'], + 'Type' => ['title' => '', 'description' => 'The feature type.', 'type' => 'string', 'example' => 'STRING'], + 'Modality' => ['description' => 'The multimodal type.', 'type' => 'string', 'example' => 'TEXT', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', ], + 'Dimension' => ['type' => 'integer', 'format' => 'int32', 'example' => '512', 'description' => '', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'required' => true, - 'minItems' => 0, - ], - 'NextToken' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6mbU5D/SFHCHMApYkMcWlp5', - ], - 'MaxResults' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', + 'example' => '', ], + 'PublishTableScript' => ['title' => '', 'description' => 'The data synchronization script.', 'type' => 'string', 'example' => 'from feature_store_py.fs_client import FeatureStoreClient\\nimport datetime\\nfrom feature_store_py.fs_datasource import MaxComputeDataSource\\nimport sys\\n\\ncur_day = args[\'dt\']\\nprint(\'cur_day = \', cur_day)\\n\\naccess_key_id = o.account.access_id\\naccess_key_secret = o.account.secret_access_key\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\ncur_project_name = \'p1\'\\nproject = fs.get_project(cur_project_name)\\n\\nfeature_view_name = \'user_fea\'\\nbatch_feature_view = project.get_feature_view(feature_view_name)\\ntask = batch_feature_view.publish_table(partitions={\'ds\':cur_day}, mode=\'Overwrite\')\\ntask.wait()\\ntask.print_summary()\\n'], + 'MockTableName' => ['title' => '', 'description' => 'The analog data table name for the real-time feature view.', 'type' => 'string', 'example' => 'item_table_mock_1'], ], + 'example' => '', ], ], - [], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Get feature view details', + 'summary' => 'Retrieves detailed information about a feature view, including field definitions, data source bindings, and synchronization status.', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-05-26T03:08:41.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2025-05-14T07:57:55.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-12-18T07:08:26.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-03-25T06:53:33.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-01-29T07:38:08.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"898DB17C-09E9-5C41-909D-269BA183EB92\\",\\n \\"TotalCount\\": 10,\\n \\"LLMConfigs\\": [\\n {\\n \\"LLMConfigId\\": \\"llm_config1\\",\\n \\"Name\\": \\"llm_config_name1\\",\\n \\"ApiKey\\": \\"apikey-abcdxy\\",\\n \\"Model\\": \\"text-embedding-v1\\",\\n \\"BaseUrl\\": \\"https://dashscope.aliyuncs.com/compatible-mode/v1\\",\\n \\"Rps\\": 30,\\n \\"MaxTokens\\": 2048,\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"ResourceGroupId\\": \\"rg-aek2vtzqjaohzqi\\",\\n \\"BatchSize\\": 8,\\n \\"WorkspaceId\\": \\"234\\",\\n \\"EmbeddingDimension\\": 1024\\n }\\n ],\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6mbU5D/SFHCHMApYkMcWlp5\\",\\n \\"MaxResults\\": 10\\n}","type":"json"}]', - ], - 'GetLLMConfig' => [ - 'summary' => '获取 LLMConfig 信息', - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFeatureView'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"72F15A8A-5A28-5B18-A0DE-0EABD7D3245A\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"FeatureEntityName\\": \\"featureEntity1\\",\\n \\"Name\\": \\"featureView1\\",\\n \\"Owner\\": \\"12321421412****\\",\\n \\"Type\\": \\"Batch\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"FeatureEntityId\\": \\"3\\",\\n \\"JoinId\\": \\"user_id\\",\\n \\"WriteMethod\\": \\"custom\\",\\n \\"RegisterTable\\": \\"table1\\",\\n \\"RegisterDatasourceId\\": \\"4\\",\\n \\"RegisterDatasourceName\\": \\"datasource1\\",\\n \\"WriteToFeatureDB\\": false,\\n \\"SyncOnlineTable\\": true,\\n \\"TTL\\": 86400,\\n \\"Tags\\": [\\n \\"tag1\\"\\n ],\\n \\"Config\\": \\"{\\\\\\"save_original_field\\\\\\":true}\\",\\n \\"GmtSyncTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"LastSyncConfig\\": \\"{\\\\n\\\\t\\\\\\"mode\\\\\\": \\\\\\"overwrite\\\\\\",\\\\n\\\\t\\\\\\"partitions\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"ds\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\\\"value\\\\\\": \\\\\\"20230820\\\\\\"\\\\n\\\\t\\\\t}\\\\n\\\\t},\\\\n\\\\t\\\\\\"event_time\\\\\\": \\\\\\"\\\\\\",\\\\n\\\\t\\\\\\"config\\\\\\": {},\\\\n\\\\t\\\\\\"offline_to_online\\\\\\": true\\\\n}\\",\\n \\"Fields\\": [\\n {\\n \\"Name\\": \\"user\\",\\n \\"Type\\": \\"int\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ],\\n \\"Transform\\": [\\n {\\n \\"Type\\": \\"LLMEmbedding\\",\\n \\"LLMConfigId\\": 1,\\n \\"Input\\": [\\n {\\n \\"Name\\": \\"feature1\\",\\n \\"Type\\": \\"STRING\\",\\n \\"Modality\\": \\"TEXT\\"\\n }\\n ]\\n }\\n ],\\n \\"Dimension\\": 512\\n }\\n ],\\n \\"PublishTableScript\\": \\"from feature_store_py.fs_client import FeatureStoreClient\\\\\\\\nimport datetime\\\\\\\\nfrom feature_store_py.fs_datasource import MaxComputeDataSource\\\\\\\\nimport sys\\\\\\\\n\\\\\\\\ncur_day = args[\'dt\']\\\\\\\\nprint(\'cur_day = \', cur_day)\\\\\\\\n\\\\\\\\naccess_key_id = o.account.access_id\\\\\\\\naccess_key_secret = o.account.secret_access_key\\\\\\\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\\\\\\\ncur_project_name = \'p1\'\\\\\\\\nproject = fs.get_project(cur_project_name)\\\\\\\\n\\\\\\\\nfeature_view_name = \'user_fea\'\\\\\\\\nbatch_feature_view = project.get_feature_view(feature_view_name)\\\\\\\\ntask = batch_feature_view.publish_table(partitions={\'ds\':cur_day}, mode=\'Overwrite\')\\\\\\\\ntask.wait()\\\\\\\\ntask.print_summary()\\\\\\\\n\\",\\n \\"MockTableName\\": \\"item_table_mock_1\\"\\n}","type":"json"}]', + ], + 'GetInstance' => [ + 'summary' => 'Retrieves the details of a FeatureStore instance.', + 'path' => '/api/v1/instances/{InstanceId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '190265', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-********', - ], - ], - [ - 'name' => 'LLMConfigId', - 'in' => 'path', - 'schema' => [ - 'title' => '大模型调用信息配置ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'llm_config1', - ], - ], - [ - 'name' => 'RegionId', - 'in' => 'path', - 'schema' => [ - 'title' => '', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'cn-beijing', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the ListInstances operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA', - ], - 'LLMConfigId' => [ - 'title' => '大模型调用信息配置ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'llm_config1', - ], - 'Name' => [ - 'title' => '大模型调用信息配置名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'llm_config_name1', - ], - 'ApiKey' => [ - 'title' => '大模型调用密钥。', - 'description' => '', - 'type' => 'string', - 'example' => 'api-abcdxy', - ], - 'Model' => [ - 'title' => '模型名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'text-embedding-v1', - ], - 'BaseUrl' => [ - 'title' => '配置基础调用链接。', - 'description' => '', - 'type' => 'string', - 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1', - ], - 'Rps' => [ - 'title' => '每秒钟调用次数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '30', - ], - 'MaxTokens' => [ - 'title' => '单行最大处理Token数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '2048', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '修改时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'BatchSize' => [ - 'title' => '一次批处理大小。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '8', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '', - 'type' => 'string', - 'example' => '234', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '1C5B1511-8A5B-59C3-90AF-513F9210E882'], + 'Status' => ['description' => 'The status of the instance. Valid values:'."\n" + ."\n" + .'- Initializing: The instance is being initialized.'."\n" + ."\n" + .'- Running: The instance is running.'."\n" + ."\n" + .'- Failure: The instance fails to be created.'."\n" + ."\n" + .'- Stopped: The instance is stopped.', 'type' => 'string', 'example' => 'Running', 'title' => ''], + 'RegionId' => ['description' => 'The region where the instance is deployed.', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The time when the instance was created. The time is in the ISO 8601 format.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The time when the instance was last updated. The time is in the ISO 8601 format.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'Progress' => ['description' => 'The progress of instance provisioning.', 'type' => 'number', 'format' => 'double', 'example' => '0.8', 'title' => ''], + 'Message' => ['description' => 'The message that is returned for the instance provisioning.', 'type' => 'string', 'example' => 'Success', 'title' => ''], + 'Type' => ['description' => 'The type of the instance.', 'type' => 'string', 'example' => 'Basic', 'title' => ''], + 'FeatureDBInstanceInfo' => [ + 'deprecated' => true, + 'description' => 'The information about the FeatureDB instance.', + 'title' => 'Deprecated. Use FeatureDBInfo to obtain FeatureDB instance information.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['title' => 'Status.', 'description' => 'The status of the instance.', 'type' => 'string', 'example' => ''], + ], + 'example' => '', ], - 'EmbeddingDimension' => [ - 'title' => '向量维度。为空或为0则按照模型各自的默认维度处理。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1024', + 'FeatureDBInfo' => [ + 'description' => 'The information about the FeatureDB instance.', + 'title' => 'FeatureDB instance information.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['title' => 'Status.', 'description' => 'The status of the instance.', 'type' => 'string', 'example' => ''], + ], + 'example' => '', ], ], + 'example' => '', ], ], - [], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"1C5B1511-8A5B-59C3-90AF-513F9210E882\\",\\n \\"Status\\": \\"Running\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"Progress\\": 0.8,\\n \\"Message\\": \\"Success\\",\\n \\"Type\\": \\"Basic\\",\\n \\"FeatureDBInstanceInfo\\": {\\n \\"Status\\": \\"\\"\\n },\\n \\"FeatureDBInfo\\": {\\n \\"Status\\": \\"\\"\\n }\\n}","type":"json"}]', + 'title' => 'Obtain instance details', + 'changeSet' => [ + ['createdAt' => '2025-07-17T03:58:30.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-10-16T06:46:18.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"LLMConfigId\\": \\"llm_config1\\",\\n \\"Name\\": \\"llm_config_name1\\",\\n \\"ApiKey\\": \\"api-abcdxy\\",\\n \\"Model\\": \\"text-embedding-v1\\",\\n \\"BaseUrl\\": \\"https://dashscope.aliyuncs.com/compatible-mode/v1\\",\\n \\"Rps\\": 30,\\n \\"MaxTokens\\": 2048,\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"BatchSize\\": 8,\\n \\"WorkspaceId\\": \\"234\\",\\n \\"EmbeddingDimension\\": 1024\\n}","type":"json"}]', - ], - 'UpdateLLMConfig' => [ - 'summary' => '更新大模型调用信息配置', - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', - 'methods' => [ - 'put', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetInstance'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetLLMConfig' => [ + 'summary' => 'Retrieves the details of an LLM call configuration.', + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-***', - ], + 'schema' => ['description' => 'The ID of the instance. You can get this ID by calling the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-********', 'title' => ''], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '大模型调用信息名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'llm-config1', - ], - 'Model' => [ - 'title' => '模型名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'text-embedding-v1', - ], - 'ApiKey' => [ - 'title' => '大模型调用密钥。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'apikey-***', - ], - 'BaseUrl' => [ - 'title' => '大模型调用基础链接。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1', - ], - 'Rps' => [ - 'title' => '每秒调用并发数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '30', - ], - 'MaxTokens' => [ - 'title' => '一行最大输入 token 数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => true, - 'example' => '2048', - ], - 'BatchSize' => [ - 'title' => '一次批处理大小。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '8', - ], - 'EmbeddingDimension' => [ - 'title' => '向量维度。为空或为0则按照模型各自的默认维度处理。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1024', - ], - ], - 'required' => false, - ], + 'name' => 'LLMConfigId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the LLM call configuration.', 'type' => 'string', 'required' => true, 'example' => 'llm_config1', 'title' => ''], ], [ - 'name' => 'LLMConfigId', + 'name' => 'RegionId', 'in' => 'path', - 'schema' => [ - 'title' => '大模型调用信息配置ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'llm_config_test1', - ], + 'schema' => ['description' => 'The region ID.', 'type' => 'string', 'title' => '', 'example' => 'cn-beijing', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response schema.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA'], + 'LLMConfigId' => ['description' => 'The ID of the LLM call configuration.', 'type' => 'string', 'example' => 'llm_config1', 'title' => ''], + 'Name' => ['description' => 'The name of the LLM call configuration.', 'type' => 'string', 'example' => 'llm_config_name1', 'title' => ''], + 'ApiKey' => ['description' => 'The API key.', 'type' => 'string', 'example' => 'api-abcdxy', 'title' => ''], + 'Model' => ['description' => 'The model name.', 'type' => 'string', 'example' => 'text-embedding-v1', 'title' => ''], + 'BaseUrl' => ['description' => 'The base URL for API calls.', 'type' => 'string', 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1', 'title' => ''], + 'Rps' => ['description' => 'The number of requests allowed per second.', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'MaxTokens' => ['description' => 'The maximum number of tokens in a single request.', 'type' => 'integer', 'format' => 'int32', 'example' => '2048', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The time when the configuration was created.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The time when the configuration was last modified.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'BatchSize' => ['description' => 'The batch size.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'WorkspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => '234', 'title' => ''], + 'EmbeddingDimension' => ['description' => 'The embedding dimension. If this parameter is unspecified or set to 0, the system uses the model\'s default dimension.', 'type' => 'integer', 'format' => 'int32', 'example' => '1024', 'title' => ''], + 'ModelType' => [ + 'description' => 'The type of the model.', + 'type' => 'string', + 'enum' => ['MULTI_MODAL_EMBEDDING', 'TEXT_EMBEDDING'], + 'title' => '', + 'example' => '', + ], + 'EnableFusion' => ['description' => 'Indicates whether fusion is enabled.', 'type' => 'boolean', 'title' => '', 'example' => ''], ], + 'example' => '', ], ], + [], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"LLMConfigId\\": \\"llm_config1\\",\\n \\"Name\\": \\"llm_config_name1\\",\\n \\"ApiKey\\": \\"api-abcdxy\\",\\n \\"Model\\": \\"text-embedding-v1\\",\\n \\"BaseUrl\\": \\"https://dashscope.aliyuncs.com/compatible-mode/v1\\",\\n \\"Rps\\": 30,\\n \\"MaxTokens\\": 2048,\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"BatchSize\\": 8,\\n \\"WorkspaceId\\": \\"234\\",\\n \\"EmbeddingDimension\\": 1024,\\n \\"ModelType\\": \\"\\",\\n \\"EnableFusion\\": false\\n}","type":"json"}]', + 'title' => 'Retrieve LLM Configuration Information', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Request parameters changed, Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\"\\n}","type":"json"}]', - ], - 'DeleteLLMConfig' => [ - 'summary' => '删除大模型调用信息配置', - 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', - 'methods' => [ - 'delete', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLLMConfig'], + ], ], - 'schemes' => [ - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'GetLabelTable' => [ + 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The ID of the instance. You can get this value by calling the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'LLMConfigId', + 'name' => 'LabelTableId', 'in' => 'path', - 'schema' => [ - 'title' => '大模型调用信息配置ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'llm_config1', - ], + 'schema' => ['description' => 'The ID of the label table. You can get this value by calling the ListLabelTables operation.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77', 'title' => ''], + 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'project1', 'title' => ''], + 'DatasourceId' => ['description' => 'The data source ID.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'Name' => ['description' => 'The label table name.', 'type' => 'string', 'example' => 'label_table1', 'title' => ''], + 'DatasourceName' => ['description' => 'The data source name.', 'type' => 'string', 'example' => 'datasource1', 'title' => ''], + 'Owner' => ['description' => 'The Alibaba Cloud account ID of the creator.', 'type' => 'string', 'example' => '12321312*****', 'title' => ''], + 'RelatedModelFeatures' => [ + 'description' => 'A list of related model feature names.', + 'title' => '', + 'type' => 'array', + 'items' => ['description' => 'The name of a related model feature.', 'type' => 'string', 'example' => 'rank_v1', 'title' => ''], + 'example' => '', + ], + 'GmtCreateTime' => ['description' => 'The time when the label table was created.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The time when the label table was last modified.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + 'Fields' => [ + 'title' => '', + 'description' => 'The fields in the label table.', + 'type' => 'array', + 'items' => [ + 'description' => 'The properties of a field.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The field name.', 'type' => 'string', 'example' => 'field1', 'title' => ''], + 'Type' => [ + 'description' => 'The field type.', + 'type' => 'string', + 'example' => 'INT32', + 'enum' => ['INT32', 'INT64', 'FLOAT', 'DOUBLE', 'STRING', 'BOOLEAN', 'TIMESTAMP'], + 'title' => '', + ], + 'Attributes' => [ + 'title' => '', + 'description' => 'A list of field attributes.', + 'type' => 'array', + 'items' => [ + 'description' => 'A field attribute.', + 'type' => 'string', + 'example' => 'Partition', + 'enum' => ['Partition', 'FeatureField', 'FeatureGenerationReserveField', 'EventTime', 'LabelField'], + 'title' => '', + ], + 'example' => '', + ], + 'AlignedEntityName' => ['type' => 'string', 'example' => 'item', 'description' => '', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Get label table details', + 'summary' => 'Retrieves the details of a label table, including its field definitions and related models.', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-11-22T12:36:07.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"96EE513F-8626-50B8-B046-D57FD3D037C2\\"\\n}","type":"json"}]', - ], - 'CreateProject' => [ - 'summary' => '创建FeatureStore项目', - 'path' => '/api/v1/instances/{InstanceId}/projects', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLabelTable'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77\\",\\n \\"ProjectId\\": \\"1\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"DatasourceId\\": \\"1\\",\\n \\"Name\\": \\"label_table1\\",\\n \\"DatasourceName\\": \\"datasource1\\",\\n \\"Owner\\": \\"12321312*****\\",\\n \\"RelatedModelFeatures\\": [\\n \\"rank_v1\\"\\n ],\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"Fields\\": [\\n {\\n \\"Name\\": \\"field1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ],\\n \\"AlignedEntityName\\": \\"item\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'GetModelFeature' => [ + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '189332', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '', 'description' => 'Instance ID, which can be obtained from the ListInstances API.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'project1', - ], - 'WorkspaceId' => [ - 'title' => '工作空间ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '324', - ], - 'Description' => [ - 'title' => '项目描述。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'This is a test.', - ], - 'OfflineDatasourceId' => [ - 'title' => '离线数据源ID,可通过接口ListDatasources获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '4', - ], - 'OfflineLifeCycle' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '90', - 'title' => '离线数据表生命周期。', - ], - 'OnlineDatasourceId' => [ - 'title' => '在线数据源ID,可通过接口ListDatasources获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - ], - 'required' => false, - ], + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['title' => '', 'description' => 'Model feature ID, which can be obtained from the ListModelFeatures API.', 'type' => 'string', 'required' => true, 'example' => '3'], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', + 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '977ADE3A-D69D-58AD-8323-96E2FB898E99', + 'RequestId' => ['title' => '', 'description' => 'Request ID.', 'type' => 'string', 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8'], + 'ProjectId' => ['title' => '', 'description' => 'Project ID.', 'type' => 'string', 'example' => '5'], + 'ProjectName' => ['title' => '', 'description' => 'Project name.', 'type' => 'string', 'example' => 'project1'], + 'Name' => ['title' => '', 'description' => 'Model feature name.', 'type' => 'string', 'example' => 'model_feature1'], + 'Owner' => ['title' => '', 'description' => 'Alibaba Cloud account ID of the creator.', 'type' => 'string', 'example' => '1231243253****'], + 'GmtCreateTime' => ['title' => '', 'description' => 'Creation time.', 'type' => 'string', 'example' => '2023-07-04T14:46:22.227+08:00'], + 'GmtModifiedTime' => ['title' => '', 'description' => 'Update time.', 'type' => 'string', 'example' => '2023-07-04T14:46:22.227+08:00'], + 'LabelTableId' => ['title' => '', 'description' => 'Label table ID.', 'type' => 'string', 'example' => '3'], + 'LabelTableName' => ['title' => '', 'description' => 'Label table name.', 'type' => 'string', 'example' => 'label_table1'], + 'TrainingSetTable' => ['title' => '', 'description' => 'Name of the exported training set table.', 'type' => 'string', 'example' => 'table1'], + 'TrainingSetFGTable' => ['title' => '', 'description' => 'Name of the exported training set FG table.', 'type' => 'string', 'example' => 'table2'], + 'Features' => [ + 'title' => '', + 'description' => 'Feature list.', + 'type' => 'array', + 'items' => [ + 'description' => 'Feature.', + 'type' => 'object', + 'properties' => [ + 'FeatureViewId' => ['title' => '', 'description' => 'Feature view ID.', 'type' => 'string', 'example' => '3'], + 'FeatureViewName' => ['title' => '', 'description' => 'Feature view name.', 'type' => 'string', 'example' => 'feature_view_1'], + 'Name' => ['title' => '', 'description' => 'Feature name.', 'type' => 'string', 'example' => 'feature1'], + 'Type' => ['title' => '', 'description' => 'Feature type.'."\n" + ."\n" + .'● INT32'."\n" + ."\n" + .'● INT64'."\n" + ."\n" + .'● FLOAT'."\n" + ."\n" + .'● DOUBLE'."\n" + ."\n" + .'● STRING'."\n" + ."\n" + .'● BOOLEAN'."\n" + ."\n" + .'● TIMESTAMP', 'type' => 'string', 'example' => 'INT32'], + 'AliasName' => ['title' => '', 'description' => 'Feature alias.', 'type' => 'string', 'example' => 'feature2'], + 'PrefixName' => ['type' => 'string', 'example' => 'cand_seq__', 'description' => '', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', + 'Relations' => [ + 'title' => '', + 'description' => 'Feature relations.', + 'type' => 'object', + 'properties' => [ + 'Domains' => [ + 'title' => '', + 'description' => 'Domain list.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Id' => ['title' => '', 'description' => 'Domain ID.', 'type' => 'string', 'example' => '3'], + 'Name' => ['title' => '', 'description' => 'Domain name.', 'type' => 'string', 'example' => 'feature_entity_1'], + 'DomainType' => ['title' => '', 'description' => 'Domain type.'."\n" + ."\n" + .'● FeatureEntity - Feature entity'."\n" + ."\n" + .'● FeatureView - Feature view'."\n" + ."\n" + .'● ModelFeature - Model feature', 'type' => 'string', 'example' => 'FeatureEntity'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'Links' => [ + 'title' => '', + 'description' => 'Feature relation link information list.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'From' => ['title' => '', 'description' => 'Source ID of the link.', 'type' => 'string', 'example' => 'model_feature_2'], + 'To' => ['title' => '', 'description' => 'Target ID of the link.', 'type' => 'string', 'example' => 'feature_entity_3'], + 'Link' => ['title' => '', 'description' => 'Link dependency field.', 'type' => 'string', 'example' => 'user_id'], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + ], + 'example' => '', ], + 'ExportTrainingSetTableScript' => ['title' => '', 'description' => 'Script for exporting the training set table.', 'type' => 'string', 'example' => 'from feature_store_py.fs_client import FeatureStoreClient\\nfrom feature_store_py.fs_project import FeatureStoreProject\\nfrom feature_store_py.fs_datasource import LabelInput, MaxComputeDataSource, TrainingSetOutput\\nfrom feature_store_py.fs_features import FeatureSelector\\nfrom feature_store_py.fs_config import LabelInputConfig, PartitionConfig, FeatureViewConfig\\nfrom feature_store_py.fs_config import TrainSetOutputConfig, EASDeployConfig\\nimport datetime\\nimport sys\\n\\ncur_day = args[\'dt\']\\nprint(\'cur_day = \', cur_day)\\noffset = datetime.timedelta(days=-1)\\npre_day = (datetime.datetime.strptime(cur_day, \'%Y%m%d\') + offset).strftime(\'%Y%m%d\')\\nprint(\'pre_day = \', pre_day)\\n\\n\\naccess_key_id = o.account.access_id\\naccess_key_secret = o.account.secret_access_key\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\ncur_project_name = \'p1\'\\nproject = fs.get_project(cur_project_name)\\n\\nlabel_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\nlabel_input_config = LabelInputConfig(partition_config=label_partitions)\\n\\nfeature_view_1_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\nfeature_view_1_config = FeatureViewConfig(name = \'user_fea\',\\npartition_config=feature_view_1_partitions)\\n\\nfeature_view_2_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\nfeature_view_2_config = FeatureViewConfig(name = \'seq_fea\',\\npartition_config=feature_view_2_partitions)\\n\\nfeature_view_3_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\nfeature_view_3_config = FeatureViewConfig(name = \'item_fea\',\\npartition_config=feature_view_3_partitions)\\n\\nfeature_view_config_list = [feature_view_1_config,feature_view_2_config,feature_view_3_config]\\ntrain_set_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\ntrain_set_output_config = TrainSetOutputConfig(partition_config=train_set_partitions)\\n\\n\\nmodel_name = \'rank_v1\'\\ncur_model = project.get_model(model_name)\\ntask = cur_model.export_train_set(label_input_config, feature_view_config_list, train_set_output_config)\\ntask.wait()\\nprint(\'task_summary = \', task.task_summary)\\n'], + 'LabelPriorityLevel' => ['title' => '', 'description' => 'Label table priority. The default value is 0. Set to 1 to give priority to the label table, or set to 2 to give priority to the feature view.', 'type' => 'integer', 'format' => 'int64', 'example' => '0'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'GetModelFeature', + 'summary' => 'Gets detailed information about a model feature, including the selected feature list, lineage relations, and training set export script.', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-09-03T08:10:50.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-01-29T07:38:08.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"977ADE3A-D69D-58AD-8323-96E2FB898E99\\",\\n \\"ProjectId\\": \\"3\\"\\n}","type":"json"}]', - ], - 'ListProjects' => [ - 'summary' => '获取Feature Store项目列表。', - 'path' => '/api/v1/instances/{InstanceId}/projects', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModelFeature'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"ProjectId\\": \\"5\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"Name\\": \\"model_feature1\\",\\n \\"Owner\\": \\"1231243253****\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"LabelTableId\\": \\"3\\",\\n \\"LabelTableName\\": \\"label_table1\\",\\n \\"TrainingSetTable\\": \\"table1\\",\\n \\"TrainingSetFGTable\\": \\"table2\\",\\n \\"Features\\": [\\n {\\n \\"FeatureViewId\\": \\"3\\",\\n \\"FeatureViewName\\": \\"feature_view_1\\",\\n \\"Name\\": \\"feature1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"AliasName\\": \\"feature2\\",\\n \\"PrefixName\\": \\"cand_seq__\\"\\n }\\n ],\\n \\"Relations\\": {\\n \\"Domains\\": [\\n {\\n \\"Id\\": \\"3\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"DomainType\\": \\"FeatureEntity\\"\\n }\\n ],\\n \\"Links\\": [\\n {\\n \\"From\\": \\"model_feature_2\\",\\n \\"To\\": \\"feature_entity_3\\",\\n \\"Link\\": \\"user_id\\"\\n }\\n ]\\n },\\n \\"ExportTrainingSetTableScript\\": \\"from feature_store_py.fs_client import FeatureStoreClient\\\\\\\\nfrom feature_store_py.fs_project import FeatureStoreProject\\\\\\\\nfrom feature_store_py.fs_datasource import LabelInput, MaxComputeDataSource, TrainingSetOutput\\\\\\\\nfrom feature_store_py.fs_features import FeatureSelector\\\\\\\\nfrom feature_store_py.fs_config import LabelInputConfig, PartitionConfig, FeatureViewConfig\\\\\\\\nfrom feature_store_py.fs_config import TrainSetOutputConfig, EASDeployConfig\\\\\\\\nimport datetime\\\\\\\\nimport sys\\\\\\\\n\\\\\\\\ncur_day = args[\'dt\']\\\\\\\\nprint(\'cur_day = \', cur_day)\\\\\\\\noffset = datetime.timedelta(days=-1)\\\\\\\\npre_day = (datetime.datetime.strptime(cur_day, \'%Y%m%d\') + offset).strftime(\'%Y%m%d\')\\\\\\\\nprint(\'pre_day = \', pre_day)\\\\\\\\n\\\\\\\\n\\\\\\\\naccess_key_id = o.account.access_id\\\\\\\\naccess_key_secret = o.account.secret_access_key\\\\\\\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\\\\\\\ncur_project_name = \'p1\'\\\\\\\\nproject = fs.get_project(cur_project_name)\\\\\\\\n\\\\\\\\nlabel_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\\\\\\\nlabel_input_config = LabelInputConfig(partition_config=label_partitions)\\\\\\\\n\\\\\\\\nfeature_view_1_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\\\\\\\nfeature_view_1_config = FeatureViewConfig(name = \'user_fea\',\\\\\\\\npartition_config=feature_view_1_partitions)\\\\\\\\n\\\\\\\\nfeature_view_2_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\\\\\\\nfeature_view_2_config = FeatureViewConfig(name = \'seq_fea\',\\\\\\\\npartition_config=feature_view_2_partitions)\\\\\\\\n\\\\\\\\nfeature_view_3_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\\\\\\\nfeature_view_3_config = FeatureViewConfig(name = \'item_fea\',\\\\\\\\npartition_config=feature_view_3_partitions)\\\\\\\\n\\\\\\\\nfeature_view_config_list = [feature_view_1_config,feature_view_2_config,feature_view_3_config]\\\\\\\\ntrain_set_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\\\\\\\ntrain_set_output_config = TrainSetOutputConfig(partition_config=train_set_partitions)\\\\\\\\n\\\\\\\\n\\\\\\\\nmodel_name = \'rank_v1\'\\\\\\\\ncur_model = project.get_model(model_name)\\\\\\\\ntask = cur_model.export_train_set(label_input_config, feature_view_config_list, train_set_output_config)\\\\\\\\ntask.wait()\\\\\\\\nprint(\'task_summary = \', task.task_summary)\\\\\\\\n\\",\\n \\"LabelPriorityLevel\\": 0\\n}","type":"json"}]', + ], + 'GetModelFeatureFGFeature' => [ + 'summary' => 'Retrieves the Feature Generation (FG) feature configuration of a model feature.', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fgfeature', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '205386', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], - ], - [ - 'name' => 'WorkspaceId', - 'in' => 'query', - 'schema' => [ - 'title' => '工作空间ID,可通过工作空间接口ListWorkspaces获取。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '234', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '项目名称过滤。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'fs1', - ], - ], - [ - 'name' => 'Owner', - 'in' => 'query', - 'schema' => [ - 'title' => '项目所有者。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '134324352****', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The ID of the instance. You can call the ListInstances operation to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Asc', - ], - ], - [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtModifiedTime', - ], - ], - [ - 'name' => 'ProjectIds', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'title' => '项目ID过滤。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], - 'required' => false, - ], + 'name' => 'ModelFeatureId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the model feature. You can call the ListModelFeatures operation to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], ], 'responses' => [ @@ -3050,192 +2931,202 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '44933189-493B-5C43-A5C6-11EEC2A43520', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The ID of the request.', 'type' => 'string', 'example' => 'E23EFF09-58AA-5420-934F-8453AE01548D'], + 'RawFeatures' => [ + 'title' => '', + 'description' => 'The information about the raw features.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InputFeatureName' => ['description' => 'The name of the original feature.', 'type' => 'string', 'example' => 'item_id', 'title' => ''], + 'FeatureDomain' => ['description' => 'The domain of the original feature.'."\n" + ."\n" + .'- User: The user side.'."\n" + ."\n" + .'- Item: The item side.'."\n" + ."\n" + .'- Context: The context.', 'type' => 'string', 'example' => 'User', 'title' => ''], + 'FeatureName' => ['description' => 'The name of the generated feature.', 'type' => 'string', 'example' => 'item_id', 'title' => ''], + 'FeatureType' => ['description' => 'The type of the raw FG feature.'."\n" + ."\n" + .'- IdFeature: The primary key.'."\n" + ."\n" + .'- RawFeature: The raw feature.', 'type' => 'string', 'example' => 'IdFeature', 'title' => ''], + 'ValueType' => ['description' => 'The value type of the feature.'."\n" + ."\n" + .'- INTEGER'."\n" + ."\n" + .'- DOUBLE'."\n" + ."\n" + .'- STRING', 'type' => 'string', 'example' => 'STRING', 'title' => ''], + 'DefaultValue' => ['description' => 'The default value.', 'type' => 'string', 'example' => '-1024', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', ], - 'Projects' => [ - 'title' => '项目列表。', - 'description' => '', + 'LookupFeatures' => [ + 'title' => '', + 'description' => 'The information about the lookup features.', 'type' => 'array', 'items' => [ + 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'Name' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'project1', - ], - 'Description' => [ - 'title' => '项目描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'This is a test.', - ], - 'OfflineDatasourceType' => [ - 'title' => '离线数据源类型。', - 'description' => '', - 'type' => 'string', - 'example' => 'MaxCompute', - ], - 'OfflineDatasourceId' => [ - 'title' => '离线数据源ID。', - 'description' => '', - 'type' => 'string', - 'example' => '4', - ], - 'OfflineDatasourceName' => [ - 'title' => '离线数据源名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'OnlineDatasourceType' => [ - 'title' => '在线数据源类型。', - 'description' => '', - 'type' => 'string', - 'example' => 'Hologres', - ], - 'OnlineDatasourceId' => [ - 'title' => '在线数据源ID。', - 'description' => '', - 'type' => 'string', - 'example' => '5', - ], - 'OnlineDatasourceName' => [ - 'title' => '在线数据源名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'datasource2', - ], - 'OfflineLifecycle' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '离线数据表生命周期。', - ], - 'FeatureEntityCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '特征实体数量。', - ], - 'FeatureViewCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '特征视图数量。', - ], - 'ModelCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - 'title' => '模型特征数量。', - ], - 'Owner' => [ - 'title' => '项目所有者。', - 'description' => '', - 'type' => 'string', - 'example' => '1232132543543****', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', + 'MapFeatureName' => ['description' => 'The name of the map feature.', 'type' => 'string', 'example' => 'item_id', 'title' => ''], + 'MapFeatureDomain' => ['description' => 'The domain of the map feature.'."\n" + ."\n" + .'- User: The user side.'."\n" + ."\n" + .'- Item: The item side.'."\n" + ."\n" + .'- Context: The context.', 'type' => 'string', 'example' => 'User', 'title' => ''], + 'FeatureName' => ['description' => 'The name of the generated feature.', 'type' => 'string', 'example' => 'item_id', 'title' => ''], + 'ValueType' => ['description' => 'The value type of the feature.'."\n" + ."\n" + .'- INTEGER'."\n" + ."\n" + .'- DOUBLE'."\n" + ."\n" + .'- STRING', 'type' => 'string', 'example' => 'STRING', 'title' => ''], + 'DefaultValue' => ['description' => 'The default value.', 'type' => 'string', 'example' => '-1024', 'title' => ''], + 'KeyFeatureName' => ['description' => 'The name of the key feature.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'KeyFeatureDomain' => ['description' => 'The domain of the key feature.'."\n" + ."\n" + .'- User: The user side.'."\n" + ."\n" + .'- Item: The item side.'."\n" + ."\n" + .'- Context: The context.', 'type' => 'string', 'example' => 'Item', 'title' => ''], + ], + 'example' => '', + ], + 'example' => '', + ], + 'SequenceFeatures' => [ + 'title' => '', + 'description' => 'The information about the sequence features.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FeatureName' => ['description' => 'The name of the sequence feature.', 'type' => 'string', 'example' => 'item_id', 'title' => ''], + 'SequenceLength' => ['description' => 'The maximum length of the sequence feature.', 'type' => 'integer', 'format' => 'int64', 'example' => '50', 'title' => ''], + 'SequenceDelim' => ['description' => 'The separator for the sequence feature.', 'type' => 'string', 'example' => ';', 'title' => ''], + 'AttributeDelim' => ['description' => 'The separator for feature attributes.', 'type' => 'string', 'example' => '#', 'title' => ''], + 'SubFeatures' => [ + 'title' => '', + 'description' => 'A list of sub-features for the sequence feature.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'InputFeatureName' => ['description' => 'The name of the original feature.', 'type' => 'string', 'example' => 'item_id', 'title' => ''], + 'FeatureDomain' => ['description' => 'The domain of the original feature.'."\n" + ."\n" + .'- User: The user side.'."\n" + ."\n" + .'- Item: The item side.'."\n" + ."\n" + .'- Context: The context.', 'type' => 'string', 'example' => 'User', 'title' => ''], + 'FeatureName' => ['description' => 'The name of the generated feature.', 'type' => 'string', 'example' => 'item_id', 'title' => ''], + 'FeatureType' => ['description' => 'The type of the FG feature.'."\n" + ."\n" + .'- IdFeature: The primary key.'."\n" + ."\n" + .'- RawFeature: The raw feature.', 'type' => 'string', 'example' => 'IdFeature', 'title' => ''], + 'ValueType' => ['description' => 'The value type of the feature.'."\n" + ."\n" + .'- INTEGER'."\n" + ."\n" + .'- DOUBLE'."\n" + ."\n" + .'- STRING', 'type' => 'string', 'example' => 'STRING', 'title' => ''], + 'DefaultValue' => ['description' => 'The default value.', 'type' => 'string', 'example' => '-1024', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', + ], + 'Reserves' => [ + 'title' => '', + 'description' => 'The reserved fields.', + 'type' => 'array', + 'items' => ['description' => 'The name of the reserved field.', 'type' => 'string', 'example' => 'f1', 'title' => ''], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E23EFF09-58AA-5420-934F-8453AE01548D\\",\\n \\"RawFeatures\\": [\\n {\\n \\"InputFeatureName\\": \\"item_id\\",\\n \\"FeatureDomain\\": \\"User\\",\\n \\"FeatureName\\": \\"item_id\\",\\n \\"FeatureType\\": \\"IdFeature\\",\\n \\"ValueType\\": \\"STRING\\",\\n \\"DefaultValue\\": \\"-1024\\"\\n }\\n ],\\n \\"LookupFeatures\\": [\\n {\\n \\"MapFeatureName\\": \\"item_id\\",\\n \\"MapFeatureDomain\\": \\"User\\",\\n \\"FeatureName\\": \\"item_id\\",\\n \\"ValueType\\": \\"STRING\\",\\n \\"DefaultValue\\": \\"-1024\\",\\n \\"KeyFeatureName\\": \\"1\\",\\n \\"KeyFeatureDomain\\": \\"Item\\"\\n }\\n ],\\n \\"SequenceFeatures\\": [\\n {\\n \\"FeatureName\\": \\"item_id\\",\\n \\"SequenceLength\\": 50,\\n \\"SequenceDelim\\": \\";\\",\\n \\"AttributeDelim\\": \\"#\\",\\n \\"SubFeatures\\": [\\n {\\n \\"InputFeatureName\\": \\"item_id\\",\\n \\"FeatureDomain\\": \\"User\\",\\n \\"FeatureName\\": \\"item_id\\",\\n \\"FeatureType\\": \\"IdFeature\\",\\n \\"ValueType\\": \\"STRING\\",\\n \\"DefaultValue\\": \\"-1024\\"\\n }\\n ]\\n }\\n ],\\n \\"Reserves\\": [\\n \\"f1\\"\\n ]\\n}","type":"json"}]', + 'title' => 'Obtain the FG feature configuration information of a model feature. ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModelFeatureFGFeature'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetModelFeatureFGFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44933189-493B-5C43-A5C6-11EEC2A43520\\",\\n \\"TotalCount\\": 10,\\n \\"Projects\\": [\\n {\\n \\"ProjectId\\": \\"3\\",\\n \\"Name\\": \\"project1\\",\\n \\"Description\\": \\"This is a test.\\",\\n \\"OfflineDatasourceType\\": \\"MaxCompute\\",\\n \\"OfflineDatasourceId\\": \\"4\\",\\n \\"OfflineDatasourceName\\": \\"datasource1\\",\\n \\"OnlineDatasourceType\\": \\"Hologres\\",\\n \\"OnlineDatasourceId\\": \\"5\\",\\n \\"OnlineDatasourceName\\": \\"datasource2\\",\\n \\"OfflineLifecycle\\": 10,\\n \\"FeatureEntityCount\\": 10,\\n \\"FeatureViewCount\\": 10,\\n \\"ModelCount\\": 5,\\n \\"Owner\\": \\"1232132543543****\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'GetProject' => [ - 'summary' => '获取指定Feature Store项目详细信息。', - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'GetModelFeatureFGInfo' => [ + 'summary' => 'Retrieves the fg.json file configuration for a model feature.', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fginfo', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '205348', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. Call the ListInstances operation to obtain the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'ProjectId', + 'name' => 'ModelFeatureId', 'in' => 'path', - 'schema' => [ - 'title' => '项目ID,可通过接口ListProjects获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '4', - ], + 'schema' => ['description' => 'The model feature ID. Call the ListModelFeatures operation to obtain the model feature ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], ], 'responses' => [ @@ -3245,569 +3136,478 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6', - ], - 'Name' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'project1', - ], - 'Description' => [ - 'title' => '项目描述。', - 'description' => '', - 'type' => 'string', - 'example' => 'This is a test.', - ], - 'OfflineDatasourceType' => [ - 'title' => '离线数据源类型。', - 'description' => '', - 'type' => 'string', - 'example' => 'MaxCompute', - ], - 'OfflineDatasourceId' => [ - 'title' => '离线数据源ID。', - 'description' => '', - 'type' => 'string', - 'example' => '4', - ], - 'OfflineDatasourceName' => [ - 'title' => '离线数据源名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'OnlineDatasourceType' => [ - 'title' => '在线数据源类型。', - 'description' => '', - 'type' => 'string', - 'example' => 'Hologres', - ], - 'OnlineDatasourceId' => [ - 'title' => '在线数据源ID。', - 'description' => '', - 'type' => 'string', - 'example' => '5', - ], - 'OnlineDatasourceName' => [ - 'title' => '在线数据源名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'datasource2', - ], - 'OfflineLifecycle' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '90', - 'title' => '离线数据表生命周期。', - ], - 'FeatureEntityCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '特征实体数量。', - ], - 'FeatureViewCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - 'title' => '特征视图数量。', - ], - 'ModelCount' => [ - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '5', - 'title' => '模型特征数量。', - ], - 'Owner' => [ - 'title' => '项目所有者。', - 'description' => '', - 'type' => 'string', - 'example' => '1232132543543****', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8'], + 'Content' => ['description' => 'The content of the fg.json configuration file.', 'type' => 'string', 'example' => '{"features": [{"feature_name": "item_id","feature_type": "id_feature","value_type": "String","expression": "item:item_id","default_value": "-1024","combiner": "mean","need_prefix": false},{"feature_name": "f1","feature_type": "lookup_feature","value_type": "Integer","map": "item:f1","key": "user:1","default_value": "0","combiner": "mean","need_prefix": false,"needDiscrete": false,"needWeighting": false,"needKey": false}],"reserves": ["f1"]}', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8\\",\\n \\"Content\\": \\"{\\\\\\"features\\\\\\": [{\\\\\\"feature_name\\\\\\": \\\\\\"item_id\\\\\\",\\\\\\"feature_type\\\\\\": \\\\\\"id_feature\\\\\\",\\\\\\"value_type\\\\\\": \\\\\\"String\\\\\\",\\\\\\"expression\\\\\\": \\\\\\"item:item_id\\\\\\",\\\\\\"default_value\\\\\\": \\\\\\"-1024\\\\\\",\\\\\\"combiner\\\\\\": \\\\\\"mean\\\\\\",\\\\\\"need_prefix\\\\\\": false},{\\\\\\"feature_name\\\\\\": \\\\\\"f1\\\\\\",\\\\\\"feature_type\\\\\\": \\\\\\"lookup_feature\\\\\\",\\\\\\"value_type\\\\\\": \\\\\\"Integer\\\\\\",\\\\\\"map\\\\\\": \\\\\\"item:f1\\\\\\",\\\\\\"key\\\\\\": \\\\\\"user:1\\\\\\",\\\\\\"default_value\\\\\\": \\\\\\"0\\\\\\",\\\\\\"combiner\\\\\\": \\\\\\"mean\\\\\\",\\\\\\"need_prefix\\\\\\": false,\\\\\\"needDiscrete\\\\\\": false,\\\\\\"needWeighting\\\\\\": false,\\\\\\"needKey\\\\\\": false}],\\\\\\"reserves\\\\\\": [\\\\\\"f1\\\\\\"]}\\"\\n}","type":"json"}]', + 'title' => 'Obtain the configuration information of the fg.json file for a model feature', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModelFeatureFGInfo'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetModelFeatureFGInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\",\\n \\"Name\\": \\"project1\\",\\n \\"Description\\": \\"This is a test.\\",\\n \\"OfflineDatasourceType\\": \\"MaxCompute\\",\\n \\"OfflineDatasourceId\\": \\"4\\",\\n \\"OfflineDatasourceName\\": \\"datasource1\\",\\n \\"OnlineDatasourceType\\": \\"Hologres\\",\\n \\"OnlineDatasourceId\\": \\"5\\",\\n \\"OnlineDatasourceName\\": \\"datasource2\\",\\n \\"OfflineLifecycle\\": 90,\\n \\"FeatureEntityCount\\": 10,\\n \\"FeatureViewCount\\": 10,\\n \\"ModelCount\\": 5,\\n \\"Owner\\": \\"1232132543543****\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\"\\n}","type":"json"}]', ], - 'UpdateProject' => [ - 'summary' => '更新指定Feature Store项目信息。', + 'GetProject' => [ 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The ID of the instance. Call the `ListInstances` operation to get this ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'path', - 'schema' => [ - 'title' => '项目ID,可通过接口ListProjects获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - ], - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'project1', - ], - 'Description' => [ - 'title' => '项目描述。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'This is a test.', - ], - ], - 'required' => false, - ], + 'schema' => ['description' => 'The ID of the project. Call the `ListProjects` operation to get this ID.', 'type' => 'string', 'required' => true, 'example' => '4', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The data returned for the request.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '2150233F-A1F7-54D2-B5B5-8A70567549BD', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6'], + 'Name' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'project1', 'title' => ''], + 'Description' => ['description' => 'The project description.', 'type' => 'string', 'example' => 'This is a test.', 'title' => ''], + 'OfflineDatasourceType' => ['description' => 'The type of the offline data source. For example, `MaxCompute`.', 'type' => 'string', 'example' => 'MaxCompute', 'title' => ''], + 'OfflineDatasourceId' => ['description' => 'The offline data source ID.', 'type' => 'string', 'example' => '4', 'title' => ''], + 'OfflineDatasourceName' => ['description' => 'The offline data source name.', 'type' => 'string', 'example' => 'datasource1', 'title' => ''], + 'OnlineDatasourceType' => ['description' => 'The online data source type.'."\n" + ."\n" + .'- Hologres'."\n" + ."\n" + .'- Redis', 'type' => 'string', 'example' => 'Hologres', 'title' => ''], + 'OnlineDatasourceId' => ['description' => 'The online data source ID.', 'type' => 'string', 'example' => '5', 'title' => ''], + 'OnlineDatasourceName' => ['description' => 'The online data source name.', 'type' => 'string', 'example' => 'datasource2', 'title' => ''], + 'OfflineLifecycle' => ['description' => 'The offline data lifecycle, in days.', 'type' => 'integer', 'format' => 'int32', 'example' => '90', 'title' => ''], + 'FeatureEntityCount' => ['description' => 'The number of feature entities.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'FeatureViewCount' => ['description' => 'The number of feature views.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'ModelCount' => ['description' => 'The number of models.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'Owner' => ['description' => 'The Alibaba Cloud account ID of the project owner.', 'type' => 'string', 'example' => '1232132543543****', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The modification time.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + 'WorkspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => '35523', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Get Project Details', + 'summary' => 'Gets the details of a project, including its data source bindings and resource counts.', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2150233F-A1F7-54D2-B5B5-8A70567549BD\\"\\n}","type":"json"}]', - ], - 'DeleteProject' => [ - 'summary' => '删除指定Feature Store项目。', - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', - 'methods' => [ - 'delete', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProject'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\",\\n \\"Name\\": \\"project1\\",\\n \\"Description\\": \\"This is a test.\\",\\n \\"OfflineDatasourceType\\": \\"MaxCompute\\",\\n \\"OfflineDatasourceId\\": \\"4\\",\\n \\"OfflineDatasourceName\\": \\"datasource1\\",\\n \\"OnlineDatasourceType\\": \\"Hologres\\",\\n \\"OnlineDatasourceId\\": \\"5\\",\\n \\"OnlineDatasourceName\\": \\"datasource2\\",\\n \\"OfflineLifecycle\\": 90,\\n \\"FeatureEntityCount\\": 10,\\n \\"FeatureViewCount\\": 10,\\n \\"ModelCount\\": 5,\\n \\"Owner\\": \\"1232132543543****\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"WorkspaceId\\": \\"35523\\"\\n}","type":"json"}]', + ], + 'GetProjectFeatureEntity' => [ + 'summary' => 'Retrieve details of a feature entity in a project by name.', + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureentities/{FeatureEntityName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'Instance ID. Get it from the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'path', - 'schema' => [ - 'title' => '项目ID,可通过接口ListProjects获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['description' => 'Project ID. Get it from the ListProjects operation.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'FeatureEntityName', + 'in' => 'path', + 'schema' => ['description' => 'Feature entity name.', 'type' => 'string', 'required' => true, 'example' => 'feature_entity_1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'Response schema', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '0DA35264-0877-5852-8971-7735B547C969', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '37D19490-AB69-567D-A852-407C94E510E9'], + 'Name' => ['description' => 'Feature entity name.', 'type' => 'string', 'example' => 'feature_entity_1', 'title' => ''], + 'FeatureEntityId' => ['description' => 'Feature entity ID.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'ProjectName' => ['description' => 'Project name.', 'type' => 'string', 'example' => 'project_1', 'title' => ''], + 'WorkspaceId' => ['description' => 'Workspace ID.', 'type' => 'string', 'example' => '34245', 'title' => ''], + 'JoinId' => ['description' => 'Join ID used to associate with feature views.', 'type' => 'string', 'example' => 'user_id', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"FeatureEntityId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"WorkspaceId\\": \\"34245\\",\\n \\"JoinId\\": \\"user_id\\"\\n}","type":"json"}]', + 'title' => 'Obtain the details of a specified feature entity under a project', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProjectFeatureEntity'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetProjectFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0DA35264-0877-5852-8971-7735B547C969\\"\\n}","type":"json"}]', ], - 'ListProjectFeatures' => [ - 'summary' => '获取项目下所有特征信息', - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/features', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'https', - ], + 'GetServiceIdentityRole' => [ + 'summary' => 'Queries the details of a service-linked role and verifies whether the role exists and is available.', + 'path' => '/api/v1/serviceidentityroles/{RoleName}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], - ], - [ - 'name' => 'ProjectId', + 'name' => 'RoleName', 'in' => 'path', - 'schema' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => '', 'description' => 'The name of the service account role.', 'type' => 'string', 'required' => true, 'example' => 'AliyunServiceRoleForFeatureStore'], ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '特征名称,支持模糊搜索。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'f1', - ], - ], - [ - 'name' => 'AliasName', - 'in' => 'query', - 'schema' => [ - 'title' => '特征别名,支持模糊搜索。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ff1', - ], - ], - [ - 'name' => 'Filter', - 'in' => 'query', + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '其它过滤条件,JSON格式填入,AND条件查询。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '{"feature_view_name":"fv1"}', + 'title' => '', + 'description' => 'Schema of Response', + 'type' => 'object', + 'properties' => [ + 'RequestId' => ['title' => '', 'description' => '请求ID。', 'type' => 'string', 'example' => '6F629E92-F64D-502D-85AA-A9C54894CA3D'], + 'RoleName' => ['title' => '', 'description' => '服务账户角色名称。', 'type' => 'string', 'example' => 'AliyunServiceRoleForPaiFeatureStore'], + 'Policy' => ['title' => '', 'description' => '关联策略。', 'type' => 'string', 'example' => '{'."\n" + .'"Version": "1",'."\n" + .'"Statement":[]'."\n" + .'}'], + ], + 'example' => '', ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6F629E92-F64D-502D-85AA-A9C54894CA3D\\",\\n \\"RoleName\\": \\"AliyunServiceRoleForPaiFeatureStore\\",\\n \\"Policy\\": \\"{\\\\n\\\\\\"Version\\\\\\": \\\\\\"1\\\\\\",\\\\n\\\\\\"Statement\\\\\\":[]\\\\n}\\"\\n}","type":"json"}]', + 'title' => 'Get service account role', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetServiceIdentityRole'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetServiceIdentityRole', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], + ], + ], + 'GetTask' => [ + 'summary' => 'Gets the details of an asynchronous task.', + 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], + 'security' => [ [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'AK' => [], ], + ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', + 'deprecated' => false, + 'systemTags' => [ + 'operationType' => 'get', + 'riskType' => 'none', + 'chargeType' => 'free', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], + ], + 'parameters' => [ [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ModelFeatureCount', - ], + 'name' => 'InstanceId', + 'in' => 'path', + 'schema' => ['description' => 'The instance ID. Call the ListInstances API to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Desc', - ], + 'name' => 'TaskId', + 'in' => 'path', + 'schema' => ['description' => 'The task ID. Call the ListTasks API to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '7D497816-607C-5B67-97B1-61354B6ACB2B', - ], - 'Features' => [ - 'title' => '特征列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '特征名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'f1', - ], - 'Type' => [ - 'title' => '字段类型。', - 'description' => '', - 'type' => 'string', - 'example' => 'STRING', - ], - 'FeatureViewId' => [ - 'title' => '所属特征视图ID。', - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - 'FeatureViewName' => [ - 'title' => '所属特征视图名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'fv1', - ], - 'Owner' => [ - 'title' => '特征创建者。', - 'description' => '', - 'type' => 'string', - 'example' => '123456', - ], - 'ModelFeatureCount' => [ - 'title' => '被多少个模型特征使用。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'AliasNames' => [ - 'title' => '特征别名列表,由逗号分隔。', - 'description' => '', - 'type' => 'string', - 'example' => 'age1,age2', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - ], - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '37D19490-AB69-567D-A852-407C94E510E9'], + 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'project_1', 'title' => ''], + 'Type' => ['description' => 'The task type.'."\n" + ."\n" + .'- OfflineToOnline: offline-to-online data synchronization'."\n" + ."\n" + .'- ExportTrainingSet: training sample table export', 'type' => 'string', 'example' => 'OfflineToOnline', 'title' => ''], + 'ObjectType' => ['description' => 'The type of the target object.'."\n" + ."\n" + .'- ModelFeature: model feature'."\n" + ."\n" + .'- FeatureView: feature view', 'type' => 'string', 'example' => 'ModelFeature', 'title' => ''], + 'ObjectId' => ['description' => 'The ID of the target object.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'Status' => ['description' => 'The status of the task.'."\n" + ."\n" + .'- Initializing: The task is initializing.'."\n" + ."\n" + .'- Running: The task is running.'."\n" + ."\n" + .'- Success: The task completed successfully.'."\n" + ."\n" + .'- Failure: The task failed.', 'type' => 'string', 'example' => 'Running', 'title' => ''], + 'Config' => ['description' => 'The task configuration.', 'type' => 'string', 'example' => '{'."\n" + .' "mode": "overwrite",'."\n" + .' "partitions": {'."\n" + .' "dt": "20230820"'."\n" + .' },'."\n" + .' "event_time": "",'."\n" + .' "config": {},'."\n" + .' "offline_to_online": true'."\n" + .'}', 'title' => ''], + 'RunningConfig' => ['description' => 'The task runtime configuration.', 'type' => 'string', 'example' => 'DROP TABLE IF EXISTS public.fsxxx', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The update time.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'GmtExecutedTime' => ['description' => 'The execution time.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'GmtFinishedTime' => ['description' => 'The completion time.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"Type\\": \\"OfflineToOnline\\",\\n \\"ObjectType\\": \\"ModelFeature\\",\\n \\"ObjectId\\": \\"3\\",\\n \\"Status\\": \\"Running\\",\\n \\"Config\\": \\"{\\\\n\\\\t\\\\\\"mode\\\\\\": \\\\\\"overwrite\\\\\\",\\\\n\\\\t\\\\\\"partitions\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"dt\\\\\\": \\\\\\"20230820\\\\\\"\\\\n\\\\t},\\\\n\\\\t\\\\\\"event_time\\\\\\": \\\\\\"\\\\\\",\\\\n\\\\t\\\\\\"config\\\\\\": {},\\\\n\\\\t\\\\\\"offline_to_online\\\\\\": true\\\\n}\\",\\n \\"RunningConfig\\": \\"DROP TABLE IF EXISTS public.fsxxx\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtExecutedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtFinishedTime\\": \\"2023-07-04T11:26:09.036+08:00\\"\\n}","type":"json"}]', + 'title' => 'Obtain job details', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"requestId\\": \\"7D497816-607C-5B67-97B1-61354B6ACB2B\\",\\n \\"Features\\": [\\n {\\n \\"Name\\": \\"f1\\",\\n \\"Type\\": \\"STRING\\",\\n \\"FeatureViewId\\": \\"1\\",\\n \\"FeatureViewName\\": \\"fv1\\",\\n \\"Owner\\": \\"123456\\",\\n \\"ModelFeatureCount\\": 10,\\n \\"AliasNames\\": \\"age1,age2\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'ListProjectFeatureViews' => [ - 'summary' => '获取项目下的所有特征视图、特征信息。', - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureviews', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDatasourceFeatureViews' => [ + 'summary' => 'Retrieve all feature view information from the data source.', + 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/featureviews', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '259270', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'Instance ID. Get this ID using the ListInstances API.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'ProjectId', + 'name' => 'DatasourceId', 'in' => 'path', - 'schema' => [ - 'title' => '项目ID,可从接口ListProjects获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['description' => 'Data source ID. Get this ID using the ListDatasources API.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'Page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'Page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['description' => 'Sort by.', 'type' => 'string', 'example' => 'GmtCreateTime', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => 'Sort order.', 'type' => 'string', 'example' => 'Desc', 'title' => '', 'required' => false], + ], + [ + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['description' => 'Project ID. Get this ID using the ListProjects API.', 'type' => 'string', 'example' => '3', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'Fuzzy filter for feature view names.', 'type' => 'string', 'example' => 'fv', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => 'Feature view type.'."\n" + ."\n" + .'- Batch - offline feature'."\n" + ."\n" + .'- Stream - real-time feature'."\n" + ."\n" + .'- Sequence - sequence feature', 'type' => 'string', 'example' => 'Stream', 'title' => '', 'required' => false], + ], + [ + 'name' => 'All', + 'in' => 'query', + 'schema' => ['description' => 'Return all data (no paging).', 'type' => 'boolean', 'default' => 'false', 'title' => '', 'required' => false, 'example' => 'false'], + ], + [ + 'name' => 'ProjectName', + 'in' => 'query', + 'schema' => ['description' => 'Filter by project name.', 'type' => 'string', 'example' => 'fs_project', 'title' => '', 'required' => false], + ], + [ + 'name' => 'StartDate', + 'in' => 'query', + 'schema' => ['description' => 'Start time for query read/write volume. Format: yyyy-mm-dd.', 'type' => 'string', 'example' => '2025-03-14', 'title' => '', 'required' => false], + ], + [ + 'name' => 'EndDate', + 'in' => 'query', + 'schema' => ['description' => 'End time for query read/write volume. Format: yyyy-mm-dd.', 'type' => 'string', 'example' => '2025-03-19', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Verbose', + 'in' => 'query', + 'schema' => ['description' => 'Show detailed information. If set to false, do not show UsageStatistics for each view; show only the total. Default is true.', 'type' => 'boolean', 'default' => 'true', 'title' => '', 'required' => false, 'example' => 'true'], + ], + [ + 'name' => 'ShowStorageUsage', + 'in' => 'query', + 'schema' => ['description' => 'Show storage usage. Default is true.', 'type' => 'boolean', 'default' => 'true', 'title' => '', 'required' => false, 'example' => 'true'], ], ], 'responses' => [ @@ -3817,354 +3617,358 @@ 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'AE2AF33E-0C0D-51A8-B89B-C5F1DF261D92', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', + 'TotalCount' => ['description' => 'Total count.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Id of the request', 'type' => 'string', 'example' => '514F82AF-3C04-5C3D-8F38-A11261BF37B0'], + 'TotalUsageStatistics' => [ + 'title' => '', + 'description' => 'Overall usage statistics. Only displayed for feature views using FeatureDB.', + 'type' => 'object', + 'properties' => [ + 'TotalDiskUsage' => ['description' => 'Total disk usage.', 'type' => 'number', 'format' => 'double', 'example' => '12.3', 'title' => ''], + 'TotalMemoryUsage' => ['description' => 'Total memory usage.', 'type' => 'number', 'format' => 'double', 'example' => '1.23', 'title' => ''], + 'TotalReadWriteCount' => [ + 'title' => '', + 'description' => 'Total read/write count statistics.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Date' => ['description' => 'Date.', 'type' => 'string', 'example' => '2025-03-18T00:00:00+08:00', 'title' => ''], + 'TotalWriteCount' => ['description' => 'Total write count.', 'type' => 'integer', 'format' => 'int64', 'example' => '123', 'title' => ''], + 'TotalReadCount' => ['description' => 'Total read count.', 'type' => 'integer', 'format' => 'int64', 'example' => '456', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + ], + 'example' => '', ], 'FeatureViews' => [ - 'title' => '特征视图列表。', - 'description' => '', + 'title' => '', + 'description' => 'Feature view list.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '特征视图名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'feature_view1', - ], - 'FeatureViewId' => [ - 'title' => '特征视图ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'Features' => [ - 'title' => '特征列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '特征名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'f1', - ], - 'Type' => [ - 'title' => '特征类型。'."\n" - .'● INT32'."\n" - .'● INT64'."\n" - .'● FLOAT'."\n" - .'● DOUBLE'."\n" - .'● STRING'."\n" - .'● BOOLEAN'."\n" - .'● TIMESTAMP', - 'description' => '', - 'type' => 'string', - 'example' => 'INT32', - ], - 'Attributes' => [ - 'title' => '字段属性列表,可选值包括:'."\n" - .'● Partition-分区字段'."\n" - .'● PrimaryKey-主键'."\n" - .'● EventTime-事件时间', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Partition', + 'FeatureViewId' => ['description' => 'Feature view ID.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'Name' => ['description' => 'Feature view name.', 'type' => 'string', 'example' => 'fv1', 'title' => ''], + 'ProjectName' => ['description' => 'Project name.', 'type' => 'string', 'example' => 'p1', 'title' => ''], + 'Type' => ['description' => 'Feature view type.'."\n" + ."\n" + .'- Batch - offline feature'."\n" + ."\n" + .'- Stream - real-time feature'."\n" + ."\n" + .'- Sequence - sequence feature', 'type' => 'string', 'example' => 'Batch', 'title' => ''], + 'FeatureEntityName' => ['description' => 'Feature entity name.', 'type' => 'string', 'example' => 'user', 'title' => ''], + 'TTL' => ['description' => 'Lifecycle. Unit: seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '86400', 'title' => ''], + 'Config' => ['description' => 'Feature view configuration. Only feature views using FeatureDB have values, showing number of shards and number of replicas.', 'type' => 'string', 'example' => '{"shard_count":5,"replication_count":1}', 'title' => ''], + 'UsageStatistics' => [ + 'title' => '', + 'description' => 'Usage statistics. Only displayed for feature views using FeatureDB.', + 'type' => 'object', + 'properties' => [ + 'RowCount' => ['description' => 'Row count.', 'type' => 'integer', 'format' => 'int64', 'example' => '10000', 'title' => ''], + 'DiskUsage' => ['description' => 'Disk usage.', 'type' => 'number', 'format' => 'double', 'example' => '1.23', 'title' => ''], + 'MemoryUsage' => ['description' => 'Memory usage.', 'type' => 'number', 'format' => 'double', 'example' => '0.12', 'title' => ''], + 'ReadWriteCount' => [ + 'title' => '', + 'description' => 'Read/write count statistics.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'Date' => ['description' => 'Date.', 'type' => 'string', 'example' => '2025-03-18T00:00:00+08:00', 'title' => ''], + 'WriteCount' => ['description' => 'Write count.', 'type' => 'integer', 'format' => 'int64', 'example' => '100', 'title' => ''], + 'ReadCount' => ['description' => 'Read count.', 'type' => 'integer', 'format' => 'int64', 'example' => '200', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], - ], - 'Type' => [ - 'title' => '类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征'."\n" - .'● Sequence-序列特征', - 'type' => 'string', - ], - 'JoinId' => [ - 'title' => '特征实体的JoinId。', - 'type' => 'string', - 'example' => 'item_id', - ], - 'ParentJoinId' => [ - 'title' => '父特征实体的JoinId。', - 'type' => 'string', - 'example' => 'item_id', + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"requestId\\": \\"514F82AF-3C04-5C3D-8F38-A11261BF37B0\\",\\n \\"TotalUsageStatistics\\": {\\n \\"TotalDiskUsage\\": 12.3,\\n \\"TotalMemoryUsage\\": 1.23,\\n \\"TotalReadWriteCount\\": [\\n {\\n \\"Date\\": \\"2025-03-18T00:00:00+08:00\\",\\n \\"TotalWriteCount\\": 123,\\n \\"TotalReadCount\\": 456\\n }\\n ]\\n },\\n \\"FeatureViews\\": [\\n {\\n \\"FeatureViewId\\": \\"3\\",\\n \\"Name\\": \\"fv1\\",\\n \\"ProjectName\\": \\"p1\\",\\n \\"Type\\": \\"Batch\\",\\n \\"FeatureEntityName\\": \\"user\\",\\n \\"TTL\\": 86400,\\n \\"Config\\": \\"{\\\\\\"shard_count\\\\\\":5,\\\\\\"replication_count\\\\\\":1}\\",\\n \\"UsageStatistics\\": {\\n \\"RowCount\\": 10000,\\n \\"DiskUsage\\": 1.23,\\n \\"MemoryUsage\\": 0.12,\\n \\"ReadWriteCount\\": [\\n {\\n \\"Date\\": \\"2025-03-18T00:00:00+08:00\\",\\n \\"WriteCount\\": 100,\\n \\"ReadCount\\": 200\\n }\\n ]\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Obtain information of all feature views under a data source', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasourceFeatureViews'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListDatasourceFeatureViews', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AE2AF33E-0C0D-51A8-B89B-C5F1DF261D92\\",\\n \\"TotalCount\\": 10,\\n \\"FeatureViews\\": [\\n {\\n \\"Name\\": \\"feature_view1\\",\\n \\"FeatureViewId\\": \\"3\\",\\n \\"Features\\": [\\n {\\n \\"Name\\": \\"f1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ]\\n }\\n ],\\n \\"Type\\": \\"Batch\\",\\n \\"JoinId\\": \\"item_id\\",\\n \\"ParentJoinId\\": \\"item_id\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'GetProjectFeatureEntity' => [ - 'summary' => '获取项目下特征实体详细信息', - 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureentities/{FeatureEntityName}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListDatasourceTables' => [ + 'summary' => 'Lists the tables in a datasource. This operation supports only MaxCompute datasources.', + 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}/tables', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'get', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188514', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. You can get the instance ID by calling the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'ProjectId', + 'name' => 'DatasourceId', 'in' => 'path', - 'schema' => [ - 'title' => '项目ID,可从接口ListProjects获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['description' => 'The datasource ID. You can get the datasource ID by calling the ListDatasources operation.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], [ - 'name' => 'FeatureEntityName', - 'in' => 'path', - 'schema' => [ - 'title' => '特征实体名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'feature_entity_1', - ], + 'name' => 'TableName', + 'in' => 'query', + 'schema' => ['description' => 'Filters the results by table name.', 'type' => 'string', 'example' => 'table1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'SchemaName', + 'in' => 'query', + 'schema' => ['title' => 'Schema name.', 'description' => 'The schema name.', 'type' => 'string', 'example' => 'default', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'Response schema', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '37D19490-AB69-567D-A852-407C94E510E9', - ], - 'Name' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'feature_entity_1', - ], - 'FeatureEntityId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectName' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'project_1', - ], - 'WorkspaceId' => [ - 'description' => '', - 'type' => 'string', - 'example' => '34245', - ], - 'JoinId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'user_id', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA'], + 'TotalCount' => ['description' => 'The total count.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'Tables' => [ + 'title' => '', + 'description' => 'A list of tables.', + 'type' => 'array', + 'items' => ['description' => 'The table name.', 'type' => 'string', 'example' => 'table1', 'title' => ''], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"TotalCount\\": 10,\\n \\"Tables\\": [\\n \\"table1\\"\\n ]\\n}","type":"json"}]', + 'title' => 'Retrieve the list of data tables under a data source', + 'changeSet' => [ + ['createdAt' => '2025-09-18T06:15:45.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"FeatureEntityId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"WorkspaceId\\": \\"34245\\",\\n \\"JoinId\\": \\"user_id\\"\\n}","type":"json"}]', - ], - 'CreateFeatureEntity' => [ - 'summary' => '创建特征实体', - 'path' => '/api/v1/instances/{InstanceId}/featureentities', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasourceTables'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:ListDatasourceTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListDatasources' => [ + 'summary' => 'Lists the data sources in a FeatureStore instance. You can filter the results by workspace, type, and name.', + 'path' => '/api/v1/instances/{InstanceId}/datasources', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The ID of the FeatureStore instance. Call the ListInstances operation to get the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'featureStore-cn-XXXXXXX', 'title' => ''], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'title' => '', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'JoinId' => [ - 'title' => '关联特征视图用的join id。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'user_id ', - ], - 'Name' => [ - 'title' => '特征实体名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'feature_entity_1', - ], - 'ProjectId' => [ - 'title' => '项目ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - 'ParentFeatureEntityId' => [ - 'title' => '父特征实体ID。', - 'type' => 'string', - 'example' => '1', - ], - ], - 'required' => false, - ], + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the workspace. Call the [ListWorkspaces](~~449124~~) operation to get the workspace ID.', 'type' => 'string', 'required' => false, 'example' => '234', 'title' => ''], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => 'The type of the data source. Valid values:'."\n" + ."\n" + .'- Hologres'."\n" + ."\n" + .'- Redis'."\n" + ."\n" + .'- MaxCompute', 'type' => 'string', 'example' => 'MaxCompute', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The name of the data source.', 'type' => 'string', 'example' => 'datasource1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of data sources per page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Pages start from 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- Asc: ascending order.'."\n" + ."\n" + .'- Desc: descending order.', 'type' => 'string', 'example' => 'Asc', 'title' => '', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['description' => 'The field to sort by.', 'type' => 'string', 'example' => 'GmtModifiedTime', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => '', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8', - ], - 'FeatureEntityId' => [ - 'title' => '特征实体ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '44933189-493B-5C43-A5C6-11EEC2A43520'], + 'TotalCount' => ['description' => 'The total count of data sources.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'Datasources' => [ + 'title' => '', + 'description' => 'The list of data sources.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'DatasourceId' => ['description' => 'The ID of the data source.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'Name' => ['description' => 'The name of the data source.', 'type' => 'string', 'example' => 'datasource1', 'title' => ''], + 'Type' => ['description' => 'The type of the data source.'."\n" + ."\n" + .'- Hologres'."\n" + ."\n" + .'- Redis'."\n" + ."\n" + .'- MaxCompute', 'type' => 'string', 'example' => 'Hologres', 'title' => ''], + 'Uri' => ['description' => 'The resource URI.', 'type' => 'string', 'example' => 'igraph_instance1', 'title' => ''], + 'Config' => ['description' => 'The resource configuration.', 'type' => 'string', 'example' => '{"address": ""}', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The last modified time.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + 'WorkspaceId' => ['description' => 'The ID of the workspace.', 'type' => 'string', 'example' => '32324', 'title' => ''], + ], + 'description' => '', + 'title' => '', + 'example' => '', + ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44933189-493B-5C43-A5C6-11EEC2A43520\\",\\n \\"TotalCount\\": 10,\\n \\"Datasources\\": [\\n {\\n \\"DatasourceId\\": \\"3\\",\\n \\"Name\\": \\"datasource1\\",\\n \\"Type\\": \\"Hologres\\",\\n \\"Uri\\": \\"igraph_instance1\\",\\n \\"Config\\": \\"{\\\\\\"address\\\\\\": \\\\\\"\\\\\\"}\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"WorkspaceId\\": \\"32324\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Retrieve the data source list ', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasources'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListDatasources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"FeatureEntityId\\": \\"3\\"\\n}","type":"json"}]', ], 'ListFeatureEntities' => [ - 'summary' => '创建特征实体列表', + 'summary' => 'Lists the feature entities in a FeatureStore instance. You can filter the results by project, name, owner, and parent feature entity.', 'path' => '/api/v1/instances/{InstanceId}/featureentities', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ @@ -4172,129 +3976,73 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '188867', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The ID of the instance. To obtain the ID, call the `ListInstances` API operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'title' => '项目ID,可从接口ListProjects获取。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => 'The project ID. You can obtain this ID by calling the `ListProjects` operation.', 'type' => 'string', 'required' => false, 'example' => '3', 'title' => ''], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => '特征实体名称过滤。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'feature_entity_1', - ], + 'schema' => ['description' => 'Filters the results by feature entity name.', 'type' => 'string', 'example' => 'feature_entity_1', 'title' => '', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number. Values start at 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of entries to return on each page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false], ], [ 'name' => 'Owner', 'in' => 'query', - 'schema' => [ - 'title' => '创建人。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1231432*****', - ], + 'schema' => ['description' => 'The Alibaba Cloud account ID of the creator.', 'type' => 'string', 'example' => '1231432*****', 'title' => '', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtModifiedTime', - ], + 'schema' => ['description' => 'The field to sort the results by.', 'type' => 'string', 'example' => 'GmtModifiedTime', 'title' => '', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Desc', - ], + 'schema' => ['description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- `Asc`: Ascending order.'."\n" + ."\n" + .'- `Desc`: Descending order.', 'type' => 'string', 'example' => 'Desc', 'title' => '', 'required' => false], ], [ 'name' => 'FeatureEntityIds', 'in' => 'query', 'style' => 'simple', 'schema' => [ - 'title' => '特征实体ID过滤。', - 'description' => '', + 'title' => '', + 'description' => 'Filters the results by a list of feature entity IDs.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], + 'items' => ['description' => 'A feature entity ID.', 'type' => 'string', 'required' => false, 'example' => '4', 'title' => ''], 'required' => false, + 'example' => '', ], ], [ 'name' => 'ParentFeatureEntityId', 'in' => 'query', - 'schema' => [ - 'title' => '父特征实体ID过滤。'."\n" - .'不传,列出所有的特征实体。'."\n" - .'传0,列出所有根特征实体。'."\n" - .'传非0数值,列出指定父特征实体下所有子特征实体。', - 'type' => 'string', - 'example' => '1', - ], + 'schema' => ['title' => 'Filter by parent feature entity ID. '."\n" + .'If not specified, all feature entities are listed. '."\n" + .'If set to 0, all root feature entities are listed. '."\n" + .'If set to a non-zero numeric value, all child feature entities under the specified parent feature entity are listed.', 'description' => 'Filters the results by parent feature entity ID. Omit this parameter to return all feature entities. Set it to `0` to return all root feature entities. Set it to a non-zero value to return all child feature entities of the specified parent.', 'type' => 'string', 'example' => '1', 'required' => false], ], ], 'responses' => [ @@ -4302,587 +4050,380 @@ 'schema' => [ 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '37D19490-AB69-567D-A852-407C94E510E9', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '37D19490-AB69-567D-A852-407C94E510E9'], + 'TotalCount' => ['description' => 'The total number of feature entities.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], 'FeatureEntities' => [ - 'title' => '特征实体列表。', - 'description' => '', + 'title' => '', + 'description' => 'A list of feature entities.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FeatureEntityId' => [ - 'title' => '特征实体ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'JoinId' => [ - 'title' => '关联特征视图用的join id。', - 'description' => '', - 'type' => 'string', - 'example' => 'user_id', - ], - 'Name' => [ - 'title' => '特征实体名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'feature_entity_1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '', - 'type' => 'string', - 'example' => '123456789****', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'project_1', - ], - 'ParentFeatureEntityId' => [ - 'title' => '父特征实体ID。为空或为0则表示为根特征实体。', - 'type' => 'string', - 'example' => '1', - ], - 'ParentFeatureEntityName' => [ - 'title' => '父特征实体名称。', - 'type' => 'string', - 'example' => 'user', - ], - 'ParentJoinId' => [ - 'title' => '父特征实体的JoinID。', - 'type' => 'string', - 'example' => 'user_id', - ], + 'FeatureEntityId' => ['description' => 'The feature entity ID.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + 'JoinId' => ['description' => 'The join ID that links the feature entity to a feature view.', 'type' => 'string', 'example' => 'user_id', 'title' => ''], + 'Name' => ['description' => 'The feature entity name.', 'type' => 'string', 'example' => 'feature_entity_1', 'title' => ''], + 'Owner' => ['description' => 'The owner\'s Alibaba Cloud account ID.', 'type' => 'string', 'example' => '123456789****', 'title' => ''], + 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'project_1', 'title' => ''], + 'ParentFeatureEntityId' => ['title' => 'Parent feature entity ID. If empty or 0, it indicates a root feature entity.', 'description' => 'The parent feature entity ID. This value is empty or 0 for a root feature entity.', 'type' => 'string', 'example' => '1'], + 'ParentFeatureEntityName' => ['title' => 'Name of the parent feature entity.', 'description' => 'The parent feature entity name.', 'type' => 'string', 'example' => 'user'], + 'ParentJoinId' => ['title' => 'Join ID of the parent feature entity.', 'description' => 'The join ID of the parent feature entity.', 'type' => 'string', 'example' => 'user_id'], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"TotalCount\\": 10,\\n \\"FeatureEntities\\": [\\n {\\n \\"FeatureEntityId\\": \\"3\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"JoinId\\": \\"user_id\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"Owner\\": \\"123456789****\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"ParentFeatureEntityId\\": \\"1\\",\\n \\"ParentFeatureEntityName\\": \\"user\\",\\n \\"ParentJoinId\\": \\"user_id\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'GetFeatureEntity' => [ - 'summary' => '获取特征实体详细信息', - 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}', - 'methods' => [ - 'get', + 'title' => 'Retrieve the list of feature entities', + 'changeSet' => [ + ['createdAt' => '2025-11-17T06:07:05.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-11-25T02:36:08.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureEntities'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureEntities', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'ListFeatureViewFieldRelationships' => [ + 'summary' => 'Retrieves the relationships for a specific field in a feature view, returning a list of models that reference the field and the names of the associated online and offline tables.', + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/fields/{FieldName}/relationships', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实力ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. You can obtain this ID by calling the `ListInstances` operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'FeatureEntityId', + 'name' => 'FeatureViewId', 'in' => 'path', - 'schema' => [ - 'title' => '特征实体ID,可从接口ListFeatureEntities获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['description' => 'The feature view ID. You can obtain this ID by calling the `ListFeatureViews` operation.', 'type' => 'string', 'required' => true, 'example' => '4', 'title' => ''], + ], + [ + 'name' => 'FieldName', + 'in' => 'path', + 'schema' => ['description' => 'The name of the feature field.', 'type' => 'string', 'required' => true, 'example' => 'user_id', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ + 'title' => 'Schema of Response', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'E23EFF09-58AA-5420-934F-8453AE01548D', - ], - 'Name' => [ - 'title' => '特征实体名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'feature_entity_1', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'project_1', - ], - 'JoinId' => [ - 'title' => '关联特征视图用的join id。', - 'description' => '', - 'type' => 'string', - 'example' => 'user_id', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '', - 'type' => 'string', - 'example' => '123456789*****', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'ParentFeatureEntityId' => [ - 'title' => '父特征实体ID。为空或为0则表示为根特征实体。', - 'type' => 'string', - 'example' => '1', - ], - 'ParentFeatureEntityName' => [ - 'title' => '父特征实体名称。', - 'type' => 'string', - 'example' => 'user', - ], - 'ParentJoinId' => [ - 'title' => '父特征实体的JoinID。', - 'type' => 'string', - 'example' => 'user_id', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06'], + 'Relationships' => [ + 'title' => '', + 'description' => 'A list of relationships.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'FeatureName' => ['description' => 'The feature view name.', 'type' => 'string', 'example' => 'featureView1', 'title' => ''], + 'OnlineTableName' => ['description' => 'The name of the online table.', 'type' => 'string', 'example' => 'table1', 'title' => ''], + 'OfflineTableName' => ['description' => 'The name of the offline table.', 'type' => 'string', 'example' => 'table2', 'title' => ''], + 'Models' => [ + 'title' => '', + 'description' => 'A list of models.', + 'type' => 'array', + 'items' => [ + 'type' => 'object', + 'properties' => [ + 'ModelId' => ['description' => 'The ID of the model.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'ModelName' => ['description' => 'The name of the model.', 'type' => 'string', 'example' => 'dbmtl', 'title' => ''], + 'FeatureAliasName' => ['title' => 'Feature alias.', 'description' => 'The feature alias.', 'type' => 'string', 'example' => 'f1'], + ], + 'description' => 'Information about a model.', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + ], + 'description' => 'Information about a relationship.', + 'title' => '', + 'example' => '', + ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\",\\n \\"Relationships\\": [\\n {\\n \\"FeatureName\\": \\"featureView1\\",\\n \\"OnlineTableName\\": \\"table1\\",\\n \\"OfflineTableName\\": \\"table2\\",\\n \\"Models\\": [\\n {\\n \\"ModelId\\": \\"3\\",\\n \\"ModelName\\": \\"dbmtl\\",\\n \\"FeatureAliasName\\": \\"f1\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Get Feature Field Lineage', + 'changeSet' => [ + ['createdAt' => '2025-03-12T08:12:12.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E23EFF09-58AA-5420-934F-8453AE01548D\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"JoinId\\": \\"user_id\\",\\n \\"Owner\\": \\"123456789*****\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"ParentFeatureEntityId\\": \\"1\\",\\n \\"ParentFeatureEntityName\\": \\"user\\",\\n \\"ParentJoinId\\": \\"user_id\\"\\n}","type":"json"}]', - ], - 'DeleteFeatureEntity' => [ - 'summary' => '删除指定特征实体', - 'path' => '/api/v1/instances/{InstanceId}/featureentities/{FeatureEntityId}', - 'methods' => [ - 'delete', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViewFieldRelationships'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViewFieldRelationships', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListFeatureViewOnlineFeatures' => [ + 'summary' => 'Retrieves online features from a feature view based on one or more join IDs. For each join ID provided, the operation returns the corresponding feature fields as key-value pairs.', + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/onlinefeatures', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'write', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '225290', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. You can get this ID by calling the `ListInstances` operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'FeatureEntityId', + 'name' => 'FeatureViewId', 'in' => 'path', + 'schema' => ['description' => 'The feature view ID. You can get this ID by calling the `ListFeatureViews` operation.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'JoinIds', + 'in' => 'query', + 'style' => 'json', 'schema' => [ - 'title' => '特征实体ID,可从接口ListFeatureEntities获取。', - 'description' => '', - 'type' => 'string', + 'title' => '', + 'description' => 'The join IDs used to retrieve online features.', + 'type' => 'array', + 'items' => ['description' => 'A join ID.', 'type' => 'string', 'required' => true, 'example' => 'user1', 'title' => ''], 'required' => true, - 'example' => '3', + 'example' => '', ], ], + [ + 'name' => 'Config', + 'in' => 'query', + 'schema' => ['type' => 'string', 'example' => '{"dlrm_hstu": true}', 'title' => '', 'description' => ''], + ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'E23EFF09-58AA-5420-934F-8453AE01548D', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06'], + 'OnlineFeatures' => [ + 'title' => '', + 'description' => 'An array of the retrieved online feature records.', + 'type' => 'array', + 'items' => ['description' => 'An online feature record, provided as a JSON-formatted string.', 'type' => 'string', 'example' => '{"f1":123,"f2":"456"}', 'title' => ''], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E23EFF09-58AA-5420-934F-8453AE01548D\\"\\n}","type":"json"}]', - ], - 'CreateFeatureView' => [ - 'summary' => '创建特征视图。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Retrieve online feature data under a feature view', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViewOnlineFeatures'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViewOnlineFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\",\\n \\"OnlineFeatures\\": [\\n \\"{\\\\\\"f1\\\\\\":123,\\\\\\"f2\\\\\\":\\\\\\"456\\\\\\"}\\"\\n ]\\n}","type":"json"}]', + ], + 'ListFeatureViewRelationships' => [ + 'summary' => 'Lists the relationships for a feature view, including the models that reference it.', + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/relationships', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188527', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The ID of the instance. Call the ListInstances operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'FeatureViewId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the feature view. Call the ListFeatureViews operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'title' => '请求body。', - 'description' => '', + 'title' => 'Schema of Response', + 'description' => 'Response schema', 'type' => 'object', 'properties' => [ - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - 'FeatureEntityId' => [ - 'title' => '特征实体ID。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], - 'Name' => [ - 'title' => '特征视图名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'FeatureView1', - ], - 'Type' => [ - 'title' => '类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征'."\n" - .'● Sequence-行为序列特征', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Batch', - ], - 'WriteMethod' => [ - 'title' => '写入方式。'."\n" - .'● ByReadyMadeTable-使用现成表注册'."\n" - .'● Custom-自定义表结构', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Custom', - ], - 'WriteToFeatureDB' => [ - 'title' => '是否写入在线托管存储。如果项目在线数据源为托管存储,会自动设置为true。'."\n" - .'默认:false', - 'type' => 'boolean', - ], - 'RegisterTable' => [ - 'title' => '注册表名称。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'table1', - ], - 'RegisterDatasourceId' => [ - 'title' => '注册表所在数据源ID。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '5', - ], - 'SyncOnlineTable' => [ - 'title' => '是否同步在线特征表。', - 'description' => '', - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', - ], - 'TTL' => [ - 'title' => '生命周期。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '90', - ], - 'Tags' => [ - 'title' => '标签列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'label1', - ], - 'required' => false, - ], - 'Config' => [ - 'title' => '特征视图配置。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '{"save_original_field":true}', - ], - 'Fields' => [ - 'title' => '字段列表。', - 'description' => '', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B'], + 'Relationships' => [ + 'title' => '', + 'description' => 'A list of relationships to models that use this feature view.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '字段名称。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'age', - ], - 'Type' => [ - 'title' => '字段类型。'."\n" - .'● INT32'."\n" - .'● INT64'."\n" - .'● FLOAT'."\n" - .'● DOUBLE'."\n" - .'● STRING'."\n" - .'● BOOLEAN'."\n" - .'● TIMESTAMP'."\n" - .'● ARRAY'."\n" - .'● MAP', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'INT32', - ], - 'Attributes' => [ - 'title' => '字段属性列表,可选值包括:'."\n" - .'● Partition-分区字段'."\n" - .'● PrimaryKey-主键'."\n" - .'● EventTime-事件时间', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Partition', - ], - 'required' => false, - ], - 'Transform' => [ - 'title' => '特征生产配置。', + 'FeatureViewName' => ['description' => 'The name of the feature view.', 'type' => 'string', 'example' => 'fv1', 'title' => ''], + 'ProjectName' => ['description' => 'The name of the project.', 'type' => 'string', 'example' => 'project1', 'title' => ''], + 'Models' => [ + 'title' => '', + 'description' => 'A list of models.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Type' => [ - 'title' => '特征生产类型。', - 'type' => 'string', - 'example' => 'LLMEmbedding', - ], - 'LLMConfigId' => [ - 'title' => '大模型调用信息ID。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Input' => [ - 'title' => '特征生产输入。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '输入字段名称。', - 'type' => 'string', - 'example' => 'f1', - ], - 'Type' => [ - 'title' => '输入字段类型。', - 'type' => 'string', - 'example' => 'STRING', - ], - ], - ], - ], + 'ModelId' => ['description' => 'The ID of the model.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'ModelName' => ['description' => 'The name of the model.', 'type' => 'string', 'example' => 'dbmtl', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], - 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], - 'required' => false, + 'example' => '', ], ], - 'required' => false, + 'example' => '', ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8', - ], - 'FeatureViewId' => [ - 'title' => '特征视图ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B\\",\\n \\"Relationships\\": [\\n {\\n \\"FeatureViewName\\": \\"fv1\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"Models\\": [\\n {\\n \\"ModelId\\": \\"3\\",\\n \\"ModelName\\": \\"dbmtl\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Retrieve feature view lineage', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViewRelationships'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViewRelationships', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"FeatureViewId\\": \\"3\\"\\n}","type":"json"}]', ], 'ListFeatureViews' => [ - 'summary' => '获取特征视图列表。', + 'summary' => 'Lists feature views, filterable by project, name, type, tag, and feature name.', 'path' => '/api/v1/instances/{InstanceId}/featureviews', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ @@ -4890,1016 +4431,543 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '188634', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The ID of the PAI-FeatureStore instance. Call the ListInstances API to obtain it.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', - ], + 'schema' => ['description' => 'The number of feature views to return on each page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false], ], [ 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', - ], + 'schema' => ['description' => 'The page number of the results to return.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false], ], [ 'name' => 'ProjectId', 'in' => 'query', - 'schema' => [ - 'title' => '项目ID,可通过接口ListProjects获取。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], + 'schema' => ['description' => 'The project ID. You can obtain this ID by calling the `ListProjects` operation.', 'type' => 'string', 'required' => false, 'example' => '3', 'title' => ''], ], [ 'name' => 'Owner', 'in' => 'query', - 'schema' => [ - 'title' => '创建人过滤。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1232143243242****', - ], + 'schema' => ['description' => 'Filters the results by owner.', 'type' => 'string', 'example' => '1232143243242****', 'title' => '', 'required' => false], ], [ 'name' => 'Tag', 'in' => 'query', - 'schema' => [ - 'title' => '标签过滤。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'tag1', - ], + 'schema' => ['description' => 'Filters the results by tag.', 'type' => 'string', 'example' => 'tag1', 'title' => '', 'required' => false], ], [ 'name' => 'FeatureName', 'in' => 'query', - 'schema' => [ - 'title' => '特征名称。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'feature1', - ], + 'schema' => ['description' => 'Filters the results by feature name.', 'type' => 'string', 'example' => 'feature1', 'title' => '', 'required' => false], ], [ 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtCreateTime', - ], + 'schema' => ['description' => 'The field by which to sort the results.', 'type' => 'string', 'example' => 'GmtCreateTime', 'title' => '', 'required' => false], ], [ 'name' => 'Order', 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Desc', - ], + 'schema' => ['description' => 'The sort order. Valid values: `Desc` (descending) and `Asc` (ascending).', 'type' => 'string', 'example' => 'Desc', 'title' => '', 'required' => false], ], [ 'name' => 'FeatureViewIds', 'in' => 'query', 'style' => 'simple', 'schema' => [ - 'title' => '特征视图ID过滤。', - 'description' => '', + 'title' => '', + 'description' => 'The feature view IDs by which to filter the results.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], + 'items' => ['description' => 'A feature view ID.', 'type' => 'string', 'required' => false, 'example' => '3', 'title' => ''], 'required' => false, + 'example' => '', ], ], [ 'name' => 'Type', 'in' => 'query', - 'schema' => [ - 'title' => '类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Batch', - ], + 'schema' => ['description' => 'Filters the results by type. Valid values:'."\n" + ."\n" + .'● `Batch`: batch feature'."\n" + ."\n" + .'● `Stream`: stream feature', 'type' => 'string', 'example' => 'Batch', 'title' => '', 'required' => false], ], [ 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => '特征视图名称过滤。', - 'type' => 'string', - 'example' => 'fv1', - ], + 'schema' => ['title' => '', 'description' => 'Filters the results by feature view name.', 'type' => 'string', 'example' => 'fv1', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'title' => '', + 'description' => 'The data returned.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA'], + 'TotalCount' => ['description' => 'The total count of feature views.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], 'FeatureViews' => [ - 'title' => '特征视图列表。', - 'description' => '', + 'title' => '', + 'description' => 'The feature view list.', 'type' => 'array', 'items' => [ 'title' => '', 'description' => '', 'type' => 'object', 'properties' => [ - 'FeatureViewId' => [ - 'title' => '特征视图ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'project1', - ], - 'FeatureEntityName' => [ - 'title' => '特征实体名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'featureEntity1', - ], - 'Name' => [ - 'title' => '特征视图名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'featureView1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '', - 'type' => 'string', - 'example' => '12321421412****', - ], - 'Type' => [ - 'title' => '类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征', - 'description' => '', - 'type' => 'string', - 'example' => 'Batch', - ], - 'WriteToFeatureDB' => [ - 'title' => '是否写入在线托管存储。', - 'type' => 'boolean', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'RegisterTable' => [ - 'title' => '注册表名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'table1', - ], - 'RegisterDatasourceName' => [ - 'title' => '注册表所在数据源。', - 'description' => '', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'TTL' => [ - 'title' => '特征生命周期(秒)。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '90', - ], - 'RegisterDatasourceId' => [ - 'title' => '注册表所在数据源ID。', - 'description' => '', - 'type' => 'string', - 'example' => '4', - ], + 'FeatureViewId' => ['description' => 'The feature view ID.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'project1', 'title' => ''], + 'FeatureEntityName' => ['description' => 'The feature entity name.', 'type' => 'string', 'example' => 'featureEntity1', 'title' => ''], + 'Name' => ['description' => 'The feature view name.', 'type' => 'string', 'example' => 'featureView1', 'title' => ''], + 'Owner' => ['description' => 'The ID of the Alibaba Cloud account that created the feature view.', 'type' => 'string', 'example' => '12321421412****', 'title' => ''], + 'Type' => ['description' => 'The type of the feature view. Valid values:'."\n" + ."\n" + .'● Batch feature'."\n" + ."\n" + .'● Stream feature', 'type' => 'string', 'example' => 'Batch', 'title' => ''], + 'WriteToFeatureDB' => ['title' => '', 'description' => 'Indicates whether data is written to the online feature store.', 'type' => 'boolean', 'example' => 'false'], + 'GmtCreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The update time.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + 'RegisterTable' => ['description' => 'The registered table name.', 'type' => 'string', 'example' => 'table1', 'title' => ''], + 'RegisterDatasourceName' => ['description' => 'The name of the data source for the registered table.', 'type' => 'string', 'example' => 'datasource1', 'title' => ''], + 'TTL' => ['description' => 'The TTL (Time to Live) of features in the feature view, in seconds.', 'type' => 'integer', 'format' => 'int32', 'example' => '90', 'title' => ''], + 'RegisterDatasourceId' => ['description' => 'The ID of the data source for the registered table.', 'type' => 'string', 'example' => '4', 'title' => ''], ], + 'example' => '', ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"TotalCount\\": 10,\\n \\"FeatureViews\\": [\\n {\\n \\"FeatureViewId\\": \\"3\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"FeatureEntityName\\": \\"featureEntity1\\",\\n \\"Name\\": \\"featureView1\\",\\n \\"Owner\\": \\"12321421412****\\",\\n \\"Type\\": \\"Batch\\",\\n \\"WriteToFeatureDB\\": false,\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"RegisterTable\\": \\"table1\\",\\n \\"RegisterDatasourceName\\": \\"datasource1\\",\\n \\"TTL\\": 90,\\n \\"RegisterDatasourceId\\": \\"4\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'GetFeatureView' => [ - 'summary' => '获取特征视图详细信息。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', + 'title' => 'List feature views', + 'changeSet' => [ + ['createdAt' => '2024-11-25T02:36:08.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-03-25T06:53:33.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-09-04T03:45:21.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViews'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViews', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListInstances' => [ + 'summary' => 'Lists FeatureStore instances in the current account. You can filter the instances by status.', + 'path' => '/api/v1/instances', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188637', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188082', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Pages start at 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'title' => '特征视图ID,可通过接口ListFeatureViews获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['title' => 'Status filter. '."\n" + .'● Initializing – initialization. '."\n" + .'● Running – running. '."\n" + .'● Failure – creation failed. ', 'description' => 'Filters the results by instance status.'."\n" + ."\n" + .'- Initializing'."\n" + ."\n" + .'- Running'."\n" + ."\n" + .'- Stopped', 'type' => 'string', 'example' => 'Running', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['title' => 'Sorting criterion. '."\n" + .'● GmtCreateTime – Creation Time. '."\n" + .'● GmtModifiedTime – Update Time. ', 'description' => 'The sort key.'."\n" + ."\n" + .'- GmtCreateTime: The creation time.'."\n" + ."\n" + .'- GmtModifiedTime: The update time.', 'type' => 'string', 'example' => 'GmtCreateTime', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['title' => 'Sorting method. '."\n" + .'● ASC – ascending order. '."\n" + .'● DESC – descending order. ', 'description' => 'The sort order.'."\n" + ."\n" + .'- ASC: Ascending order.'."\n" + ."\n" + .'- DESC: Descending order.', 'type' => 'string', 'example' => 'DESC', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '72F15A8A-5A28-5B18-A0DE-0EABD7D3245A', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'project1', - ], - 'FeatureEntityName' => [ - 'title' => '特征实体名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'featureEntity1', - ], - 'Name' => [ - 'title' => '特征视图名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'featureView1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '', - 'type' => 'string', - 'example' => '12321421412****', - ], - 'Type' => [ - 'title' => '类型。'."\n" - .'● Batch-离线特征'."\n" - .'● Stream-实时特征', - 'description' => '', - 'type' => 'string', - 'example' => 'Batch', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'FeatureEntityId' => [ - 'title' => '特征实体ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'JoinId' => [ - 'title' => '特征实体的joinid。', - 'description' => '', - 'type' => 'string', - 'example' => 'user_id', - ], - 'WriteMethod' => [ - 'title' => '写入方式。'."\n" - .'● ByReadyMadeTable-使用现成表注册'."\n" - .'● Custom-自定义表结构', - 'description' => '', - 'type' => 'string', - 'example' => 'custom', - ], - 'RegisterTable' => [ - 'title' => '注册表名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'table1', - ], - 'RegisterDatasourceId' => [ - 'title' => '注册表所在数据源ID。', - 'description' => '', - 'type' => 'string', - 'example' => '4', - ], - 'RegisterDatasourceName' => [ - 'title' => '注册表所在数据源名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'WriteToFeatureDB' => [ - 'title' => '是否写入在线托管存储。', - 'type' => 'boolean', - ], - 'SyncOnlineTable' => [ - 'title' => '是否同步在线特征表。', - 'description' => '', - 'type' => 'boolean', - 'example' => 'true', - ], - 'TTL' => [ - 'title' => '生命周期。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '90', - ], - 'Tags' => [ - 'title' => '标签列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'tag1', - ], - ], - 'Config' => [ - 'title' => '配置。', - 'description' => '', - 'type' => 'string', - 'example' => '{"save_original_field":true}', - ], - 'GmtSyncTime' => [ - 'title' => '同步时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'LastSyncConfig' => [ - 'title' => '最近一次的同步配置。', - 'description' => '', - 'type' => 'string', - 'example' => '{'."\n" - .' "mode": "overwrite",'."\n" - .' "partitions": {'."\n" - .' "ds": {'."\n" - .' "value": "20230820"'."\n" - .' }'."\n" - .' },'."\n" - .' "event_time": "",'."\n" - .' "config": {},'."\n" - .' "offline_to_online": true'."\n" - .'}', - ], - 'Fields' => [ - 'title' => '字段列表。', - 'description' => '', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '2CA11923-2A3D-5E5A-8314-E699D2DD15DE'], + 'TotalCount' => ['description' => 'The total number of instances.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'Instances' => [ + 'title' => '', + 'description' => 'The list of instances.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '字段名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'user', - ], - 'Type' => [ - 'title' => '字段类型。'."\n" - .'● int'."\n" - .'● string'."\n" - .'● float', - 'description' => '', - 'type' => 'string', - 'example' => 'int', - ], - 'Attributes' => [ - 'title' => '字段属性列表,可选值包括:'."\n" - .'● Partition-分区字段'."\n" - .'● PrimaryKey-主键'."\n" - .'● EventTime-事件时间', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Partition', + 'InstanceId' => ['description' => 'The instance ID.', 'type' => 'string', 'example' => 'featureStore-cn-7mz2xfu****', 'title' => ''], + 'Type' => ['description' => 'The instance type. Currently, only Basic is supported.', 'type' => 'string', 'example' => 'Basic', 'title' => ''], + 'Status' => ['description' => 'The status of the instance.'."\n" + ."\n" + .'- Initializing'."\n" + ."\n" + .'- Running'."\n" + ."\n" + .'- Stopped', 'type' => 'string', 'example' => 'Initializing', 'title' => ''], + 'RegionId' => ['description' => 'The region where the instance is located.'."\n" + ."\n" + .'- cn-hangzhou'."\n" + ."\n" + .'- cn-beijing'."\n" + ."\n" + .'- cn-shanghai'."\n" + ."\n" + .'- cn-shenzhen', 'type' => 'string', 'example' => 'cn-hangzhou', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The update time.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'FeatureDBInstanceInfo' => [ + 'deprecated' => true, + 'description' => 'Information about the FeatureDB instance.', + 'title' => 'Deprecated. Use FeatureDBInfo to obtain FeatureDB instance information.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['title' => 'Status.', 'description' => 'The status of the FeatureDB instance.', 'type' => 'string', 'example' => ''], ], + 'example' => '', ], - 'Transform' => [ - 'title' => '特征生产配置。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Type' => [ - 'title' => '特征生产类型。', - 'type' => 'string', - 'example' => 'LLMEmbedding', - ], - 'LLMConfigId' => [ - 'title' => '大模型调用配置信息ID。', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '1', - ], - 'Input' => [ - 'title' => '特征生产输入。', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '输入字段名称。', - 'type' => 'string', - 'example' => 'f1', - ], - 'Type' => [ - 'title' => '输入字段类型。', - 'type' => 'string', - 'example' => 'STRING', - ], - ], - ], - ], - ], + 'FeatureDBInfo' => [ + 'description' => 'Information about the FeatureDB instance.', + 'title' => 'FeatureDB instance information.', + 'type' => 'object', + 'properties' => [ + 'Status' => ['title' => 'Status.', 'description' => 'The status of the FeatureDB instance.', 'type' => 'string', 'example' => ''], ], + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - ], - 'PublishTableScript' => [ - 'title' => '同步数据脚本', - 'type' => 'string', - 'example' => 'from feature_store_py.fs_client import FeatureStoreClient\\nimport datetime\\nfrom feature_store_py.fs_datasource import MaxComputeDataSource\\nimport sys\\n\\ncur_day = args[\'dt\']\\nprint(\'cur_day = \', cur_day)\\n\\naccess_key_id = o.account.access_id\\naccess_key_secret = o.account.secret_access_key\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\ncur_project_name = \'p1\'\\nproject = fs.get_project(cur_project_name)\\n\\nfeature_view_name = \'user_fea\'\\nbatch_feature_view = project.get_feature_view(feature_view_name)\\ntask = batch_feature_view.publish_table(partitions={\'ds\':cur_day}, mode=\'Overwrite\')\\ntask.wait()\\ntask.print_summary()\\n', - ], - 'MockTableName' => [ - 'title' => '实时特征视图模拟数据表名称', - 'type' => 'string', - 'example' => 'item_table_mock_1', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CA11923-2A3D-5E5A-8314-E699D2DD15DE\\",\\n \\"TotalCount\\": 10,\\n \\"Instances\\": [\\n {\\n \\"InstanceId\\": \\"featureStore-cn-7mz2xfu****\\",\\n \\"Type\\": \\"Basic\\",\\n \\"Status\\": \\"Initializing\\",\\n \\"RegionId\\": \\"cn-hangzhou\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"FeatureDBInstanceInfo\\": {\\n \\"Status\\": \\"\\"\\n },\\n \\"FeatureDBInfo\\": {\\n \\"Status\\": \\"\\"\\n }\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Retrieve the instance list', + 'changeSet' => [ + ['createdAt' => '2025-07-17T03:58:30.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-10-16T06:46:18.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-28T08:14:52.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstances'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"72F15A8A-5A28-5B18-A0DE-0EABD7D3245A\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"FeatureEntityName\\": \\"featureEntity1\\",\\n \\"Name\\": \\"featureView1\\",\\n \\"Owner\\": \\"12321421412****\\",\\n \\"Type\\": \\"Batch\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"FeatureEntityId\\": \\"3\\",\\n \\"JoinId\\": \\"user_id\\",\\n \\"WriteMethod\\": \\"custom\\",\\n \\"RegisterTable\\": \\"table1\\",\\n \\"RegisterDatasourceId\\": \\"4\\",\\n \\"RegisterDatasourceName\\": \\"datasource1\\",\\n \\"WriteToFeatureDB\\": false,\\n \\"SyncOnlineTable\\": true,\\n \\"TTL\\": 90,\\n \\"Tags\\": [\\n \\"tag1\\"\\n ],\\n \\"Config\\": \\"{\\\\\\"save_original_field\\\\\\":true}\\",\\n \\"GmtSyncTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"LastSyncConfig\\": \\"{\\\\n\\\\t\\\\\\"mode\\\\\\": \\\\\\"overwrite\\\\\\",\\\\n\\\\t\\\\\\"partitions\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"ds\\\\\\": {\\\\n\\\\t\\\\t\\\\t\\\\\\"value\\\\\\": \\\\\\"20230820\\\\\\"\\\\n\\\\t\\\\t}\\\\n\\\\t},\\\\n\\\\t\\\\\\"event_time\\\\\\": \\\\\\"\\\\\\",\\\\n\\\\t\\\\\\"config\\\\\\": {},\\\\n\\\\t\\\\\\"offline_to_online\\\\\\": true\\\\n}\\",\\n \\"Fields\\": [\\n {\\n \\"Name\\": \\"user\\",\\n \\"Type\\": \\"int\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ],\\n \\"Transform\\": [\\n {\\n \\"Type\\": \\"LLMEmbedding\\",\\n \\"LLMConfigId\\": 1,\\n \\"Input\\": [\\n {\\n \\"Name\\": \\"feature1\\",\\n \\"Type\\": \\"STRING\\"\\n }\\n ]\\n }\\n ]\\n }\\n ],\\n \\"PublishTableScript\\": \\"from feature_store_py.fs_client import FeatureStoreClient\\\\\\\\nimport datetime\\\\\\\\nfrom feature_store_py.fs_datasource import MaxComputeDataSource\\\\\\\\nimport sys\\\\\\\\n\\\\\\\\ncur_day = args[\'dt\']\\\\\\\\nprint(\'cur_day = \', cur_day)\\\\\\\\n\\\\\\\\naccess_key_id = o.account.access_id\\\\\\\\naccess_key_secret = o.account.secret_access_key\\\\\\\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\\\\\\\ncur_project_name = \'p1\'\\\\\\\\nproject = fs.get_project(cur_project_name)\\\\\\\\n\\\\\\\\nfeature_view_name = \'user_fea\'\\\\\\\\nbatch_feature_view = project.get_feature_view(feature_view_name)\\\\\\\\ntask = batch_feature_view.publish_table(partitions={\'ds\':cur_day}, mode=\'Overwrite\')\\\\\\\\ntask.wait()\\\\\\\\ntask.print_summary()\\\\\\\\n\\",\\n \\"MockTableName\\": \\"item_table_mock_1\\"\\n}","type":"json"}]', ], - 'DeleteFeatureView' => [ - 'summary' => '删除指定特征视图。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListLLMConfigs' => [ + 'summary' => 'Lists LLM call configurations.', + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可通过接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The ID of the instance. Call `ListInstances` to obtain it.', 'type' => 'string', 'required' => true, 'example' => 'featureStore-cn-XXXXXXX', 'title' => ''], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'title' => '特征视图ID,可通过接口ListFeatureViews获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => '234', 'title' => '', 'required' => false], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06', - ], - ], - ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The name of the LLM configuration.', 'type' => 'string', 'example' => 'llm_config_1', 'title' => '', 'required' => false], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\"\\n}","type":"json"}]', - ], - 'PublishFeatureViewTable' => [ - 'summary' => '将特征视图的离线数据发布/同步到线上。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/action/publishtable', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The page size.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => 'The sort order.', 'type' => 'string', 'example' => 'Asc', 'title' => '', 'required' => false], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'title' => '特征视图ID,可从接口ListFeatureViews获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['description' => 'The field to sort by.', 'type' => 'string', 'example' => 'GmtModifiedTime', 'title' => '', 'required' => false], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'MaxResults', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'The maximum number of results to return.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '100', 'title' => ''], + ], + [ + 'name' => 'NextToken', + 'in' => 'query', + 'allowEmptyValue' => false, + 'schema' => ['description' => 'A pagination token returned from a previous call. Pass this token to retrieve the next page of results. If you do not specify this parameter, the query starts from the beginning.', 'type' => 'string', 'required' => false, 'example' => 'None', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', + 'title' => 'Schema of Response', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'Partitions' => [ - 'title' => '分区表。', - 'description' => '', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '898DB17C-09E9-5C41-909D-269BA183EB92'], + 'TotalCount' => ['description' => 'The total count.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'LLMConfigs' => [ + 'title' => '', + 'description' => 'A list of LLM configuration objects.', + 'type' => 'array', + 'items' => [ + 'description' => 'An LLM configuration object.', 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '20220718', - 'description' => '', + 'properties' => [ + 'LLMConfigId' => ['description' => 'The LLM configuration ID.', 'type' => 'string', 'example' => 'llm_config1', 'title' => ''], + 'Name' => ['description' => 'The name of the LLM configuration.', 'type' => 'string', 'example' => 'llm_config_name1', 'title' => ''], + 'ApiKey' => ['description' => 'The API key.', 'type' => 'string', 'example' => 'apikey-abcdxy', 'title' => ''], + 'Model' => ['description' => 'The model name.', 'type' => 'string', 'example' => 'text-embedding-v1', 'title' => ''], + 'BaseUrl' => ['description' => 'The base URL for API calls.', 'type' => 'string', 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1', 'title' => ''], + 'Rps' => ['description' => 'The maximum number of requests per second (RPS).', 'type' => 'integer', 'format' => 'int32', 'example' => '30', 'title' => ''], + 'MaxTokens' => ['description' => 'The maximum number of tokens to process for a single input.', 'type' => 'integer', 'format' => 'int32', 'example' => '2048', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The modification time.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'ResourceGroupId' => ['description' => 'The resource group ID.', 'type' => 'string', 'example' => 'rg-aek2vtzqjaohzqi', 'title' => ''], + 'BatchSize' => ['description' => 'The batch size.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => ''], + 'WorkspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => '234', 'title' => ''], + 'EmbeddingDimension' => ['description' => 'The embedding dimension. If this parameter is empty or set to 0, the system uses the model\'s default dimension.', 'type' => 'integer', 'format' => 'int32', 'example' => '1024', 'title' => ''], + 'ModelType' => [ + 'description' => 'The model type.', + 'type' => 'string', + 'enum' => ['TEXT_EMBEDDING', 'MULTI_MODAL_EMBEDDING'], + 'title' => '', + 'example' => '', + ], + 'EnableFusion' => ['description' => 'Specifies whether to enable the Fusion feature.', 'type' => 'boolean', 'title' => '', 'example' => ''], ], - 'description' => '', + 'title' => '', + 'example' => '', ], - ], - 'Mode' => [ - 'title' => '模式'."\n" - .'● Overwrite-覆盖写'."\n" - .'● Merge-合并', - 'description' => '', - 'type' => 'string', 'required' => true, - 'example' => 'Overwrite', - ], - 'EventTime' => [ - 'title' => '事件时间。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'Config' => [ - 'title' => '配置。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '{}', - ], - 'OfflineToOnline' => [ - 'title' => '是否同步在线特征。', - 'description' => '', - 'type' => 'boolean', - 'required' => true, - 'example' => 'true', + 'minItems' => 0, + 'example' => '', ], + 'NextToken' => ['description' => 'The token for retrieving the next page of results. If this parameter is not returned, no more results are available. To retrieve the next page, pass this value in the `NextToken` parameter of a subsequent request.', 'type' => 'string', 'example' => 'AAAAAV3MpHK1AP0pfERHZN5pu6mbU5D/SFHCHMApYkMcWlp5', 'title' => ''], + 'MaxResults' => ['description' => 'The maximum number of results returned in this request.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], ], - 'required' => false, + 'example' => '', ], ], + [], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '627B5776-4D06-5A49-8A04-508AA39653F4', - ], - 'TaskId' => [ - 'title' => '任务ID。', - 'type' => 'string', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"898DB17C-09E9-5C41-909D-269BA183EB92\\",\\n \\"TotalCount\\": 10,\\n \\"LLMConfigs\\": [\\n {\\n \\"LLMConfigId\\": \\"llm_config1\\",\\n \\"Name\\": \\"llm_config_name1\\",\\n \\"ApiKey\\": \\"apikey-abcdxy\\",\\n \\"Model\\": \\"text-embedding-v1\\",\\n \\"BaseUrl\\": \\"https://dashscope.aliyuncs.com/compatible-mode/v1\\",\\n \\"Rps\\": 30,\\n \\"MaxTokens\\": 2048,\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"ResourceGroupId\\": \\"rg-aek2vtzqjaohzqi\\",\\n \\"BatchSize\\": 8,\\n \\"WorkspaceId\\": \\"234\\",\\n \\"EmbeddingDimension\\": 1024,\\n \\"ModelType\\": \\"\\",\\n \\"EnableFusion\\": false\\n }\\n ],\\n \\"NextToken\\": \\"AAAAAV3MpHK1AP0pfERHZN5pu6mbU5D/SFHCHMApYkMcWlp5\\",\\n \\"MaxResults\\": 10\\n}","type":"json"}]', + 'title' => 'List Model Configuration Information', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLLMConfigs'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListLLMConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"627B5776-4D06-5A49-8A04-508AA39653F4\\",\\n \\"TaskId\\": \\"\\"\\n}","type":"json"}]', ], - 'WriteFeatureViewTable' => [ - 'summary' => '获取特征视图血缘关系。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/action/writetable', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListLabelTables' => [ + 'summary' => 'Lists label tables, filterable by project, name, owner, and ID.', + 'path' => '/api/v1/instances/{InstanceId}/labeltables', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188213', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. You can call the ListInstances operation to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => 'featurestore-test*', 'title' => ''], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['description' => 'The project ID. You can call the `ListProjects` operation to obtain this ID.', 'type' => 'string', 'required' => false, 'example' => 'project1', 'title' => ''], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Partitions' => [ - 'title' => '分区表。', - 'description' => '', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '20220909', - 'description' => '', - ], - 'description' => '', - ], - ], - 'UrlDatasource' => [ - 'title' => '文件数据源。', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Path' => [ - 'title' => '数据源路径。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'xxx.xxx.com/file.csv', - ], - 'Delimiter' => [ - 'title' => '文件分隔符。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => ',', - ], - 'OmitHeader' => [ - 'title' => '文件中是否省略header。', - 'description' => '', - 'type' => 'boolean', - 'required' => false, - 'example' => 'true', - ], - ], - 'required' => false, - ], - 'Mode' => [ - 'title' => '模式'."\n" - .'● Overwrite-覆盖写'."\n" - .'● Merge-合并', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'Merge', - ], - ], - 'required' => false, - ], + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Page numbers start from 1. Default value: 1.', 'type' => 'integer', 'format' => 'int64', 'default' => '10', 'title' => '', 'required' => false, 'example' => '10'], ], - ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8', - ], - 'TaskId' => [ - 'title' => '任务ID。', - 'type' => 'string', - ], - ], - ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. Default value: 10.', 'type' => 'integer', 'format' => 'int64', 'default' => '1', 'title' => '', 'required' => false, 'example' => '1'], ], - ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"TaskId\\": \\"\\"\\n}","type":"json"}]', - ], - 'ListFeatureViewOnlineFeatures' => [ - 'summary' => '获取特征视图下的在线特征数据。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/onlinefeatures', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ [ - 'AK' => [], + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The name of the label table.', 'type' => 'string', 'example' => 'label_table1', 'title' => '', 'required' => false], ], - ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '225290', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + [ + 'name' => 'Owner', + 'in' => 'query', + 'schema' => ['description' => 'The Alibaba Cloud account ID of the owner.', 'type' => 'string', 'example' => '1231432432****', 'title' => '', 'required' => false], ], - ], - 'parameters' => [ [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['description' => 'The field by which to sort the results.', 'type' => 'string', 'example' => 'GmtModifiedTime', 'title' => '', 'required' => false], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'title' => '特征视图ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', - ], + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- `Asc`: ascending order.'."\n" + ."\n" + .'- `Desc`: descending order.', 'type' => 'string', 'required' => false, 'example' => 'Asc', 'title' => ''], ], [ - 'name' => 'JoinIds', + 'name' => 'LabelTableIds', 'in' => 'query', - 'style' => 'json', + 'style' => 'simple', 'schema' => [ - 'title' => 'JoinId值列表。', - 'description' => '', + 'title' => '', + 'description' => 'The IDs of the label tables by which to filter the results.', 'type' => 'array', - 'items' => [ - 'title' => 'JoinId的值。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'user1', - ], - 'required' => true, + 'items' => ['description' => 'The ID of a label table. You can call the `ListLabelTables` operation to obtain this ID.', 'type' => 'string', 'required' => false, 'example' => '3', 'title' => ''], + 'required' => false, + 'example' => '', ], ], ], @@ -5907,218 +4975,261 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06', - ], - 'OnlineFeatures' => [ - 'title' => '在线特征数据。', - 'description' => '', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of label tables.', 'type' => 'integer', 'format' => 'int64', 'default' => '10', 'title' => '', 'example' => '21'], + 'LabelTables' => [ + 'title' => '', + 'description' => 'The list of label tables.', 'type' => 'array', 'items' => [ + 'type' => 'object', + 'properties' => [ + 'LabelTableId' => ['description' => 'The ID of the label table.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'project1', 'title' => ''], + 'DatasourceId' => ['description' => 'The ID of the data source.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'Name' => ['description' => 'The name of the label table.', 'type' => 'string', 'example' => 'label_table1', 'title' => ''], + 'DatasourceName' => ['description' => 'The name of the data source.', 'type' => 'string', 'example' => 'datasource1', 'title' => ''], + 'Owner' => ['description' => 'The Alibaba Cloud account ID of the owner.', 'type' => 'string', 'example' => '123214213214', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The time when the label table was created. The time is displayed in the ISO 8601 format.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The time when the label table was last modified. The time is displayed in the ISO 8601 format.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + ], 'description' => '', - 'type' => 'string', - 'example' => '{"f1":123,"f2":"456"}', + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77\\",\\n \\"TotalCount\\": 21,\\n \\"LabelTables\\": [\\n {\\n \\"LabelTableId\\": \\"3\\",\\n \\"ProjectId\\": \\"1\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"DatasourceId\\": \\"3\\",\\n \\"Name\\": \\"label_table1\\",\\n \\"DatasourceName\\": \\"datasource1\\",\\n \\"Owner\\": \\"123214213214\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Retrieve the list of label tables', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-11-25T02:36:08.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\",\\n \\"OnlineFeatures\\": [\\n \\"{\\\\\\"f1\\\\\\":123,\\\\\\"f2\\\\\\":\\\\\\"456\\\\\\"}\\"\\n ]\\n}","type":"json"}]', - ], - 'ListFeatureViewRelationships' => [ - 'summary' => '获取特征视图血缘关系。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/relationships', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLabelTables'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListLabelTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'ListModelFeatureAvailableFeatures' => [ + 'summary' => 'Lists the available features for a model feature when you register a feature group (FG).', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/availablefeatures', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '205398', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'Instance ID. Get it from the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'FeatureViewId', + 'name' => 'ModelFeatureId', 'in' => 'path', - 'schema' => [ - 'title' => '特征视图ID,可从接口ListFeatureViews获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['description' => 'Model feature ID. Get it from the ListModelFeatures operation.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'FeatureName', + 'in' => 'query', + 'schema' => ['description' => 'Filter by feature name.', 'type' => 'string', 'example' => 'f1', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'Response schema', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B', - ], - 'Relationships' => [ - 'title' => '血缘关系列表。', - 'description' => '', + 'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => 'ED4DEA2F-F216-57F0-AE28-08D791233280'], + 'TotalCount' => ['description' => 'Total number of features.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'AvaliableFeatures' => [ + 'title' => '', + 'description' => 'List of available features.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FeatureViewName' => [ - 'title' => '特征视图名称。', - 'description' => '', + 'Name' => ['description' => 'Feature name.', 'type' => 'string', 'example' => 'age', 'title' => ''], + 'Type' => [ + 'description' => 'Feature value type.'."\n" + ."\n" + .'- INTEGER'."\n" + ."\n" + .'- DOUBLE'."\n" + ."\n" + .'- STRING', + 'enumValueTitles' => [], 'type' => 'string', - 'example' => 'fv1', + 'example' => 'STRING', + 'title' => '', ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '', + 'SourceType' => [ + 'description' => 'Feature source.'."\n" + ."\n" + .'- FeatureView'."\n" + ."\n" + .'- LabelTable', + 'enumValueTitles' => [], 'type' => 'string', - 'example' => 'project1', - ], - 'Models' => [ - 'title' => '模型特征列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ModelId' => [ - 'title' => '模型特征ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'ModelName' => [ - 'title' => '模型特征名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'dbmtl', - ], - ], - ], + 'example' => 'FeatureView', + 'title' => '', ], + 'SourceName' => ['description' => 'Source name.', 'type' => 'string', 'example' => 'user_fea', 'title' => ''], ], + 'description' => '', + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ED4DEA2F-F216-57F0-AE28-08D791233280\\",\\n \\"TotalCount\\": 10,\\n \\"AvaliableFeatures\\": [\\n {\\n \\"Name\\": \\"age\\",\\n \\"Type\\": \\"STRING\\",\\n \\"SourceType\\": \\"FeatureView\\",\\n \\"SourceName\\": \\"user_fea\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Obtain all available features under the model feature when registering FG features.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListModelFeatureAvailableFeatures'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListModelFeatureAvailableFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B\\",\\n \\"Relationships\\": [\\n {\\n \\"FeatureViewName\\": \\"fv1\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"Models\\": [\\n {\\n \\"ModelId\\": \\"3\\",\\n \\"ModelName\\": \\"dbmtl\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', ], - 'ListFeatureViewFieldRelationships' => [ - 'summary' => '获取特征字段血缘关系。', - 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/fields/{FieldName}/relationships', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListModelFeatures' => [ + 'summary' => 'Lists model features, with sorting, pagination, and filtering by project, name, creator, and ID.', + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '189326', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. Call the ListInstances operation to obtain this ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'FeatureViewId', - 'in' => 'path', - 'schema' => [ - 'title' => '特征视图ID,可从接口ListFeatureViews获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '4', - ], + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['description' => 'The project ID. You can call the `ListProjects` API to obtain the project ID.', 'type' => 'string', 'required' => false, 'example' => '4', 'title' => ''], ], [ - 'name' => 'FieldName', - 'in' => 'path', + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. The value must be a positive integer. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['description' => 'The field by which to sort the results.'."\n" + ."\n" + .'- `GmtCreateTime`: the creation time.'."\n" + ."\n" + .'- `GmtModifiedTime`: the update time.', 'type' => 'string', 'example' => 'DESC', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => 'The sort order.'."\n" + ."\n" + .'- `ASC`: ascending order.'."\n" + ."\n" + .'- `DESC`: descending order.', 'type' => 'string', 'example' => 'ASC', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The name of the model feature.', 'type' => 'string', 'example' => 'model_feature1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Owner', + 'in' => 'query', + 'schema' => ['description' => 'The Alibaba Cloud account ID of the user who creates the model feature.', 'type' => 'string', 'example' => '12323143****', 'title' => '', 'required' => false], + ], + [ + 'name' => 'ModelFeatureIds', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'title' => '特征字段名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'user_id', + 'title' => '', + 'description' => 'The IDs of the model features.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the model feature. You can call the `ListModelFeatures` API to obtain the ID.', 'type' => 'string', 'required' => false, 'example' => '3', 'title' => ''], + 'required' => false, + 'example' => '', ], ], ], @@ -6126,533 +5237,410 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06', - ], - 'Relationships' => [ - 'title' => '血缘关系列表。', - 'description' => '', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '2CA11923-2A3D-5E5A-8314-E699D2DD15DE'], + 'TotalCount' => ['description' => 'The total number of model features.', 'type' => 'integer', 'format' => 'int64', 'title' => '', 'example' => '4'], + 'ModelFeatures' => [ + 'description' => 'The list of model features.', 'type' => 'array', 'items' => [ + 'description' => 'A model feature.', 'type' => 'object', 'properties' => [ - 'FeatureName' => [ - 'title' => '特征视图名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'featureView1', - ], - 'OnlineTableName' => [ - 'title' => '在线表名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'table1', - ], - 'OfflineTableName' => [ - 'title' => '离线表名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'table2', - ], - 'Models' => [ - 'title' => '模型列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'ModelId' => [ - 'title' => '模型ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'ModelName' => [ - 'title' => '模型名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'dbmtl', - ], - 'FeatureAliasName' => [ - 'title' => '特征别名。', - 'type' => 'string', - 'example' => 'f1', - ], - ], - ], - ], + 'ModelFeatureId' => ['description' => 'The model feature ID.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => '5', 'title' => ''], + 'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'project1', 'title' => ''], + 'Name' => ['description' => 'The model feature name.', 'type' => 'string', 'example' => 'model_feature1', 'title' => ''], + 'Owner' => ['description' => 'The Alibaba Cloud account ID of the owner.', 'type' => 'string', 'example' => '1231243253****', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The time the model feature was created.', 'type' => 'string', 'example' => '2023-07-04T14:46:22.227+08:00', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The time the model feature was last updated.', 'type' => 'string', 'example' => '2023-07-04T14:46:22.227+08:00', 'title' => ''], + 'LabelTableName' => ['description' => 'The label table name.', 'type' => 'string', 'example' => 'label_table_1', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'title' => '', + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CA11923-2A3D-5E5A-8314-E699D2DD15DE\\",\\n \\"TotalCount\\": 4,\\n \\"ModelFeatures\\": [\\n {\\n \\"ModelFeatureId\\": \\"3\\",\\n \\"ProjectId\\": \\"5\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"Name\\": \\"model_feature1\\",\\n \\"Owner\\": \\"1231243253****\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"LabelTableName\\": \\"label_table_1\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'List model features', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Request parameters changed, Response parameters changed'], + ['createdAt' => '2024-11-25T02:36:08.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-09-08T04:01:39.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListModelFeatures'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListModelFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\",\\n \\"Relationships\\": [\\n {\\n \\"FeatureName\\": \\"featureView1\\",\\n \\"OnlineTableName\\": \\"table1\\",\\n \\"OfflineTableName\\": \\"table2\\",\\n \\"Models\\": [\\n {\\n \\"ModelId\\": \\"3\\",\\n \\"ModelName\\": \\"dbmtl\\",\\n \\"FeatureAliasName\\": \\"f1\\"\\n }\\n ]\\n }\\n ]\\n}","type":"json"}]', ], - 'CreateLabelTable' => [ - 'summary' => '创建label表', - 'path' => '/api/v1/instances/{InstanceId}/labeltables', - 'methods' => [ - 'post', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListProjectFeatureViews' => [ + 'summary' => 'Lists all feature views and their available features in a project. Use this operation to select feature views and features for the CreateModelFeature and UpdateModelFeature operations.', + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/featureviews', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'featurestore-test1', - ], + 'schema' => ['description' => 'The ID of the instance. You can get this ID from the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', + 'name' => 'ProjectId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the project. You can get this ID from the ListProjects operation.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + ], + 'responses' => [ + 200 => [ 'schema' => [ - 'description' => '', + 'title' => 'Schema of Response', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - 'Name' => [ - 'title' => 'label表名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'rec_test', - ], - 'DatasourceId' => [ - 'title' => 'label表所在数据源ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - 'Fields' => [ - 'title' => '字段列表。', - 'description' => '', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'AE2AF33E-0C0D-51A8-B89B-C5F1DF261D92'], + 'TotalCount' => ['description' => 'The total count of feature views.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'FeatureViews' => [ + 'title' => '', + 'description' => 'The list of feature views.', 'type' => 'array', 'items' => [ - 'description' => '', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '字段名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'lat', - ], - 'Type' => [ - 'title' => '字段类型。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'INT32', - 'enum' => [ - 'INT32', - 'INT64', - 'FLOAT', - 'DOUBLE', - 'STRING', - 'BOOLEAN', - 'TIMESTAMP', - ], - ], - 'Attributes' => [ - 'title' => '字段属性列表,可选值包括:'."\n" - .'● Partition-分区字段'."\n" - .'● FeatureField-特征字段。'."\n" - .'● FeatureGenerationReserveField-FG保留字段'."\n" - .'● EventTime-事件时间'."\n" - .'● LabelField-Label字段。', - 'description' => '', + 'Name' => ['description' => 'The feature view name.', 'type' => 'string', 'example' => 'feature_view1', 'title' => ''], + 'FeatureViewId' => ['description' => 'The feature view ID.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'Features' => [ + 'title' => '', + 'description' => 'A list of features.', 'type' => 'array', 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Partition', - 'enum' => [ - 'Partition', - 'FeatureField', - 'FeatureGenerationReserveField', - 'EventTime', - 'LabelField', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The feature name.', 'type' => 'string', 'example' => 'f1', 'title' => ''], + 'Type' => ['description' => 'The feature type. Valid values include:'."\n" + ."\n" + .'- INT32'."\n" + ."\n" + .'- INT64'."\n" + ."\n" + .'- FLOAT'."\n" + ."\n" + .'- DOUBLE'."\n" + ."\n" + .'- STRING'."\n" + ."\n" + .'- BOOLEAN'."\n" + ."\n" + .'- TIMESTAMP', 'type' => 'string', 'example' => 'INT32', 'title' => ''], + 'Attributes' => [ + 'title' => '', + 'description' => 'A list of field attributes. Valid values:'."\n" + ."\n" + .'- Partition: Indicates that the feature is a partition field.'."\n" + ."\n" + .'- PrimaryKey: Indicates that the feature is a primary key.'."\n" + ."\n" + .'- EventTime: Indicates that the feature represents the event time.', + 'type' => 'array', + 'items' => ['description' => 'The field attribute.', 'type' => 'string', 'example' => 'Partition', 'title' => ''], + 'example' => '', + ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], - 'required' => true, - ], + 'example' => '', + ], + 'Type' => ['title' => 'Type. '."\n" + .'● Batch – offline feature '."\n" + .'● Stream – real-time feature '."\n" + .'● Sequence – sequence feature', 'description' => 'The type of the feature view.'."\n" + ."\n" + .'- Batch: A feature view that processes data in batches.'."\n" + ."\n" + .'- Stream: A feature view that processes data as a stream.'."\n" + ."\n" + .'- Sequence: A feature view that represents a sequence of features.', 'type' => 'string', 'example' => 'Batch'], + 'JoinId' => ['title' => 'JoinId of the feature entity.', 'description' => 'The join ID of the feature entity.', 'type' => 'string', 'example' => 'item_id'], + 'ParentJoinId' => ['title' => 'JoinId of the parent feature entity.', 'description' => 'The join ID of the parent feature entity.', 'type' => 'string', 'example' => 'item_id'], ], - 'required' => true, + 'description' => '', + 'title' => '', + 'example' => '', ], - 'required' => true, + 'example' => '', ], ], - 'required' => false, + 'example' => '', ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '0FA90B3B-F30A-5C9D-A9FD-8114F8868062', - ], - 'LabelTableId' => [ - 'title' => 'label表ID。', - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"AE2AF33E-0C0D-51A8-B89B-C5F1DF261D92\\",\\n \\"TotalCount\\": 10,\\n \\"FeatureViews\\": [\\n {\\n \\"Name\\": \\"feature_view1\\",\\n \\"FeatureViewId\\": \\"3\\",\\n \\"Features\\": [\\n {\\n \\"Name\\": \\"f1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ]\\n }\\n ],\\n \\"Type\\": \\"Batch\\",\\n \\"JoinId\\": \\"item_id\\",\\n \\"ParentJoinId\\": \\"item_id\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Obtain feature views and feature lists ', + 'changeSet' => [ + ['createdAt' => '2025-11-17T06:07:05.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2024-02-02T02:25:58.000Z', 'description' => 'Response parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjectFeatureViews'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListProjectFeatureViews', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FA90B3B-F30A-5C9D-A9FD-8114F8868062\\",\\n \\"LabelTableId\\": \\"1\\"\\n}","type":"json"}]', ], - 'ListLabelTables' => [ - 'summary' => '获取Label表列表。', - 'path' => '/api/v1/instances/{InstanceId}/labeltables', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListProjectFeatures' => [ + 'summary' => 'Lists all features in a project. This operation supports filtering by name, alias, and feature view, as well as sorting and pagination. The response includes the data type, parent feature view, and the number of model features that reference each feature.', + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}/features', + 'methods' => ['get'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '188213', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'featurestore-test*', - ], + 'schema' => ['description' => 'The ID of the instance.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'project1', - ], + 'in' => 'path', + 'schema' => ['description' => 'The ID of the project.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], [ - 'name' => 'PageNumber', + 'name' => 'Name', 'in' => 'query', - 'schema' => [ - 'title' => '页大小。'."\n", - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '10', - 'default' => '10', - ], + 'schema' => ['description' => 'The feature name. Fuzzy search is supported.', 'type' => 'string', 'example' => 'f1', 'title' => '', 'required' => false], ], [ - 'name' => 'PageSize', + 'name' => 'AliasName', 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => false, - 'example' => '1', - 'default' => '1', - ], + 'schema' => ['description' => 'The feature alias. Fuzzy search is supported.', 'type' => 'string', 'example' => 'ff1', 'title' => '', 'required' => false], ], [ - 'name' => 'Name', + 'name' => 'Filter', 'in' => 'query', - 'schema' => [ - 'title' => 'label表名称。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'label_table1', - ], + 'schema' => ['description' => 'Additional filter conditions in a JSON object. Conditions are combined by using the AND operator.', 'type' => 'string', 'example' => '{"feature_view_name":"fv1"}', 'title' => '', 'required' => false], ], [ - 'name' => 'Owner', + 'name' => 'PageNumber', 'in' => 'query', - 'schema' => [ - 'title' => '创建人。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '1231432432****', - ], + 'schema' => ['description' => 'The page number. Starts from 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false], ], [ - 'name' => 'SortBy', + 'name' => 'PageSize', 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'GmtModifiedTime', - ], + 'schema' => ['description' => 'The number of features to return per page.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false], ], [ - 'name' => 'Order', + 'name' => 'SortBy', 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Asc', - ], + 'schema' => ['description' => 'The field used to sort the returned features.', 'type' => 'string', 'example' => 'ModelFeatureCount', 'title' => '', 'required' => false], ], [ - 'name' => 'LabelTableIds', + 'name' => 'Order', 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'title' => 'label表ID过滤。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], - 'required' => false, - ], + 'schema' => ['description' => 'Specifies the sort order. Valid values: `Asc` and `Desc`.', 'type' => 'string', 'example' => 'Desc', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response object.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id。', - 'description' => '', - 'type' => 'string', - 'example' => '728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '21', - 'default' => '10', - ], - 'LabelTables' => [ - 'title' => 'Label表列表。', - 'description' => '', + 'TotalCount' => ['description' => 'The total number of features that match the query criteria.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7D497816-607C-5B67-97B1-61354B6ACB2B'], + 'Features' => [ + 'title' => '', + 'description' => 'The list of returned features.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'LabelTableId' => [ - 'title' => 'Label表ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'project1', - ], - 'DatasourceId' => [ - 'title' => '数据源ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'Name' => [ - 'title' => 'label表名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'label_table1', - ], - 'DatasourceName' => [ - 'title' => '数据源名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '', - 'type' => 'string', - 'example' => '123214213214', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], + 'Name' => ['description' => 'The name of the feature.', 'type' => 'string', 'example' => 'f1', 'title' => ''], + 'Type' => ['description' => 'The data type of the feature.', 'type' => 'string', 'example' => 'STRING', 'title' => ''], + 'FeatureViewId' => ['description' => 'The ID of the parent feature view.', 'type' => 'string', 'example' => '1', 'title' => ''], + 'FeatureViewName' => ['description' => 'The name of the parent feature view.', 'type' => 'string', 'example' => 'fv1', 'title' => ''], + 'Owner' => ['description' => 'The owner of the feature.', 'type' => 'string', 'example' => '123456', 'title' => ''], + 'ModelFeatureCount' => ['description' => 'The number of model features that reference this feature.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'AliasNames' => ['description' => 'A comma-separated list of aliases for the feature.', 'type' => 'string', 'example' => 'age1,age2', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The time the feature was created, in ISO 8601 format.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], ], + 'description' => 'An object that represents a feature.', + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"TotalCount\\": 10,\\n \\"requestId\\": \\"7D497816-607C-5B67-97B1-61354B6ACB2B\\",\\n \\"Features\\": [\\n {\\n \\"Name\\": \\"f1\\",\\n \\"Type\\": \\"STRING\\",\\n \\"FeatureViewId\\": \\"1\\",\\n \\"FeatureViewName\\": \\"fv1\\",\\n \\"Owner\\": \\"123456\\",\\n \\"ModelFeatureCount\\": 10,\\n \\"AliasNames\\": \\"age1,age2\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Retrieve all feature information under a project ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjectFeatures'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListProjectFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77\\",\\n \\"TotalCount\\": 21,\\n \\"LabelTables\\": [\\n {\\n \\"LabelTableId\\": \\"3\\",\\n \\"ProjectId\\": \\"1\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"DatasourceId\\": \\"3\\",\\n \\"Name\\": \\"label_table1\\",\\n \\"DatasourceName\\": \\"datasource1\\",\\n \\"Owner\\": \\"123214213214\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'GetLabelTable' => [ - 'summary' => '获取Label表详细信息。', - 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListProjects' => [ + 'summary' => 'Lists projects in a Feature Store instance, filterable by name, workspace, and owner.', + 'path' => '/api/v1/instances/{InstanceId}/projects', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. You can call the ListInstances operation to obtain the ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'LabelTableId', - 'in' => 'path', + 'name' => 'WorkspaceId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the workspace. Call the [ListWorkspaces](~~449124~~) operation to get this ID.', 'type' => 'string', 'required' => false, 'example' => '234', 'title' => ''], + ], + [ + 'name' => 'Name', + 'in' => 'query', + 'schema' => ['description' => 'The project name to filter by.', 'type' => 'string', 'example' => 'fs1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Owner', + 'in' => 'query', + 'schema' => ['description' => 'The Alibaba Cloud account ID of the project owner.', 'type' => 'string', 'example' => '134324352****', 'title' => '', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Starts from 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'example' => '1', 'title' => '', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Order', + 'in' => 'query', + 'schema' => ['description' => 'The sort order. Valid values:'."\n" + ."\n" + .'- `Asc`: ascending order.'."\n" + ."\n" + .'- `Desc`: descending order.', 'type' => 'string', 'example' => 'Asc', 'title' => '', 'required' => false], + ], + [ + 'name' => 'SortBy', + 'in' => 'query', + 'schema' => ['description' => 'The field to sort the results by.', 'type' => 'string', 'example' => 'GmtModifiedTime', 'title' => '', 'required' => false], + ], + [ + 'name' => 'ProjectIds', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'title' => 'Label表ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'title' => '', + 'description' => 'An array of project IDs to filter by.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the project. To get project IDs, call this operation without this parameter.', 'type' => 'string', 'required' => false, 'example' => '3', 'title' => ''], + 'required' => false, + 'example' => '', ], ], ], @@ -6660,499 +5648,391 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response data.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id。', - 'description' => '', - 'type' => 'string', - 'example' => '728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'project1', - ], - 'DatasourceId' => [ - 'title' => '数据源ID。', - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - 'Name' => [ - 'title' => 'label表名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'label_table1', - ], - 'DatasourceName' => [ - 'title' => '数据源名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'datasource1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '', - 'type' => 'string', - 'example' => '12321312*****', - ], - 'RelatedModelFeatures' => [ - 'title' => '使用此Label表的模型特征名称。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2021-12-15T23:24:33.132+08:00', - ], - 'Fields' => [ - 'title' => '字段列表。', - 'description' => '', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '44933189-493B-5C43-A5C6-11EEC2A43520'], + 'TotalCount' => ['description' => 'The total number of projects.', 'type' => 'integer', 'format' => 'int64', 'example' => '10', 'title' => ''], + 'Projects' => [ + 'title' => '', + 'description' => 'The list of projects.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'A project.', 'type' => 'object', 'properties' => [ - 'Name' => [ - 'title' => '字段名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'field1', - ], - 'Type' => [ - 'title' => '字段类型。', - 'description' => '', - 'type' => 'string', - 'example' => 'INT32', - 'enum' => [ - 'INT32', - 'INT64', - 'FLOAT', - 'DOUBLE', - 'STRING', - 'BOOLEAN', - 'TIMESTAMP', - ], - ], - 'Attributes' => [ - 'title' => '字段属性列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'Partition', - 'enum' => [ - 'Partition', - 'FeatureField', - 'FeatureGenerationReserveField', - 'EventTime', - 'LabelField', - ], - ], - ], + 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => '3', 'title' => ''], + 'Name' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'project1', 'title' => ''], + 'Description' => ['description' => 'The project description.', 'type' => 'string', 'example' => 'This is a test.', 'title' => ''], + 'OfflineDatasourceType' => ['description' => 'The offline data source type.', 'type' => 'string', 'example' => 'MaxCompute', 'title' => ''], + 'OfflineDatasourceId' => ['description' => 'The offline data source ID.', 'type' => 'string', 'example' => '4', 'title' => ''], + 'OfflineDatasourceName' => ['description' => 'The offline data source name.', 'type' => 'string', 'example' => 'datasource1', 'title' => ''], + 'OnlineDatasourceType' => ['description' => 'The online data source type.', 'type' => 'string', 'example' => 'Hologres', 'title' => ''], + 'OnlineDatasourceId' => ['description' => 'The online data source ID.', 'type' => 'string', 'example' => '5', 'title' => ''], + 'OnlineDatasourceName' => ['description' => 'The online data source name.', 'type' => 'string', 'example' => 'datasource2', 'title' => ''], + 'OfflineLifecycle' => ['description' => 'The offline data lifecycle, in days.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'FeatureEntityCount' => ['description' => 'The number of feature entities.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'FeatureViewCount' => ['description' => 'The number of feature views.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'ModelCount' => ['description' => 'The number of models.', 'type' => 'integer', 'format' => 'int32', 'example' => '5', 'title' => ''], + 'Owner' => ['description' => 'The project owner.', 'type' => 'string', 'example' => '1232132543543****', 'title' => ''], + 'GmtCreateTime' => ['description' => 'The creation time.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + 'GmtModifiedTime' => ['description' => 'The modification time.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => ''], + 'WorkspaceId' => ['description' => 'The workspace ID.', 'type' => 'string', 'example' => '35523', 'title' => ''], ], + 'title' => '', + 'example' => '', ], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'List Projects', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Response parameters changed'], + ['createdAt' => '2023-08-30T06:54:43.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77\\",\\n \\"ProjectId\\": \\"1\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"DatasourceId\\": \\"1\\",\\n \\"Name\\": \\"label_table1\\",\\n \\"DatasourceName\\": \\"datasource1\\",\\n \\"Owner\\": \\"12321312*****\\",\\n \\"RelatedModelFeatures\\": [\\n \\"rank_v1\\"\\n ],\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"Fields\\": [\\n {\\n \\"Name\\": \\"field1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"Attributes\\": [\\n \\"Partition\\"\\n ]\\n }\\n ]\\n}","type":"json"}]', - ], - 'UpdateLabelTable' => [ - 'summary' => '更新label表。', - 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', - 'methods' => [ - 'put', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjects'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListProjects', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"44933189-493B-5C43-A5C6-11EEC2A43520\\",\\n \\"TotalCount\\": 10,\\n \\"Projects\\": [\\n {\\n \\"ProjectId\\": \\"3\\",\\n \\"Name\\": \\"project1\\",\\n \\"Description\\": \\"This is a test.\\",\\n \\"OfflineDatasourceType\\": \\"MaxCompute\\",\\n \\"OfflineDatasourceId\\": \\"4\\",\\n \\"OfflineDatasourceName\\": \\"datasource1\\",\\n \\"OnlineDatasourceType\\": \\"Hologres\\",\\n \\"OnlineDatasourceId\\": \\"5\\",\\n \\"OnlineDatasourceName\\": \\"datasource2\\",\\n \\"OfflineLifecycle\\": 10,\\n \\"FeatureEntityCount\\": 10,\\n \\"FeatureViewCount\\": 10,\\n \\"ModelCount\\": 5,\\n \\"Owner\\": \\"1232132543543****\\",\\n \\"GmtCreateTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"GmtModifiedTime\\": \\"2021-12-15T23:24:33.132+08:00\\",\\n \\"WorkspaceId\\": \\"35523\\"\\n }\\n ]\\n}","type":"json"}]', + ], + 'ListTaskLogs' => [ + 'summary' => 'Lists the execution logs of an asynchronous task. This operation supports pagination.', + 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/logs', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'update', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'featurestore-test1', - ], + 'schema' => ['description' => 'The instance ID. You can get it by calling the ListInstances API.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'LabelTableId', + 'name' => 'TaskId', 'in' => 'path', - 'schema' => [ - 'title' => 'Label表ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['description' => 'The task ID. You can get it by calling the ListTasks API.', 'type' => 'string', 'required' => true, 'example' => '4', 'title' => ''], ], [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => 'label表名称。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'rec_test', - ], - 'DatasourceId' => [ - 'title' => 'label表所在数据源ID。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], - 'Fields' => [ - 'title' => '字段列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '字段名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'lat', - ], - 'Type' => [ - 'title' => '字段类型。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'DOUBLE', - 'enum' => [ - 'DOUBLE', - 'INT32', - 'INT64', - 'FLOAT', - 'STRING', - 'BOOLEAN', - 'TIMESTAMP', - ], - ], - 'Attributes' => [ - 'title' => '字段属性列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Partition', - 'enum' => [ - 'Partition', - 'FeatureField', - 'FeatureGenerationReserveField', - 'EventTime', - 'LabelField', - ], - ], - 'required' => true, - ], - ], - 'required' => false, - ], - 'required' => true, - ], - ], - 'required' => false, - ], + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. The minimum value is 1. The default value is 1.', 'type' => 'integer', 'format' => 'int32', 'required' => false, 'example' => '1', 'title' => ''], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries to return on each page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => '请求id。', - 'description' => '', - 'type' => 'string', - 'example' => '728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77', + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '72F15A8A-5A28-5B18-A0DE-0EABD7D3245A'], + 'TotalCount' => ['description' => 'The total number of log entries.', 'type' => 'integer', 'format' => 'int32', 'example' => '100', 'title' => ''], + 'Logs' => [ + 'title' => '', + 'description' => 'An array of log entries.', + 'type' => 'array', + 'items' => ['description' => 'A log entry.', 'type' => 'string', 'example' => 'success!', 'title' => ''], + 'example' => '', ], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"72F15A8A-5A28-5B18-A0DE-0EABD7D3245A\\",\\n \\"TotalCount\\": 100,\\n \\"Logs\\": [\\n \\"success!\\"\\n ]\\n}","type":"json"}]', + 'title' => 'Retrieve task logs', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskLogs'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListTaskLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77\\"\\n}","type":"json"}]', ], - 'DeleteLabelTable' => [ - 'summary' => '删除label表', - 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'ListTasks' => [ + 'summary' => 'Lists asynchronous tasks for an instance, supporting pagination and filtering by project, object type, and status.', + 'path' => '/api/v1/instances/{InstanceId}/tasks', + 'methods' => ['get'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'readAndWrite', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'read', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'list', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '188874', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. You can obtain it by calling the ListInstances interface.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'LabelTableId', - 'in' => 'path', + 'name' => 'ProjectId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the project. You can call the ListProjects operation to obtain the ID.', 'type' => 'string', 'required' => false, 'example' => '4', 'title' => ''], + ], + [ + 'name' => 'ObjectType', + 'in' => 'query', + 'schema' => ['description' => 'The type of the object.'."\n" + ."\n" + .'● `ModelFeature`: a model feature.'."\n" + ."\n" + .'● `FeatureView`: a feature view.', 'type' => 'string', 'example' => 'ModelFeature', 'title' => '', 'required' => false], + ], + [ + 'name' => 'ObjectId', + 'in' => 'query', + 'schema' => ['description' => 'The ID of the object. You can call the ListModelFeatures or ListFeatureViews operation to obtain the ID.', 'type' => 'string', 'example' => '4', 'title' => '', 'required' => false], + ], + [ + 'name' => 'Status', + 'in' => 'query', + 'schema' => ['description' => 'The task status.'."\n" + ."\n" + .'● `Initializing`: The task is being initialized.'."\n" + ."\n" + .'● `Running`: The task is running.'."\n" + ."\n" + .'● `Success`: The task is successful.'."\n" + ."\n" + .'● `Failure`: The task fails.', 'type' => 'string', 'example' => 'Running', 'title' => '', 'required' => false], + ], + [ + 'name' => 'PageSize', + 'in' => 'query', + 'schema' => ['description' => 'The number of entries per page. Default value: 10.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => '', 'required' => false], + ], + [ + 'name' => 'PageNumber', + 'in' => 'query', + 'schema' => ['description' => 'The page number. Pages start from page 1. Default value: 1.', 'type' => 'integer', 'format' => 'int32', 'title' => '', 'required' => false, 'example' => '1'], + ], + [ + 'name' => 'Type', + 'in' => 'query', + 'schema' => ['description' => 'The task type by which to filter tasks.', 'type' => 'string', 'example' => 'OfflineToOnline', 'title' => '', 'required' => false], + ], + [ + 'name' => 'TaskIds', + 'in' => 'query', + 'style' => 'simple', 'schema' => [ - 'title' => 'Label表ID,可从接口ListLabelTables获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'title' => '', + 'description' => 'The task IDs by which to filter tasks.', + 'type' => 'array', + 'items' => ['description' => 'The ID of the task. You can call the ListTasks operation to obtain the ID.', 'type' => 'string', 'required' => false, 'example' => '3', 'title' => ''], + 'required' => false, + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'FFD39C0F-DD8D-51B2-864E-2842206DB0E8', + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6', 'title' => ''], + 'TotalCount' => ['description' => 'The total number of tasks.', 'type' => 'integer', 'format' => 'int32', 'example' => '10', 'title' => ''], + 'Tasks' => [ + 'title' => '', + 'description' => 'The list of tasks.', + 'type' => 'array', + 'items' => [ + 'description' => 'A task.', + 'type' => 'object', + 'properties' => [ + 'GmtCreateTime' => ['description' => 'The time when the task was created.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'GmtExecutedTime' => ['description' => 'The time when the task was executed.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'GmtFinishedTime' => ['description' => 'The time when the task was completed.', 'type' => 'string', 'example' => '2023-07-04T11:26:09.036+08:00', 'title' => ''], + 'ObjectId' => ['description' => 'The ID of the object.', 'type' => 'string', 'example' => '5', 'title' => ''], + 'ObjectType' => ['description' => 'The type of the object. Valid values:'."\n" + ."\n" + .'● ModelFeature: a model feature.'."\n" + ."\n" + .'● FeatureView: a feature view.', 'type' => 'string', 'example' => 'ModelFeature', 'title' => ''], + 'ProjectId' => ['description' => 'The project ID.', 'type' => 'string', 'example' => '4', 'title' => ''], + 'ProjectName' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'project_1', 'title' => ''], + 'Status' => ['description' => 'The status of the task. Valid values:'."\n" + ."\n" + .'● Initializing: The task is being initialized.'."\n" + ."\n" + .'● Running: The task is in progress.'."\n" + ."\n" + .'● Success: The task is successful.'."\n" + ."\n" + .'● Failure: The task failed.', 'type' => 'string', 'example' => 'Running', 'title' => ''], + 'TaskId' => ['description' => 'The task ID.', 'type' => 'string', 'example' => '4', 'title' => ''], + 'Type' => ['description' => 'The task type. Valid values:'."\n" + ."\n" + .'● OfflineToOnline: The task synchronizes data from offline to online.'."\n" + ."\n" + .'● ExportTrainingSet: The task exports a training set.', 'type' => 'string', 'example' => 'OfflineToOnline', 'title' => ''], + ], + 'title' => '', + 'example' => '', + ], + 'example' => '', ], ], + 'description' => '', + 'title' => '', + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\",\\n \\"TotalCount\\": 10,\\n \\"Tasks\\": [\\n {\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtExecutedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtFinishedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"ObjectId\\": \\"5\\",\\n \\"ObjectType\\": \\"ModelFeature\\",\\n \\"ProjectId\\": \\"4\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"Status\\": \\"Running\\",\\n \\"TaskId\\": \\"4\\",\\n \\"Type\\": \\"OfflineToOnline\\"\\n }\\n ]\\n}","type":"json"}]', + 'title' => 'Retrieve Job List ', + 'changeSet' => [ + ['createdAt' => '2024-11-25T02:36:08.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"FFD39C0F-DD8D-51B2-864E-2842206DB0E8\\"\\n}","type":"json"}]', - ], - 'CreateModelFeature' => [ - 'summary' => '创建模型特征。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTasks'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'PublishFeatureViewTable' => [ + 'summary' => 'Creates a data synchronization task to synchronize data from a feature view\'s offline table to its online store.', + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/action/publishtable', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'create', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '189325', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The ID of the instance. Call the `ListInstances` operation to get this ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], + ], + [ + 'name' => 'FeatureViewId', + 'in' => 'path', + 'schema' => ['description' => 'The ID of the feature view. Call the `ListFeatureViews` operation to get this ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body.', 'type' => 'object', 'properties' => [ - 'ProjectId' => [ - 'title' => '项目ID,可从接口ListProjects获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - 'Name' => [ - 'title' => '模型特征名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'model_feature_1', - ], - 'LabelTableId' => [ - 'title' => 'Label表ID,可从接口ListLabelTables获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '4', - ], - 'Features' => [ - 'title' => '特征列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', + 'Partitions' => [ + 'title' => '', + 'description' => 'The partitions to publish.', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ 'type' => 'object', - 'properties' => [ - 'FeatureViewId' => [ - 'title' => '特征视图ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '5', - ], - 'Name' => [ - 'title' => '特征名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'user_id', - ], - 'AliasName' => [ - 'title' => '特征别名。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'userid', - ], - 'Type' => [ - 'title' => '特征类型。'."\n" - .'● INT32'."\n" - .'● INT64'."\n" - .'● FLOAT'."\n" - .'● DOUBLE'."\n" - .'● STRING'."\n" - .'● BOOLEAN'."\n" - .'● TIMESTAMP', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'STRING', - ], - ], - 'required' => false, - ], - 'required' => true, - ], - 'SequenceFeatureViewIds' => [ - 'title' => '序列特征IDs。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', + 'additionalProperties' => ['description' => 'The partition date.', 'type' => 'string', 'example' => '20220718', 'title' => ''], + 'description' => 'A map of partition fields and their values.', + 'title' => '', + 'example' => '', ], - ], - 'LabelPriorityLevel' => [ - 'title' => 'label 表优先级,默认为0,表示不允许 label 表特征与特征视图特征有冲突。1 表示有冲突时 label 表优先。2表示特征视图优先。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], + 'example' => '', + ], + 'Mode' => ['description' => 'The synchronization mode. The following values are supported:'."\n" + ."\n" + .'- `Overwrite`: Overwrites all data in the specified partitions.'."\n" + ."\n" + .'- `Merge`: Merges the new data with existing data in the specified partitions.', 'type' => 'string', 'required' => true, 'example' => 'Overwrite', 'title' => ''], + 'EventTime' => ['description' => 'The event time of the data to be published, in ISO 8601 format.', 'type' => 'string', 'example' => '2021-12-15T23:24:33.132+08:00', 'title' => '', 'required' => false], + 'Config' => ['description' => 'Custom configurations for the task, provided as a JSON string.', 'type' => 'string', 'example' => '{}', 'title' => '', 'required' => false], + 'OfflineToOnline' => ['description' => 'Specifies whether to synchronize data from the offline table to the online store.', 'type' => 'boolean', 'required' => true, 'title' => '', 'example' => 'true'], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -7160,316 +6040,155 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response parameters.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '37D19490-AB69-567D-A852-407C94E510E9', - ], - 'ModelFeatureId' => [ - 'title' => '模型特征ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '627B5776-4D06-5A49-8A04-508AA39653F4'], + 'TaskId' => ['title' => 'Job ID.', 'description' => 'The ID of the data synchronization task.', 'type' => 'string', 'example' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"627B5776-4D06-5A49-8A04-508AA39653F4\\",\\n \\"TaskId\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'Publish table data under a feature view', + 'changeSet' => [ + ['createdAt' => '2023-09-08T06:37:50.000Z', 'description' => 'Response parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"ModelFeatureId\\": \\"3\\"\\n}","type":"json"}]', - ], - 'ListModelFeatures' => [ - 'summary' => '获取模型特征列表。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishFeatureViewTable'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:PublishFeatureViewTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'StopTask' => [ + 'summary' => 'Stops an asynchronous task. You can only stop tasks in the Initializing or Running state.', + 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/action/stop', + 'methods' => ['post'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'write', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '189326', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'title' => '项目ID,可从接口ListProjects获取。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], - ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '', - 'type' => 'integer', - 'required' => false, - 'example' => '10', - 'format' => 'int32', - ], - ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '', - 'type' => 'integer', - 'required' => false, - 'example' => '1', - 'format' => 'int32', - ], - ], - [ - 'name' => 'SortBy', - 'in' => 'query', - 'schema' => [ - 'title' => '排序依据。'."\n" - .'● GmtCreateTime-创建时间。'."\n" - .'● GmtModifiedTime-更新时间。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'DESC', - ], - ], - [ - 'name' => 'Order', - 'in' => 'query', - 'schema' => [ - 'title' => '排序方式。'."\n" - .'● ASC-升序。'."\n" - .'● DESC-降序。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ASC', - ], - ], - [ - 'name' => 'Name', - 'in' => 'query', - 'schema' => [ - 'title' => '模型特征名称过滤。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'model_feature1', - ], - ], - [ - 'name' => 'Owner', - 'in' => 'query', - 'schema' => [ - 'title' => '创建人。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '12323143****', - ], - ], - [ - 'name' => 'ModelFeatureIds', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'title' => '模型特征ID过滤。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], - 'required' => false, - ], + 'name' => 'TaskId', + 'in' => 'path', + 'schema' => ['description' => 'The task ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response schema.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '2CA11923-2A3D-5E5A-8314-E699D2DD15DE', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '4', - ], - 'ModelFeatures' => [ - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'ModelFeatureId' => [ - 'title' => '模型特征ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'example' => '5', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'project1', - ], - 'Name' => [ - 'title' => '模型特征名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'model_feature1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '', - 'type' => 'string', - 'example' => '1231243253****', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T14:46:22.227+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T14:46:22.227+08:00', - ], - 'LabelTableName' => [ - 'title' => 'label表名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'label_table_1', - ], - ], - ], - 'title' => '模型特征列表。', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '514F82AF-3C04-5C3D-8F38-A11261BF37B0'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"514F82AF-3C04-5C3D-8F38-A11261BF37B0\\"\\n}","type":"json"}]', + 'title' => 'Stop a job', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopTask'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:StopTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2CA11923-2A3D-5E5A-8314-E699D2DD15DE\\",\\n \\"TotalCount\\": 4,\\n \\"ModelFeatures\\": [\\n {\\n \\"ModelFeatureId\\": \\"3\\",\\n \\"ProjectId\\": \\"5\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"Name\\": \\"model_feature1\\",\\n \\"Owner\\": \\"1231243253****\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"LabelTableName\\": \\"label_table_1\\"\\n }\\n ]\\n}","type":"json"}]', ], - 'GetModelFeature' => [ - 'summary' => '获取模型特征详情。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateDatasource' => [ + 'summary' => 'Updates information for a data source. Its type and workspace cannot be changed.', + 'path' => '/api/v1/instances/{InstanceId}/datasources/{DatasourceId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '189332', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. You can obtain the ID by calling the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'ModelFeatureId', + 'name' => 'DatasourceId', 'in' => 'path', + 'schema' => ['description' => 'The data source ID. You can obtain the ID by calling the ListDatasources operation.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '模型特征ID,可从接口ListModelFeatures获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The data source name.', 'type' => 'string', 'required' => true, 'example' => 'datasource1', 'title' => ''], + 'Uri' => ['description' => 'The resource URI.', 'type' => 'string', 'required' => true, 'example' => 'igraph_instance1', 'title' => ''], + 'Config' => ['description' => 'The resource configuration.', 'type' => 'string', 'example' => '{"address": ""}', 'title' => '', 'required' => false], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -7477,342 +6196,156 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'example' => '5', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'project1', - ], - 'Name' => [ - 'title' => '模型特征名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'model_feature1', - ], - 'Owner' => [ - 'title' => '创建人。', - 'description' => '', - 'type' => 'string', - 'example' => '1231243253****', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T14:46:22.227+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T14:46:22.227+08:00', - ], - 'LabelTableId' => [ - 'title' => 'Label表ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'LabelTableName' => [ - 'title' => 'Label表名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'label_table1', - ], - 'TrainingSetTable' => [ - 'title' => '导出训练集表的名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'table1', - ], - 'TrainingSetFGTable' => [ - 'title' => '导出训练集FG表的名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'table2', - ], - 'Features' => [ - 'title' => '特征列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'FeatureViewId' => [ - 'title' => '特征视图ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'FeatureViewName' => [ - 'title' => '特征视图名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'feature_view_1', - ], - 'Name' => [ - 'title' => '特征名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'feature1', - ], - 'Type' => [ - 'title' => '特征类型。'."\n" - .'● INT32'."\n" - .'● INT64'."\n" - .'● FLOAT'."\n" - .'● DOUBLE'."\n" - .'● STRING'."\n" - .'● BOOLEAN'."\n" - .'● TIMESTAMP', - 'description' => '', - 'type' => 'string', - 'example' => 'INT32', - ], - 'AliasName' => [ - 'title' => '特征别名。', - 'description' => '', - 'type' => 'string', - 'example' => 'feature2', - ], - ], - ], - ], - 'Relations' => [ - 'title' => '特征关系。', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Domains' => [ - 'title' => 'Domain列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Id' => [ - 'title' => 'Domain ID。', - 'description' => 'Domain ID。', - 'type' => 'string', - 'example' => '3', - ], - 'Name' => [ - 'title' => 'Domain名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'feature_entity_1', - ], - 'DomainType' => [ - 'title' => 'Domain类型。'."\n" - .'● FeatureEntity-特征实体'."\n" - .'● FeatureView-特征视图'."\n" - .'● ModelFeature-模型特征', - 'description' => '', - 'type' => 'string', - 'example' => 'FeatureEntity', - ], - ], - ], - ], - 'Links' => [ - 'title' => '特征关系连接信息列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'From' => [ - 'title' => '连接头ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'model_feature_2', - ], - 'To' => [ - 'title' => '连接尾ID。', - 'description' => '', - 'type' => 'string', - 'example' => 'feature_entity_3', - ], - 'Link' => [ - 'title' => '连接依赖字段。', - 'description' => '', - 'type' => 'string', - 'example' => 'user_id', - ], - ], - ], - ], - ], - ], - 'ExportTrainingSetTableScript' => [ - 'title' => '导出training set表脚本', - 'type' => 'string', - 'example' => 'from feature_store_py.fs_client import FeatureStoreClient\\nfrom feature_store_py.fs_project import FeatureStoreProject\\nfrom feature_store_py.fs_datasource import LabelInput, MaxComputeDataSource, TrainingSetOutput\\nfrom feature_store_py.fs_features import FeatureSelector\\nfrom feature_store_py.fs_config import LabelInputConfig, PartitionConfig, FeatureViewConfig\\nfrom feature_store_py.fs_config import TrainSetOutputConfig, EASDeployConfig\\nimport datetime\\nimport sys\\n\\ncur_day = args[\'dt\']\\nprint(\'cur_day = \', cur_day)\\noffset = datetime.timedelta(days=-1)\\npre_day = (datetime.datetime.strptime(cur_day, \'%Y%m%d\') + offset).strftime(\'%Y%m%d\')\\nprint(\'pre_day = \', pre_day)\\n\\n\\naccess_key_id = o.account.access_id\\naccess_key_secret = o.account.secret_access_key\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\ncur_project_name = \'p1\'\\nproject = fs.get_project(cur_project_name)\\n\\nlabel_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\nlabel_input_config = LabelInputConfig(partition_config=label_partitions)\\n\\nfeature_view_1_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\nfeature_view_1_config = FeatureViewConfig(name = \'user_fea\',\\npartition_config=feature_view_1_partitions)\\n\\nfeature_view_2_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\nfeature_view_2_config = FeatureViewConfig(name = \'seq_fea\',\\npartition_config=feature_view_2_partitions)\\n\\nfeature_view_3_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\nfeature_view_3_config = FeatureViewConfig(name = \'item_fea\',\\npartition_config=feature_view_3_partitions)\\n\\nfeature_view_config_list = [feature_view_1_config,feature_view_2_config,feature_view_3_config]\\ntrain_set_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\ntrain_set_output_config = TrainSetOutputConfig(partition_config=train_set_partitions)\\n\\n\\nmodel_name = \'rank_v1\'\\ncur_model = project.get_model(model_name)\\ntask = cur_model.export_train_set(label_input_config, feature_view_config_list, train_set_output_config)\\ntask.wait()\\nprint(\'task_summary = \', task.task_summary)\\n', - ], - 'LabelPriorityLevel' => [ - 'title' => 'label 表优先级,默认为0,表示不允许 label 表特征与特征视图特征有冲突。1 表示有冲突时 label 表优先。2表示特征视图优先。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\"\\n}","type":"json"}]', + 'title' => 'Update Data Source ', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDatasource'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"ProjectId\\": \\"5\\",\\n \\"ProjectName\\": \\"project1\\",\\n \\"Name\\": \\"model_feature1\\",\\n \\"Owner\\": \\"1231243253****\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T14:46:22.227+08:00\\",\\n \\"LabelTableId\\": \\"3\\",\\n \\"LabelTableName\\": \\"label_table1\\",\\n \\"TrainingSetTable\\": \\"table1\\",\\n \\"TrainingSetFGTable\\": \\"table2\\",\\n \\"Features\\": [\\n {\\n \\"FeatureViewId\\": \\"3\\",\\n \\"FeatureViewName\\": \\"feature_view_1\\",\\n \\"Name\\": \\"feature1\\",\\n \\"Type\\": \\"INT32\\",\\n \\"AliasName\\": \\"feature2\\"\\n }\\n ],\\n \\"Relations\\": {\\n \\"Domains\\": [\\n {\\n \\"Id\\": \\"3\\",\\n \\"Name\\": \\"feature_entity_1\\",\\n \\"DomainType\\": \\"FeatureEntity\\"\\n }\\n ],\\n \\"Links\\": [\\n {\\n \\"From\\": \\"model_feature_2\\",\\n \\"To\\": \\"feature_entity_3\\",\\n \\"Link\\": \\"user_id\\"\\n }\\n ]\\n },\\n \\"ExportTrainingSetTableScript\\": \\"from feature_store_py.fs_client import FeatureStoreClient\\\\\\\\nfrom feature_store_py.fs_project import FeatureStoreProject\\\\\\\\nfrom feature_store_py.fs_datasource import LabelInput, MaxComputeDataSource, TrainingSetOutput\\\\\\\\nfrom feature_store_py.fs_features import FeatureSelector\\\\\\\\nfrom feature_store_py.fs_config import LabelInputConfig, PartitionConfig, FeatureViewConfig\\\\\\\\nfrom feature_store_py.fs_config import TrainSetOutputConfig, EASDeployConfig\\\\\\\\nimport datetime\\\\\\\\nimport sys\\\\\\\\n\\\\\\\\ncur_day = args[\'dt\']\\\\\\\\nprint(\'cur_day = \', cur_day)\\\\\\\\noffset = datetime.timedelta(days=-1)\\\\\\\\npre_day = (datetime.datetime.strptime(cur_day, \'%Y%m%d\') + offset).strftime(\'%Y%m%d\')\\\\\\\\nprint(\'pre_day = \', pre_day)\\\\\\\\n\\\\\\\\n\\\\\\\\naccess_key_id = o.account.access_id\\\\\\\\naccess_key_secret = o.account.secret_access_key\\\\\\\\nfs = FeatureStoreClient(access_key_id=access_key_id, access_key_secret=access_key_secret, region=\'cn-beijing\')\\\\\\\\ncur_project_name = \'p1\'\\\\\\\\nproject = fs.get_project(cur_project_name)\\\\\\\\n\\\\\\\\nlabel_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\\\\\\\nlabel_input_config = LabelInputConfig(partition_config=label_partitions)\\\\\\\\n\\\\\\\\nfeature_view_1_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\\\\\\\nfeature_view_1_config = FeatureViewConfig(name = \'user_fea\',\\\\\\\\npartition_config=feature_view_1_partitions)\\\\\\\\n\\\\\\\\nfeature_view_2_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\\\\\\\nfeature_view_2_config = FeatureViewConfig(name = \'seq_fea\',\\\\\\\\npartition_config=feature_view_2_partitions)\\\\\\\\n\\\\\\\\nfeature_view_3_partitions = PartitionConfig(name = \'ds\', value = pre_day)\\\\\\\\nfeature_view_3_config = FeatureViewConfig(name = \'item_fea\',\\\\\\\\npartition_config=feature_view_3_partitions)\\\\\\\\n\\\\\\\\nfeature_view_config_list = [feature_view_1_config,feature_view_2_config,feature_view_3_config]\\\\\\\\ntrain_set_partitions = PartitionConfig(name = \'ds\', value = cur_day)\\\\\\\\ntrain_set_output_config = TrainSetOutputConfig(partition_config=train_set_partitions)\\\\\\\\n\\\\\\\\n\\\\\\\\nmodel_name = \'rank_v1\'\\\\\\\\ncur_model = project.get_model(model_name)\\\\\\\\ntask = cur_model.export_train_set(label_input_config, feature_view_config_list, train_set_output_config)\\\\\\\\ntask.wait()\\\\\\\\nprint(\'task_summary = \', task.task_summary)\\\\\\\\n\\",\\n \\"LabelPriorityLevel\\": 0\\n}","type":"json"}]', ], - 'UpdateModelFeature' => [ - 'summary' => '更新模型特征。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateFeatureView' => [ + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '189379', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. You can obtain the instance ID by calling the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'ModelFeatureId', + 'name' => 'FeatureViewId', 'in' => 'path', - 'schema' => [ - 'title' => '模型特征ID,可从接口ListModelFeatures获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '4', - ], + 'schema' => ['description' => 'The feature view ID. You can obtain the feature view ID by calling the ListFeatureViews operation.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body.', 'type' => 'object', 'properties' => [ - 'LabelTableId' => [ - 'title' => 'Label表ID,可从接口ListLabelTables获取。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '4', - ], - 'Features' => [ - 'title' => '特征列表。', - 'description' => '', + 'Fields' => [ + 'title' => '', + 'description' => 'A list of fields.', 'type' => 'array', 'items' => [ - 'description' => '', + 'description' => 'A field object.', 'type' => 'object', 'properties' => [ - 'FeatureViewId' => [ - 'title' => '特征视图ID,可从接口ListFeatureViews获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '5', - ], - 'Name' => [ - 'title' => '特征名称。', - 'description' => '', - 'type' => 'string', + 'Name' => ['description' => 'The name of the field.', 'type' => 'string', 'required' => true, 'example' => 'user_id', 'title' => ''], + 'Type' => ['description' => 'The data type of the field.', 'type' => 'string', 'required' => true, 'example' => 'INT32', 'title' => ''], + 'Attributes' => [ + 'title' => '', + 'description' => 'A list of field attributes. Valid values:'."\n" + ."\n" + .'- `Partition`: Indicates that the field is a partition field.'."\n" + ."\n" + .'- `PrimaryKey`: Indicates that the field is a primary key.'."\n" + ."\n" + .'- `EventTime`: Indicates that the field is the event time.', + 'type' => 'array', + 'items' => ['description' => 'A field attribute.', 'type' => 'string', 'example' => 'Partition', 'required' => false, 'title' => ''], 'required' => true, - 'example' => 'gender', + 'example' => '', ], - 'AliasName' => [ - 'title' => '特征别名。', - 'description' => '', - 'type' => 'string', + 'Transform' => [ + 'title' => '', + 'description' => 'The feature generation configuration.', + 'type' => 'array', + 'items' => [ + 'description' => 'A feature generation configuration object.', + 'type' => 'object', + 'properties' => [ + 'Type' => ['description' => 'The type of feature generation.', 'type' => 'string', 'required' => true, 'example' => 'LLMEmbedding', 'title' => ''], + 'LLMConfigId' => ['description' => 'The ID of the LLM configuration.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '1', 'title' => ''], + 'Input' => [ + 'description' => 'The input fields.', + 'type' => 'array', + 'items' => [ + 'description' => 'An input field.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the input field.', 'type' => 'string', 'required' => true, 'example' => 'f1', 'title' => ''], + 'Type' => ['description' => 'The data type of the input field.', 'type' => 'string', 'required' => true, 'example' => 'STRING', 'title' => ''], + 'Modality' => [ + 'description' => 'The modality of the input, such as text or image.', + 'type' => 'string', + 'example' => 'NONE', + 'default' => 'NONE', + 'enum' => ['NONE', 'TEXT', 'IMAGE', 'VIDEO', 'MULTI_IMAGES'], + 'title' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => true, + 'title' => '', + 'example' => '', + ], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], 'required' => false, - 'example' => 'sex', - ], - 'Type' => [ - 'title' => '特征类型。'."\n" - .'● INT32'."\n" - .'● INT64'."\n" - .'● FLOAT'."\n" - .'● DOUBLE'."\n" - .'● STRING'."\n" - .'● BOOLEAN'."\n" - .'● TIMESTAMP', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'STRING', + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, - ], - 'SequenceFeatureViewIds' => [ - 'title' => '序列特征IDs。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'LabelPriorityLevel' => [ - 'title' => 'label 表优先级,默认为0,表示不允许 label 表特征与特征视图特征有冲突。1 表示有冲突时 label 表优先。2表示特征视图优先。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '0', + 'required' => true, + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -7820,520 +6353,397 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response for a successful request.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '7D497816-607C-5B67-97B1-61354B6ACB2B'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'UpdateFeatureView', + 'summary' => 'Updates a feature view.', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [], ], - 'eventInfo' => [ - 'enable' => false, - 'eventNames' => [], - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\"\\n}","type":"json"}]', + 'ramActions' => [], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7D497816-607C-5B67-97B1-61354B6ACB2B\\"\\n}","type":"json"}]', ], - 'DeleteModelFeature' => [ - 'summary' => '删除指定模型特征。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', - 'methods' => [ - 'delete', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'UpdateLLMConfig' => [ + 'summary' => 'Updates the large language model (LLM) call configuration. If you do not specify the `ApiKey` parameter, the existing key is retained. After the update, the system revalidates the model\'s availability and its parameters.', + 'path' => '/api/v1/instances/{InstanceId}/llmconfigs/{LLMConfigId}', + 'methods' => ['put'], + 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'delete', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', + 'schema' => ['description' => 'The instance ID. You can obtain this ID by calling the `ListInstances` operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-***', 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The name of the large language model (LLM) call configuration.', 'type' => 'string', 'required' => true, 'example' => 'llm-config1', 'title' => ''], + 'Model' => ['description' => 'The model name.', 'type' => 'string', 'required' => true, 'example' => 'text-embedding-v1', 'title' => ''], + 'ApiKey' => ['description' => 'The API key used to call the large language model (LLM).', 'type' => 'string', 'required' => true, 'example' => 'apikey-***', 'title' => ''], + 'BaseUrl' => ['description' => 'The base URL for calling the large language model (LLM).', 'type' => 'string', 'required' => true, 'example' => 'https://dashscope.aliyuncs.com/compatible-mode/v1', 'title' => ''], + 'Rps' => ['description' => 'The maximum number of requests per second (RPS).', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '30', 'title' => ''], + 'MaxTokens' => ['description' => 'The maximum number of input tokens per row.', 'type' => 'integer', 'format' => 'int32', 'required' => true, 'example' => '2048', 'title' => ''], + 'BatchSize' => ['description' => 'The batch size.', 'type' => 'integer', 'format' => 'int32', 'example' => '8', 'title' => '', 'required' => false], + 'EmbeddingDimension' => ['description' => 'The embedding dimension. If you omit this parameter or set it to 0, the model uses its default dimension.', 'type' => 'integer', 'format' => 'int32', 'example' => '1024', 'title' => '', 'required' => false], + 'ModelType' => [ + 'description' => 'The model type.', + 'type' => 'string', + 'enum' => ['TEXT_EMBEDDING', 'MULTI_MODAL_EMBEDDING'], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'EnableFusion' => ['description' => 'Whether to enable data fusion.', 'type' => 'boolean', 'required' => false, 'title' => '', 'example' => ''], + ], + 'required' => false, + 'description' => 'The large language model (LLM) configuration.', + 'title' => '', + 'example' => '', ], ], [ - 'name' => 'ModelFeatureId', + 'name' => 'LLMConfigId', 'in' => 'path', - 'schema' => [ - 'title' => '模型特征ID,可从接口ListModelFeatures获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '4', - ], + 'schema' => ['description' => 'The large language model (LLM) call configuration ID.', 'type' => 'string', 'required' => true, 'example' => 'llm_config_test1', 'title' => ''], ], ], 'responses' => [ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'BF349686-C932-55B5-9B31-DAFA395C0E06'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"BF349686-C932-55B5-9B31-DAFA395C0E06\\"\\n}","type":"json"}]', + 'title' => 'Update LLM Configuration Information', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8\\"\\n}","type":"json"}]', - ], - 'ExportModelFeatureTrainingSetTable' => [ - 'summary' => '导出训练集表。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/action/exporttrainingsettable', - 'methods' => [ - 'post', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLLMConfig'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + ], + 'UpdateLabelTable' => [ + 'summary' => 'Updates the attributes of fields in a label table. You can modify the attributes of existing fields, but you cannot add or delete fields, or change field names and types.', + 'path' => '/api/v1/instances/{InstanceId}/labeltables/{LabelTableId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'none', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '189386', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. You can obtain the ID by calling the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'featurestore-test1', 'title' => ''], ], [ - 'name' => 'ModelFeatureId', + 'name' => 'LabelTableId', 'in' => 'path', - 'schema' => [ - 'title' => '模型特征ID,可从接口ListModelFeatures获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['description' => 'The label table ID. You can obtain the ID by calling the ListLabelTables operation.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'The request body.', 'type' => 'object', 'properties' => [ - 'LabelInputConfig' => [ - 'title' => 'Label输入配置。', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Partitions' => [ - 'title' => '分区列表。', - 'description' => '', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'example' => '20230101', - 'description' => '', - ], - 'description' => '', - ], - ], - 'EventTime' => [ - 'title' => '事件时间。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '2022-07-02 00:00:00', - ], - ], - 'required' => false, - ], - 'FeatureViewConfig' => [ - 'description' => '', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ + 'Name' => ['description' => 'The name of the label table.', 'type' => 'string', 'required' => false, 'example' => 'rec_test', 'title' => ''], + 'DatasourceId' => ['description' => 'The ID of the data source for the label table.', 'type' => 'string', 'required' => false, 'example' => '3', 'title' => ''], + 'Fields' => [ + 'title' => '', + 'description' => 'The fields to modify.', + 'type' => 'array', + 'items' => [ + 'description' => 'A field object.', 'type' => 'object', 'properties' => [ - 'Partitions' => [ - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'string', - 'description' => '', - 'example' => '20230101', - ], - 'description' => '', - 'properties' => [ - 'Value' => [ - 'title' => '分区值。', - 'type' => 'string', - 'example' => '20250101', - ], - 'Values' => [ - 'title' => '分区列表。', - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'StartValue' => [ - 'title' => '开始时间分区。', - 'type' => 'string', - 'example' => '20250101', - ], - 'EndValue' => [ - 'title' => '结束时间分区。', - 'type' => 'string', - 'example' => '20250201', - ], - ], - ], - 'description' => '', - 'title' => '分区列表。', - ], - 'EventTime' => [ - 'title' => '事件时间。', + 'Name' => ['description' => 'The name of the field.', 'type' => 'string', 'required' => true, 'example' => 'lat', 'title' => ''], + 'Type' => [ + 'description' => 'The data type of the field.', 'type' => 'string', - 'example' => '1721186536', - ], - 'Equal' => [ - 'title' => '是否与事件时间相等。', - 'type' => 'boolean', - ], - 'UseMock' => [ - 'title' => '是否使用模拟数据表。', - 'type' => 'boolean', - ], - 'Snapshot' => [ - 'type' => 'object', - 'properties' => [ - 'Partitions' => [ - 'type' => 'object', - 'additionalProperties' => [ - 'type' => 'object', - 'properties' => [ - 'Value' => [ - 'type' => 'string', - 'example' => '20260101', - ], - 'Values' => [ - 'type' => 'array', - 'items' => [ - 'type' => 'string', - ], - ], - 'StartValue' => [ - 'type' => 'string', - ], - 'EndValue' => [ - 'type' => 'string', - ], - ], - ], - ], - 'Table' => [ - 'type' => 'string', - 'example' => 'table_name', - ], - ], + 'required' => true, + 'example' => 'DOUBLE', + 'enum' => ['DOUBLE', 'INT32', 'INT64', 'FLOAT', 'STRING', 'BOOLEAN', 'TIMESTAMP'], + 'title' => '', ], - ], - 'description' => '', - ], - 'title' => '特征视图配置。', - ], - 'TrainingSetConfig' => [ - 'title' => '训练集配置。', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'Partitions' => [ - 'title' => '分区列表。', - 'description' => '', - 'type' => 'object', - 'required' => false, - 'additionalProperties' => [ - 'type' => 'object', - 'additionalProperties' => [ + 'Attributes' => [ + 'title' => '', + 'description' => 'The field\'s attributes.', + 'type' => 'array', + 'items' => [ + 'description' => 'A field attribute.', 'type' => 'string', - 'example' => '20230101', - 'description' => '', + 'example' => 'Partition', + 'enum' => ['Partition', 'FeatureField', 'FeatureGenerationReserveField', 'EventTime', 'LabelField', 'EventTimeIsUnixTime'], + 'required' => false, + 'title' => '', ], - 'description' => '', + 'required' => true, + 'example' => '', ], + 'AlignedEntityName' => ['type' => 'string', 'example' => 'item', 'description' => '', 'title' => ''], ], + 'required' => false, + 'title' => '', + 'example' => '', ], - 'required' => false, - ], - 'RealTimeIterateInterval' => [ - 'title' => '实时特征轮询拉取间隔。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '1', - ], - 'RealTimePartitionCountValue' => [ - 'title' => '实时特征视图分区统计天数。', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '5', + 'required' => true, + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', - 'description' => '', + 'title' => '', + 'description' => 'The response body.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B', - ], - 'TaskId' => [ - 'title' => '任务ID。', - 'type' => 'string', - 'example' => '1', - ], + 'RequestId' => ['description' => 'The request ID.', 'type' => 'string', 'example' => '728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77', 'title' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'title' => 'Update label table ', + 'changeSet' => [ + ['createdAt' => '2025-07-15T08:31:33.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-11-23T03:38:30.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-11-22T12:36:07.000Z', 'description' => 'Request parameters changed'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0FBBE454-9BD1-5D8F-9129-D14DB7FAFE0B\\",\\n \\"TaskId\\": \\"51\\"\\n}","type":"json"}]', - ], - 'ListModelFeatureAvailableFeatures' => [ - 'summary' => '获取注册FG特征时模型特征下可选的所有特征。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/availablefeatures', - 'methods' => [ - 'get', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLabelTable'], + ], ], - 'schemes' => [ - 'http', - 'https', + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"728C5E01-ABF6-5AA8-B9FC-B3BA05DECC77\\"\\n}","type":"json"}]', + ], + 'UpdateModelFeature' => [ + 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'list', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '205398', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeCode' => '189379', + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['title' => '', 'description' => 'The instance ID. You can call the ListInstances operation to obtain the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********'], ], [ 'name' => 'ModelFeatureId', 'in' => 'path', - 'schema' => [ - 'title' => '模型特征ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['title' => '', 'description' => 'The model feature ID. You can call the ListModelFeatures operation to obtain the model feature ID.', 'type' => 'string', 'required' => true, 'example' => '4'], ], [ - 'name' => 'FeatureName', - 'in' => 'query', + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '特征名称(模糊过滤)。', - 'description' => '', - 'type' => 'string', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'LabelTableId' => ['title' => '', 'description' => 'The label table ID. You can call the ListLabelTables operation to obtain the label table ID.', 'type' => 'string', 'example' => '4', 'required' => false], + 'Features' => [ + 'title' => '', + 'description' => 'The list of features.', + 'type' => 'array', + 'items' => [ + 'description' => 'The feature.', + 'type' => 'object', + 'properties' => [ + 'FeatureViewId' => ['title' => '', 'description' => 'The feature view ID. You can call the ListFeatureViews operation to obtain the feature view ID.', 'type' => 'string', 'required' => true, 'example' => '5'], + 'Name' => ['title' => '', 'description' => 'The feature name.', 'type' => 'string', 'required' => true, 'example' => 'gender'], + 'AliasName' => ['title' => '', 'description' => 'The feature alias.', 'type' => 'string', 'example' => 'sex', 'required' => false], + 'Type' => ['title' => '', 'description' => 'The feature type. Valid values:'."\n" + ."\n" + .'- INT32'."\n" + .'- INT64'."\n" + .'- FLOAT'."\n" + .'- DOUBLE'."\n" + .'- STRING'."\n" + .'- BOOLEAN'."\n" + .'- TIMESTAMP.', 'type' => 'string', 'required' => true, 'example' => 'STRING'], + 'PrefixName' => ['type' => 'string', 'example' => 'cand_seq__', 'description' => '', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', + ], + 'required' => false, + 'example' => '', + ], + 'SequenceFeatureViewIds' => [ + 'title' => '', + 'type' => 'array', + 'items' => ['type' => 'string', 'description' => '', 'required' => false, 'title' => '', 'example' => ''], + 'required' => false, + 'description' => '', + 'example' => '', + ], + 'LabelPriorityLevel' => ['title' => '', 'type' => 'integer', 'format' => 'int64', 'example' => '0', 'description' => '', 'required' => false], + ], 'required' => false, - 'example' => 'f1', + 'title' => '', + 'example' => '', ], ], ], 'responses' => [ 200 => [ 'schema' => [ - 'title' => 'Schema of Response', + 'title' => '', 'description' => 'Schema of Response', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'ED4DEA2F-F216-57F0-AE28-08D791233280', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '10', - ], - 'AvaliableFeatures' => [ - 'title' => '可选的特征列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'Name' => [ - 'title' => '特征名。', - 'description' => '', - 'type' => 'string', - 'example' => 'age', - ], - 'Type' => [ - 'title' => '特征值类型。'."\n" - .'● INTEGER'."\n" - .'● DOUBLE'."\n" - .'● STRING', - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'STRING', - ], - 'SourceType' => [ - 'title' => '特征来源'."\n" - .'● FeatureView'."\n" - .'● LabelTable', - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'FeatureView', - ], - 'SourceName' => [ - 'title' => '特征来源名称', - 'description' => '', - 'type' => 'string', - 'example' => 'user_fea', - ], - ], - ], - ], + 'RequestId' => ['title' => '', 'description' => 'The request ID.', 'type' => 'string', 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'eventInfo' => [ + 'enable' => false, + 'eventNames' => [], + ], + 'title' => 'Update model feature', + 'summary' => 'Updates the information of a model feature, including the associated label table, selected feature fields, and conflict priority policy. The update performs a full replacement. The specified Features overwrite the existing values.', + 'changeSet' => [ + ['createdAt' => '2025-11-19T11:22:16.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2024-12-02T03:55:05.000Z', 'description' => 'Request parameters changed'], + ['createdAt' => '2023-10-30T02:07:07.000Z', 'description' => 'Request parameters changed'], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateModelFeature'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ED4DEA2F-F216-57F0-AE28-08D791233280\\",\\n \\"TotalCount\\": 10,\\n \\"AvaliableFeatures\\": [\\n {\\n \\"Name\\": \\"age\\",\\n \\"Type\\": \\"STRING\\",\\n \\"SourceType\\": \\"FeatureView\\",\\n \\"SourceName\\": \\"user_fea\\"\\n }\\n ]\\n}","type":"json"}]', + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\"\\n}","type":"json"}]', ], 'UpdateModelFeatureFGFeature' => [ - 'summary' => '更新模型特征的FG特征配置信息。', + 'summary' => 'Update the FG feature configuration for a model feature.', 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fgfeature', - 'methods' => [ - 'put', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], + 'consumes' => ['application/json'], + 'produces' => ['application/json'], 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ @@ -8341,299 +6751,239 @@ 'riskType' => 'none', 'chargeType' => 'free', 'abilityTreeCode' => '205443', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'Instance ID. Get it from the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ 'name' => 'ModelFeatureId', 'in' => 'path', - 'schema' => [ - 'title' => '模型特征ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], + 'schema' => ['description' => 'Model feature ID. Get it from the ListModelFeatures operation.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], ], [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ - 'description' => '', + 'description' => 'Request body.', 'type' => 'object', 'properties' => [ 'RawFeatures' => [ - 'title' => '基础特征信息。', - 'description' => '', + 'title' => '', + 'description' => 'Basic feature information.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'InputFeatureName' => [ - 'title' => '原始特征名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'item_id', - ], + 'InputFeatureName' => ['description' => 'The original name of the feature.', 'type' => 'string', 'required' => true, 'example' => 'item_id', 'title' => ''], 'FeatureDomain' => [ - 'title' => '原始特征域。'."\n" - .'● User'."\n" - .'● Item'."\n" - .'● Context', - 'description' => '', - 'type' => 'string', - 'required' => true, + 'description' => 'Input feature domain.'."\n" + ."\n" + .'- User'."\n" + ."\n" + .'- Item'."\n" + ."\n" + .'- Context', 'enumValueTitles' => [], - 'example' => 'User', - ], - 'FeatureName' => [ - 'title' => '生成特征的名称。', - 'description' => '', 'type' => 'string', 'required' => true, - 'example' => 'item_id', + 'example' => 'User', + 'title' => '', ], + 'FeatureName' => ['description' => 'Generated feature name.', 'type' => 'string', 'required' => true, 'example' => 'item_id', 'title' => ''], 'FeatureType' => [ - 'title' => 'FG基础特征类型。'."\n" - .'● IdFeature-主键'."\n" - .'● RawFeature-基础特征', - 'description' => '', + 'description' => 'FG basic feature type.'."\n" + ."\n" + .'- IdFeature'."\n" + ."\n" + .'- RawFeature', + 'enumValueTitles' => [], 'type' => 'string', 'required' => true, - 'enumValueTitles' => [], 'example' => 'IdFeature', + 'title' => '', ], 'ValueType' => [ - 'title' => '特征值类型。'."\n" - .'● INTEGER'."\n" - .'● DOUBLE'."\n" - .'● STRING', - 'description' => '', - 'type' => 'string', - 'required' => true, + 'description' => 'Feature value type.'."\n" + ."\n" + .'- INTEGER'."\n" + ."\n" + .'- DOUBLE'."\n" + ."\n" + .'- STRING', 'enumValueTitles' => [], - 'example' => 'STRING', - ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '', 'type' => 'string', 'required' => true, - 'example' => '-1024', + 'example' => 'STRING', + 'title' => '', ], + 'DefaultValue' => ['description' => 'Default value.', 'type' => 'string', 'required' => true, 'example' => '-1024', 'title' => ''], ], 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], 'required' => false, + 'example' => '', ], 'LookupFeatures' => [ - 'title' => '查询特征信息。', - 'description' => '', + 'title' => '', + 'description' => 'Lookup feature information.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'MapFeatureName' => [ - 'title' => 'map特征名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'item_id', - ], + 'MapFeatureName' => ['description' => 'Map feature name.', 'type' => 'string', 'required' => true, 'example' => 'item_id', 'title' => ''], 'MapFeatureDomain' => [ - 'title' => 'map特征域。'."\n" - .'● User'."\n" - .'● Item'."\n" - .'● Context', - 'description' => '', - 'type' => 'string', - 'required' => true, + 'description' => 'Map feature domain.'."\n" + ."\n" + .'- User'."\n" + ."\n" + .'- Item'."\n" + ."\n" + .'- Context', 'enumValueTitles' => [], - 'example' => 'User', - ], - 'FeatureName' => [ - 'title' => '生成特征的名称。', - 'description' => '', 'type' => 'string', 'required' => true, - 'example' => 'item_id', + 'example' => 'User', + 'title' => '', ], + 'FeatureName' => ['description' => 'Generated feature name.', 'type' => 'string', 'required' => true, 'example' => 'item_id', 'title' => ''], 'ValueType' => [ - 'title' => '特征值类型。'."\n" - .'● INTEGER'."\n" - .'● DOUBLE'."\n" - .'● STRING', - 'description' => '', - 'type' => 'string', - 'required' => true, + 'description' => 'Feature value type.'."\n" + ."\n" + .'- INTEGER'."\n" + ."\n" + .'- DOUBLE'."\n" + ."\n" + .'- STRING', 'enumValueTitles' => [], - 'example' => 'STRING', - ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '', 'type' => 'string', 'required' => true, - 'example' => '-1024', - ], - 'KeyFeatureName' => [ - 'title' => 'key特征特征。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '1', + 'example' => 'STRING', + 'title' => '', ], + 'DefaultValue' => ['description' => 'Default value.', 'type' => 'string', 'required' => true, 'example' => '-1024', 'title' => ''], + 'KeyFeatureName' => ['description' => 'The name of the key feature.', 'type' => 'string', 'required' => true, 'example' => '1', 'title' => ''], 'KeyFeatureDomain' => [ - 'title' => 'key特征域。'."\n" - .'● User'."\n" - .'● Item'."\n" - .'● Context', - 'description' => '', + 'description' => 'Key feature domain.'."\n" + ."\n" + .'- User'."\n" + ."\n" + .'- Item'."\n" + ."\n" + .'- Context', + 'enumValueTitles' => [], 'type' => 'string', 'required' => true, - 'enumValueTitles' => [], 'example' => 'Item', + 'title' => '', ], ], 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], 'required' => false, + 'example' => '', ], 'SequenceFeatures' => [ - 'title' => '序列特征信息。', - 'description' => '', + 'title' => '', + 'description' => 'Sequence feature information.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'FeatureName' => [ - 'title' => '序列特征名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'item_id', - ], - 'SequenceLength' => [ - 'title' => '序列特征最大长度。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'required' => true, - 'example' => '50', - ], - 'SequenceDelim' => [ - 'title' => '序列特征分隔符。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => ';', - ], - 'AttributeDelim' => [ - 'title' => '特征属性分隔符。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '#', - ], + 'FeatureName' => ['description' => 'Sequence feature name.', 'type' => 'string', 'required' => true, 'example' => 'item_id', 'title' => ''], + 'SequenceLength' => ['description' => 'Maximum length of the sequence feature.', 'type' => 'integer', 'format' => 'int64', 'required' => true, 'example' => '50', 'title' => ''], + 'SequenceDelim' => ['description' => 'Sequence feature delimiter.', 'type' => 'string', 'required' => true, 'example' => ';', 'title' => ''], + 'AttributeDelim' => ['description' => 'Feature attribute delimiter.', 'type' => 'string', 'required' => true, 'example' => '#', 'title' => ''], 'SubFeatures' => [ - 'title' => '序列特征子特征列表。', - 'description' => '', + 'title' => '', + 'description' => 'List of subfeatures for the sequence feature.', 'type' => 'array', 'items' => [ 'type' => 'object', 'properties' => [ - 'InputFeatureName' => [ - 'title' => '原始特征名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'item_id', - ], + 'InputFeatureName' => ['description' => 'Original feature name.', 'type' => 'string', 'required' => true, 'example' => 'item_id', 'title' => ''], 'FeatureDomain' => [ - 'title' => '原始特征域。'."\n" - .'● User'."\n" - .'● Item'."\n" - .'● Context', - 'description' => '', - 'type' => 'string', - 'required' => true, + 'description' => 'Input feature domain.'."\n" + ."\n" + .'- User'."\n" + ."\n" + .'- Item'."\n" + ."\n" + .'- Context', 'enumValueTitles' => [], - 'example' => 'User', - ], - 'FeatureName' => [ - 'title' => '生成子特征的名称。', - 'description' => '', 'type' => 'string', 'required' => true, - 'example' => 'item_id', + 'example' => 'User', + 'title' => '', ], + 'FeatureName' => ['description' => 'Generated subfeature name.', 'type' => 'string', 'required' => true, 'example' => 'item_id', 'title' => ''], 'FeatureType' => [ - 'title' => 'FG序列特征子特征类型。'."\n" - .'● IdFeature-主键'."\n" - .'● RawFeature-基础特征', - 'description' => '', + 'description' => 'FG sequence subfeature type.'."\n" + ."\n" + .'- IdFeature'."\n" + ."\n" + .'- RawFeature', + 'enumValueTitles' => [], 'type' => 'string', 'required' => true, - 'enumValueTitles' => [], 'example' => 'RawFeature', + 'title' => '', ], 'ValueType' => [ - 'title' => '特征值类型。'."\n" - .'● INTEGER'."\n" - .'● DOUBLE'."\n" - .'● STRING', - 'description' => '', - 'type' => 'string', - 'required' => true, + 'description' => 'Feature value type.'."\n" + ."\n" + .'- INTEGER'."\n" + ."\n" + .'- DOUBLE'."\n" + ."\n" + .'- STRING', 'enumValueTitles' => [], - 'example' => 'STRING', - ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '', 'type' => 'string', 'required' => true, - 'example' => '-1024', + 'example' => 'STRING', + 'title' => '', ], + 'DefaultValue' => ['description' => 'Default value.', 'type' => 'string', 'required' => true, 'example' => '-1024', 'title' => ''], ], 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], 'required' => false, + 'example' => '', ], ], 'required' => false, + 'description' => '', + 'title' => '', + 'example' => '', ], 'required' => false, + 'example' => '', ], 'Reserves' => [ - 'title' => '保留字段。', - 'description' => '', + 'title' => '', + 'description' => 'Reserved fields.', 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'f1', - ], + 'items' => ['description' => 'Name of a reserved field.', 'type' => 'string', 'required' => false, 'example' => 'f1', 'title' => ''], 'required' => false, + 'example' => '', ], ], 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -8641,77 +6991,85 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'Response schema.', 'type' => 'object', 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '7D497816-607C-5B67-97B1-61354B6ACB2B', - ], + 'requestId' => ['title' => 'Id of the request', 'description' => 'Request ID.', 'type' => 'string', 'example' => '7D497816-607C-5B67-97B1-61354B6ACB2B'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], + 'staticInfo' => ['returnType' => 'synchronous'], 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"7D497816-607C-5B67-97B1-61354B6ACB2B\\"\\n}","type":"json"}]', - ], - 'GetModelFeatureFGFeature' => [ - 'summary' => '获取模型特征的FG特征配置信息。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fgfeature', - 'methods' => [ - 'get', + 'title' => 'Update the FG feature configuration information of a model feature', + 'changeSet' => [ + ['createdAt' => '2024-12-03T03:48:43.000Z', 'description' => 'Request parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateModelFeatureFGFeature'], + ], ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateModelFeatureFGFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + ], + ], + 'UpdateProject' => [ + 'summary' => 'Updates the description of a project.', + 'path' => '/api/v1/instances/{InstanceId}/projects/{ProjectId}', + 'methods' => ['put'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'update', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '205386', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. Call the ListInstances operation to obtain the instance ID.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'ModelFeatureId', + 'name' => 'ProjectId', 'in' => 'path', + 'schema' => ['description' => 'The project ID. Call the ListProjects operation to obtain the project ID.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '模型特征ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'Name' => ['description' => 'The project name.', 'type' => 'string', 'example' => 'project1', 'title' => '', 'required' => false], + 'Description' => ['description' => 'The project description.', 'type' => 'string', 'example' => 'This is a test.', 'title' => '', 'required' => false], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -8719,293 +7077,112 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response data.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'E23EFF09-58AA-5420-934F-8453AE01548D', - ], - 'RawFeatures' => [ - 'title' => '基础特征信息。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InputFeatureName' => [ - 'title' => '原始特征名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'item_id', - ], - 'FeatureDomain' => [ - 'title' => '原始特征域。'."\n" - .'● User'."\n" - .'● Item'."\n" - .'● Context', - 'description' => '', - 'type' => 'string', - 'example' => 'User', - ], - 'FeatureName' => [ - 'title' => '生成特征的名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'item_id', - ], - 'FeatureType' => [ - 'title' => 'FG基础特征类型。'."\n" - .'● IdFeature-主键'."\n" - .'● RawFeature-基础特征', - 'description' => '', - 'type' => 'string', - 'example' => 'IdFeature', - ], - 'ValueType' => [ - 'title' => '特征值类型。'."\n" - .'● INTEGER'."\n" - .'● DOUBLE'."\n" - .'● STRING', - 'description' => '', - 'type' => 'string', - 'example' => 'STRING', - ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '', - 'type' => 'string', - 'example' => '-1024', - ], - ], - ], - ], - 'LookupFeatures' => [ - 'title' => '查询特征信息。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'title' => '', - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'MapFeatureName' => [ - 'title' => 'map特征名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'item_id', - ], - 'MapFeatureDomain' => [ - 'title' => 'map特征域。'."\n" - .'● User'."\n" - .'● Item'."\n" - .'● Context', - 'description' => '', - 'type' => 'string', - 'example' => 'User', - ], - 'FeatureName' => [ - 'title' => '生成特征的名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'item_id', - ], - 'ValueType' => [ - 'title' => '特征值类型。'."\n" - .'● INTEGER'."\n" - .'● DOUBLE'."\n" - .'● STRING', - 'description' => '', - 'type' => 'string', - 'example' => 'STRING', - ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '', - 'type' => 'string', - 'example' => '-1024', - ], - 'KeyFeatureName' => [ - 'title' => 'key特征名称。', - 'description' => '', - 'type' => 'string', - 'example' => '1', - ], - 'KeyFeatureDomain' => [ - 'title' => 'key特征域。'."\n" - .'● User'."\n" - .'● Item'."\n" - .'● Context', - 'description' => '', - 'type' => 'string', - 'example' => 'Item', - ], - ], - ], - ], - 'SequenceFeatures' => [ - 'title' => '序列特征信息。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'FeatureName' => [ - 'title' => '序列特征名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'item_id', - ], - 'SequenceLength' => [ - 'title' => '序列特征最大长度。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int64', - 'example' => '50', - ], - 'SequenceDelim' => [ - 'title' => '序列特征分隔符。', - 'description' => '', - 'type' => 'string', - 'example' => ';', - ], - 'AttributeDelim' => [ - 'title' => '特征属性分隔符。', - 'description' => '', - 'type' => 'string', - 'example' => '#', - ], - 'SubFeatures' => [ - 'title' => '序列特征子特征列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'InputFeatureName' => [ - 'title' => '原始特征名称', - 'description' => '', - 'type' => 'string', - 'example' => 'item_id', - ], - 'FeatureDomain' => [ - 'title' => '原始特征域。'."\n" - .'● User'."\n" - .'● Item'."\n" - .'● Context', - 'description' => '', - 'type' => 'string', - 'example' => 'User', - ], - 'FeatureName' => [ - 'title' => '生成特征的名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'item_id', - ], - 'FeatureType' => [ - 'title' => 'FG特征类型。'."\n" - .'● IdFeature-主键'."\n" - .'● RawFeature-基础特征', - 'description' => '', - 'type' => 'string', - 'example' => 'IdFeature', - ], - 'ValueType' => [ - 'title' => '特征值类型。'."\n" - .'● INTEGER'."\n" - .'● DOUBLE'."\n" - .'● STRING', - 'description' => '', - 'type' => 'string', - 'example' => 'STRING', - ], - 'DefaultValue' => [ - 'title' => '默认值。', - 'description' => '', - 'type' => 'string', - 'example' => '-1024', - ], - ], - ], - ], - ], - ], - ], - 'Reserves' => [ - 'title' => '保留字段。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'f1', - ], - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '2150233F-A1F7-54D2-B5B5-8A70567549BD'], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"2150233F-A1F7-54D2-B5B5-8A70567549BD\\"\\n}","type":"json"}]', + 'title' => 'Update project information', + 'changeSet' => [], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProject'], + ], + ], + 'ramActions' => [ + [ + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"E23EFF09-58AA-5420-934F-8453AE01548D\\",\\n \\"RawFeatures\\": [\\n {\\n \\"InputFeatureName\\": \\"item_id\\",\\n \\"FeatureDomain\\": \\"User\\",\\n \\"FeatureName\\": \\"item_id\\",\\n \\"FeatureType\\": \\"IdFeature\\",\\n \\"ValueType\\": \\"STRING\\",\\n \\"DefaultValue\\": \\"-1024\\"\\n }\\n ],\\n \\"LookupFeatures\\": [\\n {\\n \\"MapFeatureName\\": \\"item_id\\",\\n \\"MapFeatureDomain\\": \\"User\\",\\n \\"FeatureName\\": \\"item_id\\",\\n \\"ValueType\\": \\"STRING\\",\\n \\"DefaultValue\\": \\"-1024\\",\\n \\"KeyFeatureName\\": \\"1\\",\\n \\"KeyFeatureDomain\\": \\"Item\\"\\n }\\n ],\\n \\"SequenceFeatures\\": [\\n {\\n \\"FeatureName\\": \\"item_id\\",\\n \\"SequenceLength\\": 50,\\n \\"SequenceDelim\\": \\";\\",\\n \\"AttributeDelim\\": \\"#\\",\\n \\"SubFeatures\\": [\\n {\\n \\"InputFeatureName\\": \\"item_id\\",\\n \\"FeatureDomain\\": \\"User\\",\\n \\"FeatureName\\": \\"item_id\\",\\n \\"FeatureType\\": \\"IdFeature\\",\\n \\"ValueType\\": \\"STRING\\",\\n \\"DefaultValue\\": \\"-1024\\"\\n }\\n ]\\n }\\n ],\\n \\"Reserves\\": [\\n \\"f1\\"\\n ]\\n}","type":"json"}]', ], - 'GetModelFeatureFGInfo' => [ - 'summary' => '获取模型特征的fg.json文件配置信息。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/fginfo', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], + 'WriteFeatureViewTable' => [ + 'summary' => 'Imports data from a URL to the offline table of a feature view. This is an asynchronous operation.', + 'path' => '/api/v1/instances/{InstanceId}/featureviews/{FeatureViewId}/action/writetable', + 'methods' => ['post'], + 'schemes' => ['http', 'https'], 'security' => [ [ 'AK' => [], ], ], - 'consumes' => [ - 'application/json', - ], - 'produces' => [ - 'application/json', - ], - 'operationType' => 'read', + 'consumes' => ['application/json'], + 'produces' => ['application/json'], + 'operationType' => 'readAndWrite', 'deprecated' => false, 'systemTags' => [ - 'operationType' => 'get', + 'operationType' => 'none', 'riskType' => 'none', 'chargeType' => 'free', - 'abilityTreeCode' => '205348', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'abilityTreeNodes' => ['FEATURElearnC62G6X'], ], 'parameters' => [ [ 'name' => 'InstanceId', 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], + 'schema' => ['description' => 'The instance ID. You can get this ID by calling the ListInstances operation.', 'type' => 'string', 'required' => true, 'example' => 'fs-cn-********', 'title' => ''], ], [ - 'name' => 'ModelFeatureId', + 'name' => 'FeatureViewId', 'in' => 'path', + 'schema' => ['description' => 'The feature view ID. You can get this ID by calling the ListFeatureViews operation.', 'type' => 'string', 'required' => true, 'example' => '3', 'title' => ''], + ], + [ + 'name' => 'body', + 'in' => 'body', + 'style' => 'json', 'schema' => [ - 'title' => '模型特征ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', + 'description' => 'The request body.', + 'type' => 'object', + 'properties' => [ + 'Partitions' => [ + 'title' => '', + 'description' => 'The partitions to write to.', + 'type' => 'object', + 'required' => false, + 'additionalProperties' => [ + 'type' => 'object', + 'additionalProperties' => ['description' => 'The partition date.', 'type' => 'string', 'example' => '20220909', 'title' => ''], + 'description' => 'A map of partition fields.', + 'title' => '', + 'example' => '', + ], + 'example' => '', + ], + 'UrlDatasource' => [ + 'title' => '', + 'description' => 'The file data source.', + 'type' => 'object', + 'properties' => [ + 'Path' => ['description' => 'The data source path.', 'type' => 'string', 'example' => 'xxx.xxx.com/file.csv', 'title' => '', 'required' => false], + 'Delimiter' => ['description' => 'The file delimiter.', 'type' => 'string', 'example' => ',', 'title' => '', 'required' => false], + 'OmitHeader' => ['description' => 'Specifies whether to omit the header from the source file.', 'type' => 'boolean', 'title' => '', 'required' => false, 'example' => 'true'], + ], + 'required' => false, + 'example' => '', + ], + 'Mode' => ['description' => 'The write mode.'."\n" + ."\n" + .'- Overwrite: Overwrites existing data.'."\n" + ."\n" + .'- Merge: Merges the new data with existing data.', 'type' => 'string', 'required' => true, 'example' => 'Merge', 'title' => ''], + ], + 'required' => false, + 'title' => '', + 'example' => '', ], ], ], @@ -9013,962 +7190,1070 @@ 200 => [ 'schema' => [ 'title' => 'Schema of Response', - 'description' => 'Schema of Response', + 'description' => 'The response schema.', 'type' => 'object', 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8', - ], - 'Content' => [ - 'title' => 'fg.json文件配置内容。', - 'description' => '', - 'type' => 'string', - 'example' => '{"features": [{"feature_name": "item_id","feature_type": "id_feature","value_type": "String","expression": "item:item_id","default_value": "-1024","combiner": "mean","need_prefix": false},{"feature_name": "f1","feature_type": "lookup_feature","value_type": "Integer","map": "item:f1","key": "user:1","default_value": "0","combiner": "mean","need_prefix": false,"needDiscrete": false,"needWeighting": false,"needKey": false}],"reserves": ["f1"]}', - ], + 'RequestId' => ['title' => 'Id of the request', 'description' => 'The request ID.', 'type' => 'string', 'example' => '0C89F5E1-7F24-5EEC-9F05-508A39278CC8'], + 'TaskId' => ['title' => 'Job ID.', 'description' => 'The task ID.', 'type' => 'string', 'example' => ''], ], + 'example' => '', ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6B662A64-E4BF-56F8-BF5F-4C63F34EC0A8\\",\\n \\"Content\\": \\"{\\\\\\"features\\\\\\": [{\\\\\\"feature_name\\\\\\": \\\\\\"item_id\\\\\\",\\\\\\"feature_type\\\\\\": \\\\\\"id_feature\\\\\\",\\\\\\"value_type\\\\\\": \\\\\\"String\\\\\\",\\\\\\"expression\\\\\\": \\\\\\"item:item_id\\\\\\",\\\\\\"default_value\\\\\\": \\\\\\"-1024\\\\\\",\\\\\\"combiner\\\\\\": \\\\\\"mean\\\\\\",\\\\\\"need_prefix\\\\\\": false},{\\\\\\"feature_name\\\\\\": \\\\\\"f1\\\\\\",\\\\\\"feature_type\\\\\\": \\\\\\"lookup_feature\\\\\\",\\\\\\"value_type\\\\\\": \\\\\\"Integer\\\\\\",\\\\\\"map\\\\\\": \\\\\\"item:f1\\\\\\",\\\\\\"key\\\\\\": \\\\\\"user:1\\\\\\",\\\\\\"default_value\\\\\\": \\\\\\"0\\\\\\",\\\\\\"combiner\\\\\\": \\\\\\"mean\\\\\\",\\\\\\"need_prefix\\\\\\": false,\\\\\\"needDiscrete\\\\\\": false,\\\\\\"needWeighting\\\\\\": false,\\\\\\"needKey\\\\\\": false}],\\\\\\"reserves\\\\\\": [\\\\\\"f1\\\\\\"]}\\"\\n}","type":"json"}]', - ], - 'CheckModelFeatureFGFeature' => [ - 'summary' => '检查FG配置内容是否正确,是否满足所有规则。', - 'path' => '/api/v1/instances/{InstanceId}/modelfeatures/{ModelFeatureId}/action/checkfgfeature', - 'methods' => [ - 'post', + 'staticInfo' => ['returnType' => 'synchronous'], + 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"0C89F5E1-7F24-5EEC-9F05-508A39278CC8\\",\\n \\"TaskId\\": \\"\\"\\n}","type":"json"}]', + 'title' => 'Write a table to the specified feature view.', + 'changeSet' => [ + ['createdAt' => '2023-09-08T06:37:50.000Z', 'description' => 'Response parameters changed'], ], - 'schemes' => [ - 'http', - 'https', + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'WriteFeatureViewTable'], + ], ], - 'security' => [ + 'ramActions' => [ [ - 'AK' => [], + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:WriteFeatureViewTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], ], - 'consumes' => [ - 'application/json', + ], + ], + 'endpoints' => [ + ['regionId' => 'ap-southeast-1', 'regionName' => 'Singapore', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'paifeaturestore.ap-southeast-1.aliyuncs.com', 'endpoint' => 'paifeaturestore.ap-southeast-1.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.ap-southeast-1.aliyuncs.com'], + ['regionId' => 'ap-southeast-5', 'regionName' => 'Indonesia (Jakarta)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'paifeaturestore.ap-southeast-5.aliyuncs.com', 'endpoint' => 'paifeaturestore.ap-southeast-5.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.ap-southeast-5.aliyuncs.com'], + ['regionId' => 'cn-beijing', 'regionName' => 'China (Beijing)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'paifeaturestore.cn-beijing.aliyuncs.com', 'endpoint' => 'paifeaturestore.cn-beijing.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.cn-beijing.aliyuncs.com'], + ['regionId' => 'cn-hangzhou', 'regionName' => 'China (Hangzhou)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'paifeaturestore.cn-hangzhou.aliyuncs.com', 'endpoint' => 'paifeaturestore.cn-hangzhou.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.cn-hangzhou.aliyuncs.com'], + ['regionId' => 'cn-hongkong', 'regionName' => 'China (Hong Kong)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'paifeaturestore.cn-hongkong.aliyuncs.com', 'endpoint' => 'paifeaturestore.cn-hongkong.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.cn-hongkong.aliyuncs.com'], + ['regionId' => 'cn-shanghai', 'regionName' => 'China (Shanghai)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'paifeaturestore.cn-shanghai.aliyuncs.com', 'endpoint' => 'paifeaturestore.cn-shanghai.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.cn-shanghai.aliyuncs.com'], + ['regionId' => 'cn-shenzhen', 'regionName' => 'China (Shenzhen)', 'areaId' => 'asiaPacific', 'areaName' => 'Asia Pacific', 'public' => 'paifeaturestore.cn-shenzhen.aliyuncs.com', 'endpoint' => 'paifeaturestore.cn-shenzhen.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.cn-shenzhen.aliyuncs.com'], + ['regionId' => 'us-west-1', 'regionName' => 'US (Silicon Valley)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'paifeaturestore.us-west-1.aliyuncs.com', 'endpoint' => 'paifeaturestore.us-west-1.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.us-west-1.aliyuncs.com'], + ['regionId' => 'us-east-1', 'regionName' => 'US (Virginia)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'paifeaturestore.us-east-1.aliyuncs.com', 'endpoint' => 'paifeaturestore.us-east-1.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.us-east-1.aliyuncs.com'], + ['regionId' => 'eu-central-1', 'regionName' => 'Germany (Frankfurt)', 'areaId' => 'europeAmerica', 'areaName' => 'Europe & Americas', 'public' => 'paifeaturestore.eu-central-1.aliyuncs.com', 'endpoint' => 'paifeaturestore.eu-central-1.aliyuncs.com', 'vpc' => 'paifeaturestore-vpc.eu-central-1.aliyuncs.com'], + ], + 'errorCodes' => [], + 'changeSet' => [ + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateDatasource'], + ['description' => 'Request parameters changed', 'api' => 'CreateFeatureView'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateLLMConfig'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'CreateModelFeature'], + ['description' => 'Request parameters changed', 'api' => 'CreateProject'], + ], + 'createdAt' => '2025-11-19T11:22:31.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateFeatureEntity'], + ['description' => 'Response parameters changed', 'api' => 'GetFeatureEntity'], + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ListFeatureEntities'], + ['description' => 'Response parameters changed', 'api' => 'ListProjectFeatureViews'], + ], + 'createdAt' => '2025-11-17T06:07:16.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ExportModelFeatureTrainingSetTable'], + ['description' => 'Response parameters changed', 'api' => 'GetFeatureView'], ], - 'produces' => [ - 'application/json', + 'createdAt' => '2024-12-18T07:08:36.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateModelFeatureFGFeature'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '205450', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', - ], + 'createdAt' => '2024-12-03T03:48:54.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateModelFeature'], ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', - ], - ], - [ - 'name' => 'ModelFeatureId', - 'in' => 'path', - 'schema' => [ - 'title' => '模型特征ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', - ], - ], + 'createdAt' => '2024-12-02T03:55:16.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListFeatureEntities'], + ['description' => 'Request parameters changed', 'api' => 'ListFeatureViews'], + ['description' => 'Request parameters changed', 'api' => 'ListLabelTables'], + ['description' => 'Request parameters changed', 'api' => 'ListModelFeatures'], + ['description' => 'Request parameters changed', 'api' => 'ListTasks'], + ], + 'createdAt' => '2024-11-25T02:36:18.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetInstance'], + ['description' => 'Response parameters changed', 'api' => 'ListInstances'], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'ED4DEA2F-F216-57F0-AE28-08D791233280', - ], - 'FGCheckResults' => [ - 'title' => 'FG配置检查结果。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'type' => 'object', - 'properties' => [ - 'RuleCode' => [ - 'title' => '检查规则代码。'."\n" - .'● SeqSubEx: FG序列特征的子特征是否存在于 ModelFeature 的特征中?'."\n" - .'● LookupKeyEx: FG查询特征的检查键值特征是否存在 ModelFeature 特征中?'."\n" - .'● FGSetEx: 所有FG特征,是否存在于 ModelFeature 特征中?'."\n" - .'● ModelSetEx: 所有 ModelFeature 特征,是否存在于 FG 特征中?', - 'description' => '', - 'type' => 'string', - 'enumValueTitles' => [], - 'example' => 'SeqSubEx', - ], - 'Status' => [ - 'title' => '检查规则是否符合。', - 'description' => '', - 'type' => 'boolean', - 'example' => 'True', - ], - 'Message' => [ - 'title' => '错误信息。', - 'description' => '', - 'type' => 'string', - 'example' => 'f1[1]: these lookup_features\'s LookupValueFeature(key) not exist in model features', - ], - ], - ], - ], - ], - ], - ], + 'createdAt' => '2024-10-16T06:46:33.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateModelFeature'], + ['description' => 'Request parameters changed', 'api' => 'ExportModelFeatureTrainingSetTable'], + ['description' => 'Response parameters changed', 'api' => 'GetModelFeature'], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + 'createdAt' => '2024-09-03T08:11:02.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ExportModelFeatureTrainingSetTable'], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"ED4DEA2F-F216-57F0-AE28-08D791233280\\",\\n \\"FGCheckResults\\": [\\n {\\n \\"RuleCode\\": \\"SeqSubEx\\",\\n \\"Status\\": true,\\n \\"Message\\": \\"f1[1]: these lookup_features\'s LookupValueFeature(key) not exist in model features\\"\\n }\\n ]\\n}","type":"json"}]', + 'createdAt' => '2024-07-12T03:35:15.000Z', + 'description' => '', ], - 'ListTasks' => [ - 'summary' => '获取任务列表', - 'path' => '/api/v1/instances/{InstanceId}/tasks', - 'methods' => [ - 'get', + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateFeatureView'], + ['description' => 'Response parameters changed', 'api' => 'GetFeatureView'], + ['description' => 'Response parameters changed', 'api' => 'ListFeatureViews'], ], - 'schemes' => [ - 'http', - 'https', + 'createdAt' => '2024-03-25T06:53:44.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'ListProjectFeatureViews'], ], - 'security' => [ - [ - 'AK' => [], - ], + 'createdAt' => '2024-02-02T02:26:06.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetDatasource'], + ['description' => 'Response parameters changed', 'api' => 'GetFeatureView'], + ['description' => 'Response parameters changed', 'api' => 'GetModelFeature'], ], - 'consumes' => [ - 'application/json', + 'createdAt' => '2024-01-29T07:38:19.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'UpdateLabelTable'], ], - 'produces' => [ - 'application/json', + 'createdAt' => '2023-11-23T03:38:40.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'GetLabelTable'], + ['description' => 'Request parameters changed', 'api' => 'UpdateLabelTable'], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + 'createdAt' => '2023-11-22T12:36:14.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'CreateModelFeature'], + ['description' => 'Request parameters changed', 'api' => 'UpdateModelFeature'], + ], + 'createdAt' => '2023-10-30T02:07:16.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed, Response parameters changed', 'api' => 'ExportModelFeatureTrainingSetTable'], + ], + 'createdAt' => '2023-09-13T09:48:40.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ExportModelFeatureTrainingSetTable'], + ], + 'createdAt' => '2023-09-08T11:53:47.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Response parameters changed', 'api' => 'PublishFeatureViewTable'], + ['description' => 'Response parameters changed', 'api' => 'WriteFeatureViewTable'], + ], + 'createdAt' => '2023-09-08T06:37:59.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListModelFeatures'], + ], + 'createdAt' => '2023-09-08T04:01:49.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListFeatureViews'], + ], + 'createdAt' => '2023-09-04T03:45:30.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListProjects'], + ], + 'createdAt' => '2023-08-30T06:54:53.000Z', + 'description' => '', + ], + [ + 'apis' => [ + ['description' => 'Request parameters changed', 'api' => 'ListInstances'], + ], + 'createdAt' => '2023-08-28T08:15:02.000Z', + 'description' => '', + ], + ], + 'flowControl' => [ + 'flowControlList' => [ + ['threshold' => '600', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFeatureView'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateDatasource'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjects'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckModelFeatureFGFeature'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureEntities'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLLMConfig'], + ['threshold' => '5', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDatasourceTable'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViewFieldRelationships'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFeatureView'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListInstances'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViewRelationships'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateModelFeatureFGFeature'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasourceFeatureViews'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateModelFeature'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModelFeatureFGFeature'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListModelFeatures'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetFeatureEntity'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViewOnlineFeatures'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateModelFeature'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTasks'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'PublishFeatureViewTable'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLLMConfig'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProject'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLLMConfig'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetInstance'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteProject'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ExportModelFeatureTrainingSetTable'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetProjectFeatureEntity'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateDatasource'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateFeatureEntity'], + ['threshold' => '500', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModelFeature'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjectFeatureViews'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CheckInstanceDatasource'], + ['threshold' => '50', 'countWindow' => 1, 'regionId' => '*', 'api' => 'WriteFeatureViewTable'], + ['threshold' => '600', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetDatasource'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateLabelTable'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLLMConfig'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteModelFeature'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateProject'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteLabelTable'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListFeatureViews'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFeatureView'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasourceTables'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'StopTask'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListTaskLogs'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteFeatureEntity'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'DeleteDatasource'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLLMConfigs'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetTask'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'CreateLabelTable'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListProjectFeatures'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetModelFeatureFGInfo'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListDatasources'], + ['threshold' => '200', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListLabelTables'], + ['threshold' => '100', 'countWindow' => 1, 'regionId' => '*', 'api' => 'ListModelFeatureAvailableFeatures'], + ['threshold' => '10', 'countWindow' => 1, 'regionId' => '*', 'api' => 'UpdateProject'], + ['threshold' => '300', 'countWindow' => 1, 'regionId' => '*', 'api' => 'GetLabelTable'], + ], + ], + 'ram' => [ + 'productCode' => 'PaiFeatureStore', + 'productName' => 'Platform for AI', + 'ramCodes' => ['featurestore'], + 'ramLevel' => 'OPERATION', + 'ramConditions' => [], + 'ramActions' => [ + [ + 'apiName' => 'ListModelFeatureAvailableFeatures', + 'description' => '', 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeCode' => '188874', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + 'ramAction' => [ + 'action' => 'featurestore:ListModelFeatureAvailableFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + [ + 'apiName' => 'GetModelFeature', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ProjectId', - 'in' => 'query', - 'schema' => [ - 'title' => '项目ID,可从接口ListProjects获取。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '4', + ], + [ + 'apiName' => 'ListFeatureViewOnlineFeatures', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViewOnlineFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ObjectType', - 'in' => 'query', - 'schema' => [ - 'title' => '任务对象类型。'."\n" - .'● ModelFeature-模型特征。'."\n" - .'● FeatureView-特征视图。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'ModelFeature', + ], + [ + 'apiName' => 'ListProjectFeatureViews', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListProjectFeatureViews', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'ObjectId', - 'in' => 'query', - 'schema' => [ - 'title' => '任务对象ID。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '4', + ], + [ + 'apiName' => 'GetLabelTable', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Status', - 'in' => 'query', - 'schema' => [ - 'title' => '状态。'."\n" - .'● Initializing-初始化中。'."\n" - .'● Running-运行中。'."\n" - .'● Success-成功。'."\n" - .'● Failure-失败。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'Running', + ], + [ + 'apiName' => 'GetProjectFeatureEntity', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetProjectFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'ListDatasources', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListDatasources', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'GetModelFeatureFGInfo', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetModelFeatureFGInfo', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'Type', - 'in' => 'query', - 'schema' => [ - 'title' => '任务类型过滤。'."\n" - .'● OfflineToOnline-离在线数据同步。'."\n" - .'● ExportTrainingSet-导出训练样本表。', - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => 'OfflineToOnline', + ], + [ + 'apiName' => 'UpdateDatasource', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TaskIds', - 'in' => 'query', - 'style' => 'simple', - 'schema' => [ - 'title' => '任务ID过滤。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'required' => false, - 'example' => '3', - ], - 'required' => false, + ], + [ + 'apiName' => 'CreateLLMConfig', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'C33E160C-BFCA-5719-B958-942850E949F6', - ], - 'TotalCount' => [ - 'title' => '总个数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '10', - ], - 'Tasks' => [ - 'title' => '任务列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtExecutedTime' => [ - 'title' => '执行时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtFinishedTime' => [ - 'title' => '完成时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'ObjectId' => [ - 'title' => '任务对象ID。', - 'description' => '', - 'type' => 'string', - 'example' => '5', - ], - 'ObjectType' => [ - 'title' => '任务对象类型。'."\n" - .'● ModelFeature-模型特征'."\n" - .'● FeatureView-特征视图', - 'description' => '', - 'type' => 'string', - 'example' => 'ModelFeature', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'example' => '4', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'project_1', - ], - 'Status' => [ - 'title' => '状态。'."\n" - .'● Initializing-初始化中。'."\n" - .'● Running-运行中。'."\n" - .'● Success-成功。'."\n" - .'● Failure-失败。', - 'description' => '', - 'type' => 'string', - 'example' => 'Running', - ], - 'TaskId' => [ - 'title' => '任务ID。', - 'description' => '', - 'type' => 'string', - 'example' => '4', - ], - 'Type' => [ - 'title' => '任务类型。'."\n" - .'● OfflineToOnline-离在线数据同步。'."\n" - .'● ExportTrainingSet-导出训练样本表。', - 'description' => '', - 'type' => 'string', - 'example' => 'OfflineToOnline', - ], - ], - ], - ], - ], + [ + 'apiName' => 'GetFeatureView', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'GetInstance', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C33E160C-BFCA-5719-B958-942850E949F6\\",\\n \\"TotalCount\\": 10,\\n \\"Tasks\\": [\\n {\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtExecutedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtFinishedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"ObjectId\\": \\"5\\",\\n \\"ObjectType\\": \\"ModelFeature\\",\\n \\"ProjectId\\": \\"4\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"Status\\": \\"Running\\",\\n \\"TaskId\\": \\"4\\",\\n \\"Type\\": \\"OfflineToOnline\\"\\n }\\n ]\\n}","type":"json"}]', - ], - 'GetTask' => [ - 'summary' => '获取任务详情', - 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}', - 'methods' => [ - 'get', + [ + 'apiName' => 'ListTasks', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListTasks', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ListProjects', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListProjects', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'DeleteModelFeature', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'consumes' => [ - 'application/json', + [ + 'apiName' => 'CreateFeatureEntity', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'produces' => [ - 'application/json', + [ + 'apiName' => 'DeleteFeatureView', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + [ + 'apiName' => 'ListFeatureEntities', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureEntities', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + [ + 'apiName' => 'ListFeatureViewRelationships', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViewRelationships', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TaskId', - 'in' => 'path', - 'schema' => [ - 'title' => '任务ID,可从接口ListTasks获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', + ], + [ + 'apiName' => 'CheckModelFeatureFGFeature', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:CheckModelFeatureFGFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '37D19490-AB69-567D-A852-407C94E510E9', - ], - 'ProjectId' => [ - 'title' => '项目ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'ProjectName' => [ - 'title' => '项目名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'project_1', - ], - 'Type' => [ - 'title' => '任务类型。'."\n" - .'● OfflineToOnline-离在线数据同步。'."\n" - .'● ExportTrainingSet-导出训练样本表。', - 'description' => '', - 'type' => 'string', - 'example' => 'OfflineToOnline', - ], - 'ObjectType' => [ - 'title' => '任务目标类型。'."\n" - .'● ModelFeature-模型特征'."\n" - .'● FeatureView-特征视图', - 'description' => '', - 'type' => 'string', - 'example' => 'ModelFeature', - ], - 'ObjectId' => [ - 'title' => '任务目标ID。', - 'description' => '', - 'type' => 'string', - 'example' => '3', - ], - 'Status' => [ - 'title' => '状态。'."\n" - .'● Initializing-初始化中。'."\n" - .'● Running-运行中。'."\n" - .'● Success-成功。'."\n" - .'● Failure-失败。', - 'description' => '', - 'type' => 'string', - 'example' => 'Running', - ], - 'Config' => [ - 'title' => '任务配置。', - 'description' => '', - 'type' => 'string', - 'example' => '{'."\n" - .' "mode": "overwrite",'."\n" - .' "partitions": {'."\n" - .' "dt": "20230820"'."\n" - .' },'."\n" - .' "event_time": "",'."\n" - .' "config": {},'."\n" - .' "offline_to_online": true'."\n" - .'}', - ], - 'RunningConfig' => [ - 'title' => '任务运行配置。', - 'description' => '', - 'type' => 'string', - 'example' => 'DROP TABLE IF EXISTS public.fsxxx', - ], - 'GmtCreateTime' => [ - 'title' => '创建时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtModifiedTime' => [ - 'title' => '更新时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtExecutedTime' => [ - 'title' => '执行时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - 'GmtFinishedTime' => [ - 'title' => '完成时间。', - 'description' => '', - 'type' => 'string', - 'example' => '2023-07-04T11:26:09.036+08:00', - ], - ], + [ + 'apiName' => 'ListProjectFeatures', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListProjectFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'UpdateModelFeatureFGFeature', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateModelFeatureFGFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"37D19490-AB69-567D-A852-407C94E510E9\\",\\n \\"ProjectId\\": \\"3\\",\\n \\"ProjectName\\": \\"project_1\\",\\n \\"Type\\": \\"OfflineToOnline\\",\\n \\"ObjectType\\": \\"ModelFeature\\",\\n \\"ObjectId\\": \\"3\\",\\n \\"Status\\": \\"Running\\",\\n \\"Config\\": \\"{\\\\n\\\\t\\\\\\"mode\\\\\\": \\\\\\"overwrite\\\\\\",\\\\n\\\\t\\\\\\"partitions\\\\\\": {\\\\n\\\\t\\\\t\\\\\\"dt\\\\\\": \\\\\\"20230820\\\\\\"\\\\n\\\\t},\\\\n\\\\t\\\\\\"event_time\\\\\\": \\\\\\"\\\\\\",\\\\n\\\\t\\\\\\"config\\\\\\": {},\\\\n\\\\t\\\\\\"offline_to_online\\\\\\": true\\\\n}\\",\\n \\"RunningConfig\\": \\"DROP TABLE IF EXISTS public.fsxxx\\",\\n \\"GmtCreateTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtModifiedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtExecutedTime\\": \\"2023-07-04T11:26:09.036+08:00\\",\\n \\"GmtFinishedTime\\": \\"2023-07-04T11:26:09.036+08:00\\"\\n}","type":"json"}]', - ], - 'StopTask' => [ - 'summary' => '停止任务。', - 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/action/stop', - 'methods' => [ - 'post', + [ + 'apiName' => 'ListModelFeatures', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListModelFeatures', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'https', + [ + 'apiName' => 'ListLabelTables', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListLabelTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'GetFeatureEntity', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:GetFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'consumes' => [ - 'application/json', + [ + 'apiName' => 'ListDatasourceFeatureViews', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListDatasourceFeatureViews', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'produces' => [ - 'application/json', + [ + 'apiName' => 'GetModelFeatureFGFeature', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetModelFeatureFGFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'operationType' => 'write', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ExportModelFeatureTrainingSetTable', + 'description' => '', 'operationType' => 'none', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + 'ramAction' => [ + 'action' => 'featurestore:ExportModelFeatureTrainingSetTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + [ + 'apiName' => 'DeleteLLMConfig', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TaskId', - 'in' => 'path', - 'schema' => [ - 'title' => '任务ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '3', + ], + [ + 'apiName' => 'UpdateLabelTable', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'requestId' => [ - 'title' => 'Id of the request', - 'description' => 'Id of the request', - 'type' => 'string', - 'example' => '514F82AF-3C04-5C3D-8F38-A11261BF37B0', - ], - ], + [ + 'apiName' => 'GetProject', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"requestId\\": \\"514F82AF-3C04-5C3D-8F38-A11261BF37B0\\"\\n}","type":"json"}]', - ], - 'ListTaskLogs' => [ - 'summary' => '获取任务日志列表', - 'path' => '/api/v1/instances/{InstanceId}/tasks/{TaskId}/logs', - 'methods' => [ - 'get', - ], - 'schemes' => [ - 'http', - 'https', - ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListFeatureViews', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViews', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'consumes' => [ - 'application/json', + [ + 'apiName' => 'CreateProject', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'produces' => [ - 'application/json', + [ + 'apiName' => 'UpdateModelFeature', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'ListLLMConfigs', + 'description' => '', 'operationType' => 'list', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + 'ramAction' => [ + 'action' => 'featurestore:ListLLMConfigs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'InstanceId', - 'in' => 'path', - 'schema' => [ - 'title' => '实例ID,可从接口ListInstances获取。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'fs-cn-********', + [ + 'apiName' => 'ListTaskLogs', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListTaskLogs', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'TaskId', - 'in' => 'path', - 'schema' => [ - 'title' => '任务ID。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => '4', + ], + [ + 'apiName' => 'DeleteDatasource', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageNumber', - 'in' => 'query', - 'schema' => [ - 'title' => '页码。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '1', + ], + [ + 'apiName' => 'DeleteFeatureEntity', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteFeatureEntity', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], - [ - 'name' => 'PageSize', - 'in' => 'query', - 'schema' => [ - 'title' => '页大小。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'required' => false, - 'example' => '10', + ], + [ + 'apiName' => 'StopTask', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:StopTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '72F15A8A-5A28-5B18-A0DE-0EABD7D3245A', - ], - 'TotalCount' => [ - 'title' => '日志总行数。', - 'description' => '', - 'type' => 'integer', - 'format' => 'int32', - 'example' => '100', - ], - 'Logs' => [ - 'title' => '日志列表。', - 'description' => '', - 'type' => 'array', - 'items' => [ - 'description' => '', - 'type' => 'string', - 'example' => 'success!', - ], - ], - ], + [ + 'apiName' => 'GetDatasourceTable', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetDatasourceTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', - ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"72F15A8A-5A28-5B18-A0DE-0EABD7D3245A\\",\\n \\"TotalCount\\": 100,\\n \\"Logs\\": [\\n \\"success!\\"\\n ]\\n}","type":"json"}]', - ], - 'CreateServiceIdentityRole' => [ - 'summary' => '创建feature store服务账户角色', - 'path' => '/api/v1/serviceidentityroles', - 'methods' => [ - 'post', + [ + 'apiName' => 'CreateDatasource', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'ListFeatureViewFieldRelationships', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListFeatureViewFieldRelationships', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'CheckInstanceDatasource', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:CheckInstanceDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'consumes' => [ - 'application/json', + [ + 'apiName' => 'CreateModelFeature', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateModelFeature', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'produces' => [ - 'application/json', + [ + 'apiName' => 'ListInstances', + 'description' => '', + 'operationType' => 'list', + 'ramAction' => [ + 'action' => 'featurestore:ListInstances', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'operationType' => 'readAndWrite', - 'deprecated' => false, - 'systemTags' => [ + [ + 'apiName' => 'CreateFeatureView', + 'description' => '', 'operationType' => 'create', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + 'ramAction' => [ + 'action' => 'featurestore:CreateFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'body', - 'in' => 'body', - 'style' => 'json', - 'schema' => [ - 'description' => '', - 'type' => 'object', - 'properties' => [ - 'RoleName' => [ - 'title' => '服务账户角色名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'AliyunServiceRoleForFeatureStore', - ], - ], - 'required' => false, + [ + 'apiName' => 'WriteFeatureViewTable', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:WriteFeatureViewTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => 'C03B2680-AC9C-59CD-93C5-8142B92537FA', - ], - 'RoleName' => [ - 'title' => '服务账户角色名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'AliyunServiceRoleForFeatureStore', - ], - 'Code' => [ - 'title' => '错误码。', - 'description' => '', - 'type' => 'string', - 'example' => 'ServiceLinkedRoleAlreadyExistsErrorProblem', - ], - ], + [ + 'apiName' => 'GetTask', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetTask', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'GetDatasource', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetDatasource', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"C03B2680-AC9C-59CD-93C5-8142B92537FA\\",\\n \\"RoleName\\": \\"AliyunServiceRoleForFeatureStore\\",\\n \\"Code\\": \\"ServiceLinkedRoleAlreadyExistsErrorProblem\\"\\n}","type":"json"}]', - ], - 'GetServiceIdentityRole' => [ - 'summary' => '获取feature store服务账户角色。', - 'path' => '/api/v1/serviceidentityroles/{RoleName}', - 'methods' => [ - 'get', + [ + 'apiName' => 'GetLLMConfig', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:GetLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'schemes' => [ - 'http', - 'https', + [ + 'apiName' => 'DeleteLabelTable', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'security' => [ - [ - 'AK' => [], + [ + 'apiName' => 'ListDatasourceTables', + 'description' => '', + 'operationType' => 'get', + 'ramAction' => [ + 'action' => 'featurestore:ListDatasourceTables', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'consumes' => [ - 'application/json', + [ + 'apiName' => 'UpdateProject', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'produces' => [ - 'application/json', + [ + 'apiName' => 'UpdateLLMConfig', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateLLMConfig', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'operationType' => 'read', - 'deprecated' => false, - 'systemTags' => [ - 'operationType' => 'get', - 'riskType' => 'none', - 'chargeType' => 'free', - 'abilityTreeNodes' => [ - 'FEATURElearnC62G6X', + [ + 'apiName' => 'PublishFeatureViewTable', + 'description' => '', + 'operationType' => 'none', + 'ramAction' => [ + 'action' => 'featurestore:PublishFeatureViewTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], ], ], - 'parameters' => [ - [ - 'name' => 'RoleName', - 'in' => 'path', - 'schema' => [ - 'title' => '服务账户角色名称。', - 'description' => '', - 'type' => 'string', - 'required' => true, - 'example' => 'AliyunServiceRoleForFeatureStore', + [ + 'apiName' => 'CreateLabelTable', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateLabelTable', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'responses' => [ - 200 => [ - 'schema' => [ - 'title' => 'Schema of Response', - 'description' => 'Schema of Response', - 'type' => 'object', - 'properties' => [ - 'RequestId' => [ - 'title' => 'Id of the request', - 'description' => '', - 'type' => 'string', - 'example' => '6F629E92-F64D-502D-85AA-A9C54894CA3D', - ], - 'RoleName' => [ - 'title' => '服务账户角色名称。', - 'description' => '', - 'type' => 'string', - 'example' => 'AliyunServiceRoleForPaiFeatureStore', - ], - 'Policy' => [ - 'title' => '关联策略。', - 'description' => '', - 'type' => 'string', - 'example' => '{'."\n" - .'"Version": "1",'."\n" - .'"Statement":[]'."\n" - .'}', - ], - ], + [ + 'apiName' => 'UpdateFeatureView', + 'description' => '', + 'operationType' => 'update', + 'ramAction' => [ + 'action' => 'featurestore:UpdateFeatureView', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], ], ], ], - 'staticInfo' => [ - 'returnType' => 'synchronous', + [ + 'apiName' => 'DeleteProject', + 'description' => '', + 'operationType' => 'delete', + 'ramAction' => [ + 'action' => 'featurestore:DeleteProject', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], + ], + [ + 'apiName' => 'CreateInstance', + 'description' => '', + 'operationType' => 'create', + 'ramAction' => [ + 'action' => 'featurestore:CreateInstance', + 'authLevel' => 'operate', + 'actionConditions' => [], + 'resources' => [ + ['validationType' => 'always', 'product' => 'PaiFeatureStore', 'resourceType' => 'All Resource', 'arn' => '*'], + ], + ], ], - 'responseDemo' => '[{"errorExample":"","example":"{\\n \\"RequestId\\": \\"6F629E92-F64D-502D-85AA-A9C54894CA3D\\",\\n \\"RoleName\\": \\"AliyunServiceRoleForPaiFeatureStore\\",\\n \\"Policy\\": \\"{\\\\n\\\\\\"Version\\\\\\": \\\\\\"1\\\\\\",\\\\n\\\\\\"Statement\\\\\\":[]\\\\n}\\"\\n}","type":"json"}]', - ], - ], - 'endpoints' => [ - [ - 'regionId' => 'cn-beijing', - 'endpoint' => 'paifeaturestore.cn-beijing.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hangzhou', - 'endpoint' => 'paifeaturestore.cn-hangzhou.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shanghai', - 'endpoint' => 'paifeaturestore.cn-shanghai.aliyuncs.com', - ], - [ - 'regionId' => 'cn-shenzhen', - 'endpoint' => 'paifeaturestore.cn-shenzhen.aliyuncs.com', - ], - [ - 'regionId' => 'cn-hongkong', - 'endpoint' => 'paifeaturestore.cn-hongkong.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-1', - 'endpoint' => 'paifeaturestore.ap-southeast-1.aliyuncs.com', - ], - [ - 'regionId' => 'ap-southeast-5', - 'endpoint' => 'paifeaturestore.ap-southeast-5.aliyuncs.com', - ], - [ - 'regionId' => 'us-east-1', - 'endpoint' => 'paifeaturestore.us-east-1.aliyuncs.com', - ], - [ - 'regionId' => 'us-west-1', - 'endpoint' => 'paifeaturestore.us-west-1.aliyuncs.com', - ], - [ - 'regionId' => 'eu-central-1', - 'endpoint' => 'paifeaturestore.eu-central-1.aliyuncs.com', ], + 'resourceTypes' => [], ], ]; |
