PostProcessReview
Post Process Review: triggers AI Process Review when research status is Reach SL.
| API | Description |
|---|---|
| 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. |
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 |
| 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/
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. |
PerformanceAuditorAnalyst
No description available.
| API | Description |
|---|---|
| GET api/prompt/performance-auditor?version={version}&workflowTypeId={workflowTypeId} |
No description available. |
Research
APIs for research creation, retrieval, status updates, strategy execution, price candles chart data, and review executions.
| API | Description |
|---|---|
| GET api/research/get?requestId={requestId} |
Gets research by request ID. |
| GET api/research/update?requestId={requestId}&statusId={statusId} |
Updates research status by request ID and status ID. |
| POST api/research/create?investorId={investorId}&requestID={requestID}&ticker={ticker}&workFlowID={workFlowID}&statusID={statusID} |
Creates new research. POST with query params: investorId, requestID, ticker, workFlowID, statusID. |
| GET api/research/review-executions?investorId={investorId}&isArchive={isArchive} |
Returns passed research executions for review. GET with investorId. Uses SP GetPassedResearchExecutions. |
| GET api/research/recovery?requestId={requestId}&ticker={ticker} |
No description available. |
| GET api/research/price-candles?ticker={ticker}&interval={interval}&range={range} |
Returns price candle chart data for a ticker. GET with ticker, optional interval (default 4h), range (default 1). Fetches from marketdata API. |
| GET api/research/archive?requestId={requestId}&isArchive={isArchive} |
No description available. |
| GET api/research/strategy-execution?requestId={requestId}&workflowTypeID={workflowTypeID} |
Returns strategy execution (Direction, Entry, TP, SL) for a request from EquitySelection agent. GET with requestId. |
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 |
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. |
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]. |
| PUT api/multiagentstatemachine/{id} |
Updates [dbo].[MultiAgentStateMachine] by ID. Does not modify ID or WorkFlowTypeID. |
| PUT api/multiagentstatemachine/updateagentexecutionstate |
Updates agent execution state details by calling [dbo].[UpdateMultiAgentStateMachineExecutionDetails]. Matches rows by AgentID and WorkflowTypeID. |
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. |