HealthCheck
No description available.
| API | Description |
|---|---|
| GET api/HealthCheck |
No description available. |
PostProcessReview
Post Process Review: triggers AI Process Review when research status is Reach SL.
| API | Description |
|---|---|
| GET api/postprocessreview/GetAll |
Gets all records from [dbo].[AgentPromptOptimization] with full column details. |
| GET api/postprocessreview/result?requestId={requestId} |
Gets full details of AgentPromptOptimization records for the given RequestID where IsResult = 1. |
| GET api/postprocessreview/optimization?requestId={requestId} |
Gets AgentPromptOptimization records for the given RequestID. |
| GET api/postprocessreview?researchId={researchId}&symbol={symbol} |
Executes Post Process Review for the given Research ID. Validates that research status is "Reach SL", then calls AI Process Review URL with Symbol and RequestID. |
AgentsAIModelSettings
No description available.
| API | Description |
|---|---|
| GET api/agents-ai-model-settings |
Gets all AI model setup rows from [dbo].[AgentsAISetupSettings]. GET api/agents-ai-model-settings |
| PUT api/agents-ai-model-settings/UpdateAIModelSettings |
Updates an AI model setup row in [dbo].[AgentsAISetupSettings] by ID. PUT api/agents-ai-model-settings/UpdateAIModelSettings |
| POST api/agents-ai-model-settings/SyncAIModelSettings |
Syncs [dbo].[AgentsAISetupSettings] into [dbo].[Agents] for matching agent names. POST api/agents-ai-model-settings/SyncAIModelSettings |
AgentPrompt
APIs for agent prompts. Get, Add, Update via SPs GetAgentPrompts, AddAgentPrompt, UpdateAgentPrompt.
| API | Description |
|---|---|
| GET api/agent-prompt?promptId={promptId} |
Gets agent prompts from SP GetAgentPrompts. Optional promptID to filter by specific prompt. |
| GET api/agent-prompt/{promptId} |
Gets a single agent prompt by ID. GET api/agent-prompt/20 |
| GET api/agent-prompt/by-version?workflowTypeId={workflowTypeId}&agentId={agentId}&version={version} |
Gets a workflow agent prompt for a specific version. SP GetWorkflowAgentPromptByVersions. GET api/agent-prompt/by-version?workflowTypeId=1&agentId=2&version=3 |
| POST api/agent-prompt/promote-version |
Promotes a workflow agent prompt version. SP PromoteWorkflowAgentPromptVersion. POST api/agent-prompt/promote-version |
| GET api/agent-prompt/supported-prompt-versions?agentId={agentId}&workflowTypeId={workflowTypeId} |
Returns supported prompt version numbers for a given AgentID and WorkflowTypeID using SP GetWorkflowAgentSupportedPromptVersions. |
| GET api/agent-prompt/supported-ai-providers |
Gets supported AI models from [dbo].[AgentAIModel] including token pricing. GET api/agent-prompt/supported-ai-providers |
| POST api/agent-prompt |
Creates a new agent prompt via SP AddAgentPrompt. |
| PUT api/agent-prompt/{id} |
Updates an agent prompt via SP UpdateAgentPrompt. |
N8n
API controller for n8n Workflow and Execution integration. Proxies requests to n8n API with X-N8N-API-KEY authentication. See: https://docs.n8n.io/api/api-reference/
PerformanceAuditorTradingScheduler
No description available.
| API | Description |
|---|---|
| GET api/prompt/performance-auditor-trading-scheduler?agentAudit={agentAudit} |
GET api/prompt/performance-auditor-trading-scheduler?agentAudit=1|2 |
| GET api/ai-trading-analysis/GetExistAIScheduledDailyPlan?investorId={investorId}&requestId={requestId} |
GET api/ai-trading-analysis/GetExistAIScheduledDailyPlan?investorId=…&requestId=… (requestId optional) |
| POST api/ai-trading-analysis/PerformTradingScheduledAnalysis |
POST api/ai-trading-analysis/PerformTradingScheduledAnalysis Body: { "requestId": "…", "investorId": n } |
HMMRegime
Unified multivariate HMM market regime classification for cross-asset baskets.
| API | Description |
|---|---|
| GET api/hmm-regime |
Returns HMM endpoint metadata and request format for Help Page discovery. |
| POST api/hmm-regime |
Classifies unified basket regime from basket_prices or legacy historical payloads. |
Agent
APIs for agent orchestration, workflows, and strategy management. Create, update, and activate agents.
| API | Description |
|---|---|
| GET api/agent |
Returns all active agents. |
| GET api/agent/workflows |
Returns all supported agent workflows from AgentsWorkflow table. |
| GET api/agent/strategies |
Returns all strategies. |
| GET api/agent/progress?requestId={requestId}&agentId={agentId} |
Returns execution progress per agent from AgentPromptAudit. Requires RequestId and AgentID. Returns percentage based on completed vs total expected for that agent. |
| GET api/agent/summary/{requestId}?agentId={agentId} |
Returns agent analysis summary for the given request ID. Optional agentId filter. |
| POST api/agent/add |
Creates a new agent using SP AddAgent. POST with body: AgentName, Description, AI_Model_Provider, AI_Model_Name, IsActive, WorkflowID, AgentUrl. |
| PUT api/agent/update/{id} |
Updates an existing agent using SP UpdateAgent. PUT with route id and body: AgentName, Description, AI_Model_Provider, AI_Model_Name, IsActive, WorkflowID, AgentUrl. |
| PUT api/agent/activate |
Turn On/Off a specific agent. PUT with body: AgentID, WorkFlowID (optional scope), IsActive. |
AIModelBilling
No description available.
| API | Description |
|---|---|
| GET api/ai-model-billing/version |
GET api/ai-model-billing/version — confirm deploy after publish. |
| GET api/ai-model-billing/record?requestId={requestId}&executionId={executionId}&promptName={promptName}&aiModel={aiModel}&sync={sync}&async={async} |
Records AI billing from n8n. Debate prompts always run synchronously (up to ~90s poll). n8n HTTP Request node timeout must be 120 seconds. |
PerformanceAuditorAnalyst
No description available.
| API | Description |
|---|---|
| GET api/prompt/performance-auditor?version={version}&workflowTypeId={workflowTypeId} |
No description available. |
AIPricing
No description available.
| API | Description |
|---|---|
| GET api/ai-pricing |
Gets all AI model pricing rows from [dbo].[AgentAIModel]. GET api/ai-pricing |
| GET api/ai-pricing/{id} |
Gets a single AI model pricing row by ID. GET api/ai-pricing/{id} |
| POST api/ai-pricing |
Creates a new AI model pricing row in [dbo].[AgentAIModel]. POST api/ai-pricing |
| PUT api/ai-pricing/{id} |
Updates an existing AI model pricing row in [dbo].[AgentAIModel]. PUT api/ai-pricing/{id} |
Research
APIs for research creation, retrieval, status updates, strategy execution, price candles chart data, and review executions.
Forecast
APIs for ARIMA-GARCH price forecasting. Accepts historical close prices and returns projected prices with volatility risk.
| API | Description |
|---|---|
| POST api/ArimaGarchForecast |
Generates per-symbol ARIMA(1,0,1)-GARCH(1,1) forecasts from a basket of raw close prices. |
Workflow
APIs for workflow CRUD operations on AgentsWorkflow table. Get all workflows, get by ID, create new, or update WorkflowName, Description, IsActive.
| API | Description |
|---|---|
| GET api/workflow |
Returns all workflows from AgentsWorkflow table. |
| GET api/workflow/{id} |
Returns a single workflow by ID. |
| PUT api/workflow/{id} |
Updates workflow WorkflowName, Description, IsActive. PUT with route id and body. |
| POST api/workflow |
Creates a new workflow. POST with body: WorkflowName, Description, IsActive. |
WorkflowAIAgent
APIs for workflow AI agents. Returns agents per workflow from SP GetWorkflowAIAgents.
| API | Description |
|---|---|
| GET api/workflow-ai-agents?workflowId={workflowId} |
Returns only SP fields: AgentID, WorkflowID, WorkflowName, AgentName, Description, AI_Model_Provider, IsActive, MaxRetries, PromptID, ExecutionOrder, SystemPrompt, UserPromptTemplate, VersionNumber, AgentUrl, CreatedDate |
AITradingScheduledPlan
Investor trading schedule data from stored procedures GetTodayTradingScheduledPlan and GetWeeklyTradingScheduledPlan.
| API | Description |
|---|---|
| GET api/ai-trading-scheduled-plan/GetTodayTradingScheduledPlan?investorId={investorId} |
GET api/ai-trading-scheduled-plan/GetTodayTradingScheduledPlan?investorId=… |
| GET api/ai-trading-scheduled-plan/GetWeeklyTradingScheduledPlan?investorId={investorId} |
GET api/ai-trading-scheduled-plan/GetWeeklyTradingScheduledPlan?investorId=… |
| PUT api/ai-trading-scheduled-plan/UpdateTradingScheduledPlanActivity |
PUT api/ai-trading-scheduled-plan/UpdateTradingScheduledPlanActivity Body: { "id": n, "investorId": n, "isActive": true|false } |
| POST api/ai-trading-scheduled-plan/AddManualTradingScheduledPlanActivity |
POST api/ai-trading-scheduled-plan/AddManualTradingScheduledPlanActivity Body: { "investorId": 1, "dayOfWeek": "Friday", "market": "Forex", "ticker": "USDJPY", "session": "Asian", "openTime": "06:04 UTC", "year": 2026, "month": 5, "day": 29, "notes": "Some textual Description" } |
CheckSupportedStocks
APIs for checking and listing supported stock tickers from the TaapiStocks database.
| API | Description |
|---|---|
| GET api/CheckSupportedStocks?ticker={ticker} |
Checks whether a given ticker exists in TaapiStocks. Returns true if supported, false otherwise. |
| GET api/CheckSupportedStocks/list |
Returns all supported stocks from TaapiStocks as a list of Id and StockTicker. |
AIModelRequestLimit
No description available.
| API | Description |
|---|---|
| GET api/ai-model-request-limit?modelName={modelName}&version={version} |
Gets request limit settings for an AI model by ModelName and Version. GET api/ai-model-request-limit?modelName=gemini&version=gemini-2.0-flash |
| POST api/ai-model-request-limit/AddAIModelRequest |
Records an AI model request against the hourly usage bucket. POST api/ai-model-request-limit/AddAIModelRequest |
| GET api/ai-model-request-limit/ValidateAIModelRequestLimit?modelId={modelId} |
Validates whether the AI model is still within its allocated hourly, daily, and weekly limits. GET api/ai-model-request-limit/ValidateAIModelRequestLimit?modelId=1 |
| GET api/ai-model-request-limit/GetCurrentAIModelRequest?modelId={modelId}&year={year}&month={month}&day={day}&hour={hour} |
Gets current AI model request usage for a date with counts and percentage of allocated limits. GET api/ai-model-request-limit/GetCurrentAIModelRequest?modelId=1&year=2026&month=6&day=5&hour=14 |
| PUT api/ai-model-request-limit |
Updates request limit settings for an existing AI model identified by ModelName and Version. PUT api/ai-model-request-limit |
MultiAgentStateMachine
No description available.
| API | Description |
|---|---|
| GET api/multiagentstatemachine |
Gets all records from [dbo].[MultiAgentStateMachine]. |
| GET api/multiagentstatemachine/workflowtype/{workflowTypeId} |
Gets MultiAgentStateMachine records filtered by WorkflowTypeID. |
| POST api/multiagentstatemachine/addpoint |
AddPoint: Adds a workflow multi-agent state machine by calling [dbo].[AddMultiAgentStateMachine]. |
| POST api/multiagentstatemachine/addmultiagentstatemachinestep |
Adds a new state row to [dbo].[MultiAgentStateMachine] via [dbo].[AddMultiAgentStateMachineStep]. |
| PUT api/multiagentstatemachine/{id} |
Updates [dbo].[MultiAgentStateMachine] by ID. Does not modify ID or WorkFlowTypeID. |
| PUT api/multiagentstatemachine/updateagentexecutionstate |
Upserts agent execution state via [dbo].[UpdateMultiAgentStateMachineExecutionDetails]. Matches existing rows by AgentID and WorkflowTypeID; if none exist, inserts a new row with WorkflowName = "Agentic Hedge " + AgentsWorkflow.Asset and StepName = Agents.AgentName. |
MacroAnalyst
Returns Macro Analyst agent prompts by version.
| API | Description |
|---|---|
| GET api/MacroAnalyst?version={version}&workflowTypeId={workflowTypeId} |
Returns Macro Analyst agent prompt by version. |
SummaryAnalystData
Returns Summary Analyst agent prompts by version.
| API | Description |
|---|---|
| GET api/SummaryAnalystData?version={version}&workflowTypeId={workflowTypeId} |
Returns Summary Analyst agent prompt by version. |
EquitySelection
Returns Equity Selection agent prompts by version.
| API | Description |
|---|---|
| GET api/EquitySelection?version={version}&workflowTypeId={workflowTypeId} |
Returns Equity Selection agent prompt by version. |
SentimentalAnalyst
Returns Sentiment Analyst agent prompts by version.
| API | Description |
|---|---|
| GET api/SentimentalAnalyst?version={version}&workflowTypeId={workflowTypeId} |
Returns Sentiment Analyst agent prompt by version. |
TechnicalAnalyst
Returns Technical Analyst agent prompts by version.
| API | Description |
|---|---|
| GET api/TechnicalAnalyst?version={version}&workflowTypeId={workflowTypeId} |
Returns Technical Analyst agent prompt by version. |
FudamentalAnalyst
Returns Fundamental Analyst agent prompts by version.
| API | Description |
|---|---|
| GET api/FudamentalAnalyst?version={version}&workflowTypeId={workflowTypeId} |
Returns Fundamental Analyst agent prompt by version. |
ResearchDebateManager
Returns Research Debate Manager agent prompts by version.
| API | Description |
|---|---|
| GET api/ResearchDebateManager?version={version}&workflowTypeId={workflowTypeId} |
Returns Research Debate Manager agent prompt by version. |
RiskManager
Returns Risk Manager agent prompts by version.
| API | Description |
|---|---|
| GET api/RiskManager?version={version}&workflowTypeId={workflowTypeId} |
Returns Risk Manager agent prompt by version. |
TradingPortfolioManager
Returns Trading Portfolio Manager agent prompts by version.
| API | Description |
|---|---|
| GET api/TradingPortfolioManager?version={version}&workflowTypeId={workflowTypeId} |
Returns Trading Portfolio Manager agent prompt by version. |