API Reference
OrchestrAI
/v1/orchestrai/v1/orchestrai/routeRoute a query to the optimal model based on complexity, cost, and latency constraints
/v1/orchestrai/modelsList all available models and their capabilities
/v1/orchestrai/route/{id}Get routing decision details and performance metrics
/v1/orchestrai/evaluateEvaluate model performance on a given task without routing
AgentGuard
/v1/agentguard/v1/agentguard/verifyVerify an agent action against safety rules before execution
/v1/agentguard/rulesCreate a new safety rule for agent verification
/v1/agentguard/rulesList all configured safety rules
/v1/agentguard/auditRetrieve the audit trail for agent decisions
MindVault
/v1/mindvault/v1/mindvault/storeStore a fact or relationship in the knowledge graph
/v1/mindvault/queryQuery the knowledge graph using natural language or structured queries
/v1/mindvault/recallRetrieve contextually relevant memories for a given input
/v1/mindvault/facts/{id}Remove a specific fact from the knowledge graph
ComplianceGraph
/v1/compliance/v1/compliance/checkRun a compliance check against configured regulatory rules
/v1/compliance/reportsList compliance audit reports with timestamps and results
/v1/compliance/policiesCreate or update a compliance policy
/v1/compliance/policiesList all compliance policies and their status
DataReady
/v1/dataready/v1/dataready/analyzeAnalyze a dataset for AI-readiness, quality issues, and bias
/v1/dataready/reports/{id}Get a detailed data quality report with recommendations
/v1/dataready/schema/validateValidate a data schema against best practices
EvoAgent
/v1/evoagent/v1/evoagent/populationsCreate a new agent population for evolutionary optimization
/v1/evoagent/evolveRun an evolution cycle on an agent population
/v1/evoagent/populations/{id}Get population status, fitness scores, and generation data
/v1/evoagent/populations/{id}/bestRetrieve the best-performing agent from a population
VerticalAI
/v1/vertical/v1/vertical/deployDeploy an industry-specific AI pipeline from a starter kit
/v1/vertical/templatesList available industry templates (healthcare, finance, legal, manufacturing)
/v1/vertical/deployments/{id}Get deployment status and configuration
Example: OrchestrAI Routing
Route a query through OrchestrAI with cost and latency constraints. The system selects the optimal model and returns the response with full routing metadata.
Request
POST/v1/orchestrai/routecurl -X POST https://api.bolor.ai/v1/orchestrai/route \
-H "Authorization: Bearer sk-your-api-key" \
-H "Content-Type: application/json" \
-d '{
"query": "Analyze this contract for compliance risks and summarize the key obligations for both parties.",
"constraints": {
"max_latency_ms": 5000,
"max_cost_usd": 0.05,
"min_accuracy": 0.95
},
"context": {
"domain": "legal",
"task_type": "analysis"
}
}'Response
200 OKapplication/json{
"id": "route_8f3k2j1h",
"model": "claude-3.5-sonnet",
"provider": "anthropic",
"reasoning": {
"selected_because": "Legal analysis requires high accuracy and nuanced reasoning. Claude 3.5 Sonnet scores highest for legal document analysis in our benchmarks.",
"alternatives_considered": [
{
"model": "gpt-4-turbo",
"reason_rejected": "Slightly lower accuracy on legal domain tasks"
}
]
},
"constraints_met": {
"latency_ms": 2340,
"estimated_cost_usd": 0.032,
"accuracy_score": 0.97
},
"response": {
"content": "Based on my analysis of the contract...",
"tokens_used": 1847,
"finish_reason": "stop"
},
"metadata": {
"routing_time_ms": 12,
"total_time_ms": 2352,
"nsaf_confidence": 0.94
}
}