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/startStart 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/createCreate new workflow
/api/workflows/executeExecute workflow
/api/workflows/{id}Get workflow details
/api/workflows/{id}Update workflow
/api/workflows/{id}Delete workflow
MotteMB memory management
/api/memory/storeStore new memory
/api/memory/searchSearch memories
/api/memory/importBulk import memories
/api/memory/exportExport memories
/api/memory/optimizeOptimize memory bank
/api/memory/statsGet memory statistics
/api/memory/delete/{id}Delete memory
MotteTF tool integration
/api/tools/generate-schemaGenerate tool schema
/api/tools/test-connectionTest tool connection
/api/tools/executeExecute tool function
/api/tools/{id}Get tool details
MotteAW monitoring and analytics
/api/monitoring/metricsGet system metrics
/api/monitoring/alertsCreate alert
/api/monitoring/alertsList alerts
/api/monitoring/streamReal-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