Complete API documentation for all Motte framework endpoints and services.
All API requests require authentication using API keys. Include your API key in the Authorization header:
Authorization: Bearer YOUR_API_KEY
https://api.motte.ai
MotteRL training and model management
/api/training/start
Start a new training job
/api/training/status/{id}
Get training job status
/api/training/logs/{id}
Retrieve training logs
/api/training/cancel/{id}
Cancel training job
MotteAF workflow management
/api/workflows/create
Create new workflow
/api/workflows/execute
Execute workflow
/api/workflows/{id}
Get workflow details
/api/workflows/{id}
Update workflow
/api/workflows/{id}
Delete workflow
MotteMB memory management
/api/memory/store
Store new memory
/api/memory/search
Search memories
/api/memory/import
Bulk import memories
/api/memory/export
Export memories
/api/memory/optimize
Optimize memory bank
/api/memory/stats
Get memory statistics
/api/memory/delete/{id}
Delete memory
MotteTF tool integration
/api/tools/generate-schema
Generate tool schema
/api/tools/test-connection
Test tool connection
/api/tools/execute
Execute tool function
/api/tools/{id}
Get tool details
MotteAW monitoring and analytics
/api/monitoring/metrics
Get system metrics
/api/monitoring/alerts
Create alert
/api/monitoring/alerts
List alerts
/api/monitoring/stream
Real-time metrics stream
API requests are rate limited to ensure fair usage:
The API uses conventional HTTP response codes to indicate success or failure:
{ "error": { "code": "INVALID_REQUEST", "message": "The request parameters are invalid", "details": { "field": "learning_rate", "issue": "must be between 0.001 and 0.1" } } }
pip install motte-sdk
Official Python SDK with full API coverage
npm install @motte/sdk
TypeScript-first SDK for Node.js and browsers