'1.0', 'info' => ['style' => 'RPC', 'product' => 'WuyingAI', 'version' => '2026-03-11'], 'components' => [ 'schemas' => [], ], 'apis' => [ 'Chat' => [ 'path' => '/api/agent/chat', 'methods' => ['post', 'get'], 'schemes' => ['https', 'sse'], 'security' => [ [ 'Anonymous' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'Input', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Role' => ['type' => 'string', 'required' => false], 'Content' => [ 'type' => 'array', 'required' => false, 'items' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'Type' => ['type' => 'string', 'required' => false], 'Text' => ['type' => 'string', 'required' => false], 'ImageUrl' => ['type' => 'string', 'required' => false], 'FileUrl' => ['type' => 'string', 'required' => false], 'FileName' => ['type' => 'string'], ], ], ], ], ], ], ], [ 'name' => 'SessionId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'RoutingKey', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'Authorization', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'ExternalUserId', 'in' => 'formData', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'StreamOptions', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'IncludeReasoning' => ['type' => 'boolean', 'required' => false], 'IncludeToolCalls' => ['type' => 'boolean', 'required' => false], ], ], ], [ 'name' => 'Settings', 'in' => 'formData', 'style' => 'json', 'schema' => [ 'type' => 'object', 'required' => false, 'properties' => [ 'OutputFileMode' => ['type' => 'string', 'required' => false], ], ], ], [ 'name' => 'Model', 'in' => 'formData', 'schema' => ['type' => 'string'], ], [ 'name' => 'Resume', 'in' => 'formData', 'schema' => ['type' => 'boolean'], ], ], ], 'GetAccessToken' => [ 'methods' => ['get', 'post'], 'schemes' => ['https'], 'security' => [ [ 'AK' => [], ], ], 'deprecated' => false, 'parameters' => [ [ 'name' => 'ExternalUserId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], [ 'name' => 'TemplateId', 'in' => 'query', 'schema' => ['type' => 'string', 'required' => false], ], ], ], ], 'endpoints' => [], ];