Scalegion API & Developer Documentation
Push runtime error diagnostics, autonomous dev agent events, and APM error logs directly into your Scalegion growth control plane.
JavaScript Error Tracking Ingestion Endpoint
Use POST /api/track-error to forward exceptions and stack traces from your frontend apps directly into Scalegion.
curl -X POST https://api.scalegion.com/api/track-error \
-H "Authorization: Bearer YOUR_PROJECT_TOKEN" \
-H "Content-Type: application/json" \
-d '{"message": "Uncaught TypeError", "source": "main.js", "lineno": 42}'
