'1.0', 'info' => ['style' => 'ROA', 'product' => 'MaasAISearchProxy', 'version' => '2026-04-24'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'QaChat' => [ 'path' => '/qa/chat', 'methods' => ['post'], 'schemes' => ['https', 'sse'], 'security' => [ [ 'AK' => [], ], [ 'ApiKey' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['text/event-stream', 'application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'appId' => ['type' => 'string', 'required' => false], 'sessionId' => ['type' => 'string', 'required' => false], 'message' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'role' => [ 'type' => 'string', 'required' => false, 'enum' => ['user'], ], 'parts' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'type' => [ 'type' => 'string', 'required' => false, 'enum' => ['text', 'file'], ], 'text' => ['type' => 'string', 'required' => false], 'url' => ['type' => 'string', 'required' => false], 'mediaType' => ['type' => 'string', 'required' => false], ], ], ], ], ], 'stream' => ['type' => 'boolean', 'required' => false], 'options' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'searchMode' => [ 'type' => 'string', 'required' => false, 'enum' => ['force', 'auto'], ], 'enableRewrite' => ['type' => 'boolean', 'required' => false], 'enableCitation' => ['type' => 'boolean', 'required' => false], 'enableFollowUp' => ['type' => 'boolean', 'required' => false], 'enableImages' => ['type' => 'boolean', 'required' => false], 'followUpPrompt' => ['type' => 'string', 'required' => false], 'systemPrompt' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], ], 'WebSearch' => [ 'path' => '/api/web-search', 'methods' => ['post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], [ 'ApiKey' => [], ], ], 'consumes' => ['application/json'], 'produces' => ['application/json'], 'deprecated' => false, 'parameters' => [ [ 'name' => 'body', 'in' => 'body', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'query' => ['type' => 'string', 'required' => false], 'limit' => ['type' => 'integer', 'format' => 'int32', 'required' => false], 'includeDomain' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'excludeDomain' => [ 'type' => 'array', 'required' => false, 'items' => ['type' => 'string', 'required' => false], ], 'startTime' => ['type' => 'string', 'required' => false], 'endTime' => ['type' => 'string', 'required' => false], 'region' => ['type' => 'string', 'required' => false], 'searchType' => ['type' => 'string', 'required' => false], ], ], ], ], ], ], 'endpoints' => [ ['regionId' => 'public', 'regionName' => '公网', 'areaId' => 'other', 'areaName' => '其它', 'public' => 'maasaisearchproxy.aliyuncs.com', 'endpoint' => 'maasaisearchproxy.aliyuncs.com', 'vpc' => ''], ], ];