Your API is LIVE at: https://khronos-api-bp71onrender.com
curl https://khronos-api-bp71onrender.com/healthExpected Response:
{
"status": "OK",
"timestamp": "2025-07-11T10:00:00.000Z",
"environment": "production",
"message": "Khronos API is running"
}curl https://khronos-api-bp71onrender.com/api/v1/cache/healthcurl https://khronos-api-bp71onrender.com/api/v1/cache/metricsAll other endpoints require the x-api-key header.
x-api-key: GCMUDibV5a7WvyUNt9n3QztToSHZk7Uj
# Get platform status
curl -H "x-api-key: GCMUDibV5a7WvyUNt9n3QztToSHZk7Uj" \
https://khronos-api-bp71onrender.com/api/v1/analytics/platform-status
# Get LLM status
curl -H "x-api-key: GCMUDibV5a7WvyUNt9n3QztToSHZk7Uj" \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
https://khronos-api-bp71onrender.com/api/v1/llm/status# Sign up new user
curl -X POST \
-H "x-api-key: GCMUDibV5a7WvyUNt9n3QztToSHZk7Uj" \
-H "Content-Type: application/json" \
-d '{
"name": "Test User",
"email": "test@example.com",
"password": "password123"
}' \
https://khronos-api-bp71onrender.com/api/v1/signup# Login existing user
curl -X POST \
-H "x-api-key: GCMUDibV5a7WvyUNt9n3QztToSHZk7Uj" \
-H "Content-Type: application/json" \
-d '{
"email": "test@example.com",
"password": "password123"
}' \
https://khronos-api-bp71onrender.com/api/v1/loginSome endpoints require both API key AND user authentication (JWT token).
- Sign up or Login (examples above)
- Extract the
accessTokenfrom response - Use in Authorization header
curl -H "x-api-key: GCMUDibV5a7WvyUNt9n3QztToSHZk7Uj" \
-H "Authorization: Bearer YOUR_ACCESS_TOKEN_HERE" \
https://khronos-api-bp71onrender.com/api/v1/profile/my- Use the collection:
addons/postman/NodeJS Backend Architecture Typescript.postman_collection.json - Import environment:
addons/postman/PROD ENV.postman_environment.json
BASE_URL: https://khronos-api-bp71onrender.com
API_KEY: GCMUDibV5a7WvyUNt9n3QztToSHZk7Uj
- Health Check → Verify API is running
- Sign Up → Create test user
- Login → Get JWT tokens
- Profile → Test authenticated endpoints
- Analytics → Test feature endpoints
{
"statusCode": "10001",
"message": "X-api-key is required"
}Solution: Add x-api-key header
{
"statusCode": "10003",
"message": "Authentication failure"
}Solution: Check JWT token or login again
{
"statusCode": "10002",
"message": "Bad Parameters"
}Solution: Check request body format
- API Key:
GCMUDibV5a7WvyUNt9n3QztToSHZk7Uj - Permissions:
["GENERAL"] - Status: Active
Use the settings endpoint to create additional API keys:
curl -X POST \
-H "x-api-key: GCMUDibV5a7WvyUNt9n3QztToSHZk7Uj" \
-H "Authorization: Bearer YOUR_JWT_TOKEN" \
-H "Content-Type: application/json" \
-d '{
"name": "My Custom API Key",
"permissions": ["read", "write"]
}' \
https://khronos-api-bp71onrender.com/api/v1/settings/api-keysGET /health- API health statusGET /api/v1/cache/health- Cache healthGET /api/v1/cache/metrics- Cache metrics
POST /api/v1/signup- User registrationPOST /api/v1/login- User loginGET /api/v1/analytics/platform-status- Platform status
GET /api/v1/profile/my- User profileGET /api/v1/llm/status- LLM provider statusGET /api/v1/analytics/dashboard- Analytics dashboardPOST /api/v1/chat/message- AI chatGET /api/v1/content- Content managementGET /api/v1/calendar- Calendar eventsGET /api/v1/trends- Trending topics
curl https://khronos-api-bp71onrender.com/healthcurl -H "x-api-key: GCMUDibV5a7WvyUNt9n3QztToSHZk7Uj" \
https://khronos-api-bp71onrender.com/api/v1/analytics/platform-status# 1. Sign up
curl -X POST -H "x-api-key: GCMUDibV5a7WvyUNt9n3QztToSHZk7Uj" \
-H "Content-Type: application/json" \
-d '{"name":"Test","email":"test@example.com","password":"test123"}' \
https://khronos-api-bp71onrender.com/api/v1/signup
# 2. Use the accessToken from response in subsequent requests- API Key Security: Rotate keys regularly in production
- Rate Limiting: Monitor usage patterns
- Error Monitoring: Track error rates and response times
- Health Monitoring: Use
/healthendpoint for uptime monitoring
Your API is fully functional and ready for testing! 🎉