'1.0', 'info' => ['style' => 'RPC', 'product' => 'AIRegistry', 'version' => '2026-03-17'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'CreateNamespace' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Tags', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ScanPolicy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreatePrompt' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PromptKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Template', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'TargetVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Variables', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CommitMsg', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BizTags', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreatePromptVersion' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PromptKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Template', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BasedOnVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TargetVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Variables', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CommitMsg', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'CreateSkillDraft' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillCard', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BasedOnVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TargetVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CommitMsg', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'DeleteNamespace' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeletePrompt' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PromptKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DeleteSkill' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'DownloadSkillVersionViaOss' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ForcePublishSkillVersion' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'UpdateLatestLabel', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'GetNamespace' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetPrompt' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PromptKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetPromptVersion' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PromptKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PromptVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetSkillDetail' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'GetSkillImportFileUrl' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'ContentType', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'GetSkillVersionDetail' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'ListNamespaces' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Tags', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListPromptVersions' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PromptKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListPrompts' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PromptKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Search', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BizTags', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'ListSkills' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Search', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'OrderBy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Owner', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Scope', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'PageNo', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], [ 'name' => 'PageSize', 'in' => 'query', 'schema' => ['type' => 'integer', 'format' => 'int32', 'required' => false], ], ], ], 'OfflineSkill' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Scope', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SkillVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'OnlineSkill' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Scope', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'SkillVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'PublishSkillVersion' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'UpdateLatestLabel', 'in' => 'query', 'schema' => ['type' => 'boolean', 'required' => false], ], ], ], 'SubmitPromptVersion' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PromptKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PromptVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'SubmitSkillVersion' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillVersion', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'UpdateNamespace' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Name', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Tags', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ScanPolicy', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdatePrompt' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PromptKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Description', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'BizTags', 'in' => 'query', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], ], [ 'name' => 'Labels', 'in' => 'query', 'style' => 'json', 'schema' => ['type' => 'object', 'required' => false], ], ], ], 'UpdatePromptVersion' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'PromptKey', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Template', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Variables', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'CommitMsg', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdateSkillBizTags' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'BizTags', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'UpdateSkillDraft' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillCard', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'CommitMsg', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], 'UpdateSkillLabels' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Labels', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'UpdateSkillScope' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'SkillName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Scope', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], ], ], 'UploadSkillViaOss' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'NamespaceId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'OssObjectName', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => true], ], [ 'name' => 'Overwrite', 'in' => 'query', 'schema' => ['type' => 'boolean'], ], [ 'name' => 'CommitMsg', 'in' => 'query', 'schema' => ['type' => 'string'], ], ], ], ], 'endpoints' => [], ];