API Reference
Complete API documentation for Jarvis
Authentication
All API requests require an API key in the Authorization header:
Authorization: Bearer YOUR_API_KEYVoice Endpoints
POST /voice/execute
Execute a voice command
{
"command": "turn on lights",
"context": "living room"
}Vision Endpoints
POST /vision/analyze
Analyze screen content
{
"screenshot": "base64_encoded_image",
"analysis_type": "ocr"
}Robotics Endpoints
POST /robotics/control
Control robotic devices
{
"device_id": "arm_01",
"action": "move",
"coordinates": [x, y, z]
}Memory Endpoints
GET /memory/recall
Retrieve stored memories
POST /memory/store
Store new memory
{
"key": "user_preference",
"value": "data",
"ttl": 86400
}Response Format
All responses are JSON formatted:
{
"success": true,
"data": {...},
"error": null,
"timestamp": "2024-01-31T12:00:00Z"
}