API Documentation
Build powerful financial applications with SignalScript's APIs. Our platform provides orchestration capabilities and flexible data connectors to help you create sophisticated AI-powered solutions.
Core APIs
Essential functionalityWorkflow API
AvailableExecute AI-powered workflow templates with real-time streaming results.
POST
/api/v1/workflow/execute/template/journal_templateRequest
{
"parameters": {
"query": "Get AAPL stock price data for the last month",
"limit": 5,
"min_relevance": 0.7
}
}Parameters:
query(required): Natural language query to find relevant market data endpointslimit(optional): Maximum number of results (default: 5)min_relevance(optional): Minimum relevance score 0-1 (default: 0.5)
Response (Server-Sent Events)
// Event: Workflow Started
data: {"type": "state_update", "status": "started", "workflow_id": "wf-123", "timestamp": "2024-01-23T12:34:56Z"}
// Event: Search Progress
data: {"type": "token", "token": "Searching for relevant AlphaVantage endpoints..."}
// Event: Step Progress
data: {"type": "state_update", "status": "in_progress", "step": "endpoint_search", "progress": 0.3}
// Event: Found Endpoint
data: {"type": "token", "token": "Found TIME_SERIES_DAILY endpoint with relevance score 0.85"}
// Event: Data Collection
data: {"type": "state_update", "status": "in_progress", "step": "fetch_data", "progress": 0.6}
// Event: Analysis
data: {"type": "token", "token": "AAPL stock shows an upward trend with average volume..."}
// Event: Completion
data: {"type": "state_update", "status": "completed", "workflow_id": "wf-123", "execution_time": 2.5}Event Types:
state_update: Workflow execution status and progresstoken: Incremental results and analysiserror: Error information if something goes wrong
Coming Soon
GET
/api/v1/workflow/templates List available templatesGET
/api/v1/workflow/execution/{execution_id} Get execution statusPOST
/api/v1/workflow/execute/template/custom Execute custom workflow templateSystem API
AvailableMonitor system health and status.
GET
/health Check system health statusConnectors API
Coming SoonIntegrate your custom data sources with support for CSV and JSON formats.
POST
/connectorsCreate a Connector
{
"name": "Portfolio Data",
"type": "csv",
"config": {
"file_path": "/path/to/portfolio.csv",
"columns": ["date", "symbol", "quantity", "price"],
"delimiter": ","
}
}GET
/connectorsList Connectors
{
"connectors": [
{
"id": "conn_123",
"name": "Portfolio Data",
"type": "csv",
"status": "active",
"created_at": "2024-01-23T10:00:00Z"
}
],
"total": 1,
"page": 1
}GET
/connectors/{id} Get connector detailsPATCH
/connectors/{id} Update connectorDELETE
/connectors/{id} Delete connectorManagement APIs
Platform operationsAuthentication API
AvailableSecure endpoints for user authentication and token management.
POST
/auth/login Get access tokenComing Soon
POST
/auth/signup Create new accountPOST
/auth/refresh Refresh access tokenUsage & Billing API
Coming SoonMonitor API usage and manage billing information.
GET
/usage Get usage statisticsGET
/billing Get billing informationAudit Logs API
Coming SoonAccess detailed logs of API operations and data access.
GET
/logs/requests Get operation logsGetting Started
To start using SignalScript's APIs:
- Get early access to API keys
- Choose a workflow template that matches your needs
- Execute the workflow with your data sources
- Process the streaming results in real-time
- Join our Discord community for support and updates