API Endpoints Reference
Daemon HTTP API reference.
The CoreLayer daemon exposes an HTTP API on localhost:3001. The Tauri frontend uses this API through Tauri's IPC bridge.
Base URL
http://localhost:3001Chat
POST /api/chat
Send a message to Jarvis and receive a streaming response.
{
"message": "What tasks do I have?",
"conversationId": "conv_123"
}Response: Server-Sent Events (SSE) stream.
Tasks
GET /api/tasks
List all tasks.
// Response
[
{
"id": "task_abc123",
"title": "Review PR #42",
"status": "pending",
"priority": "high",
"dueDate": "2026-06-30T00:00:00Z",
"createdAt": "2026-06-28T10:00:00Z"
}
]POST /api/tasks
Create a new task.
// Request
{
"title": "Review PR #42",
"priority": "high",
"dueDate": "2026-06-30"
}
// Response
{
"id": "task_abc123",
"title": "Review PR #42",
"status": "pending",
"priority": "high",
"dueDate": "2026-06-30T00:00:00Z"
}PATCH /api/tasks/:id
Update a task. Accepts a partial task object.
DELETE /api/tasks/:id
Delete a task.
Articles (Reading List)
GET /api/articles
List all articles.
POST /api/articles
Add an article.
DELETE /api/articles/:id
Remove an article.
Reviews
GET /api/reviews
List reviews.
POST /api/reviews/generate
Generate a new review.
Models
GET /api/models
List configured model providers.
POST /api/models
Add a model provider.
MCP
GET /api/mcp/servers
List MCP servers.
POST /api/mcp/servers
Add an MCP server.
POST /api/mcp/servers/:id/restart
Restart an MCP server.
Tools
GET /api/tools
List all registered tools.
Permissions
GET /api/permissions/audit
Get audit log entries.
POST /api/permissions/approve
Approve a pending tool call.
POST /api/permissions/deny
Deny a pending tool call.
Health
GET /api/health
Check daemon health.
{
"status": "healthy",
"uptime": 3600,
"version": "<current-version>"
}Authentication
The daemon API is only accessible from localhost. No authentication is required for local access.
Next Steps
- Config File — configuration reference
- CLI Commands — command-line interface