
Build with the Cortyx™ API
REST API access to every leading AI model through a single endpoint. Unified memory, 3,000+ connected business tools, decision trace on every response, and the Cortyx™ AI decision engine — all through our secure infrastructure.
Quick Start
One request, full intelligence
Send a message to the Cortyx™ API. Get back the best model's response, a decision trace, connected tool outputs, and memory updates — all in one call.
curl -X POST https://api.webair.ai/v1/chat \
-H "Authorization: Bearer $CORTYX_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"messages": [
{
"role": "user",
"content": "Pull overdue invoices from QuickBooks and draft a follow-up email for each."
}
],
"options": {
"model": "auto",
"memory": true,
"tools": ["quickbooks", "gmail"],
"decision_trace": true
}
}'{
"id": "chat_01WA8X2F4M9NV3P",
"model_used": "claude-opus-4",
"decision_trace": {
"selected_model": "claude-opus-4",
"reason": "Multi-step workflow with financial data and email drafting",
"tools_invoked": ["quickbooks", "gmail"],
"memory_consulted": true,
"memory_items_used": 3
},
"content": "Found 4 overdue invoices. I've drafted follow-up emails for each...",
"tool_outputs": [
{
"tool": "quickbooks",
"action": "query_invoices",
"result_count": 4
},
{
"tool": "gmail",
"action": "draft_emails",
"drafts_created": 4
}
],
"usage": { "input_tokens": 82, "output_tokens": 847 }
}Capabilities
What the Cortyx™ API gives you
Everything available in WebAir AI chat, accessible programmatically through a clean REST API.
One Endpoint, Every Model
Send requests to one API. Cortyx™ selects the best model based on the task, or you specify one directly. ChatGPT, Claude, Gemini, and more — all through one integration.
Unified Memory API
Read and write to a persistent, private memory layer that spans models and sessions. Build apps that remember context without managing state yourself.
Connected Tools
Access 3,000+ connected business tools programmatically. Let Cortyx™ invoke HubSpot, QuickBooks, Gmail, Slack, and more as part of the response pipeline.
Decision Trace
Every API response includes a decision trace: which model was selected, why, what memory was used, and which tools were invoked. Full visibility by default.
Private by Default
All AI requests go through WebAir infrastructure. Your API keys, business data, and memory never touch external AI providers directly.
SOC 2 Certified
Enterprise-grade security. GDPR compliant. HIPAA-ready. Audit logging on every API call. Configurable data residency.
Use Cases
What you can build
The Cortyx™ API is designed for teams building AI-powered products, internal tools, and workflow automation.
Internal AI Assistants
Build AI assistants that access your company's tools and memory. Employees ask questions in plain English and get answers grounded in real business data.
Customer-Facing AI
Embed Cortyx™-powered chat into your product. Your customers get intelligent, context-aware responses without you managing model selection.
Workflow Automation
Trigger multi-step workflows from a single API call. Cortyx™ coordinates model selection, tool use, and memory updates in one request.
Data Analysis
Feed structured or unstructured data into Cortyx™ and get model-selected analysis back. Connect to databases, spreadsheets, and documents via the tools API.
Agent Frameworks
Use Cortyx™ as the decision layer inside your agent architecture. Let it handle model routing, memory, and tool coordination while you control the agent logic.
White-Label AI Products
Build AI-powered products on top of the Cortyx™ API without managing model infrastructure, memory, or tool integrations yourself.
SDKs
Official client libraries
Python
Coming Soon
JavaScript / TypeScript
Coming Soon
REST (Direct)
API v1
Get Started
Ready to build?
Request API access now. We'll send your credentials when the private beta opens.
Build AI products without managing infrastructure.
The Cortyx™ API handles model selection, memory, tool coordination, and privacy — so you can focus on your product.