Generates an executive summary of the user's stack audit.
- Method:
POST - Content-Type:
application/json
{
"report": {
"teamSize": 15,
"totalSpend": 1200,
"monthlyWaste": 300,
"score": 75,
"recommendations": [
{
"id": "overlap-llm",
"title": "LLM Overlap Detected",
"description": "Consolidate ChatGPT and Claude.",
"savings": 20
}
]
}
}{
"summary": "Based on your team of 15, your current spend of $1,200 has an optimization potential of $300...",
"source": "ai",
"prompt": "..."
}Returned gracefully if the AI provider limits the request.
{
"summary": "Your stack audit is complete. We identified 1 overlapping tools and $300 in estimated monthly waste.",
"source": "fallback",
"prompt": "..."
}Captures user email addresses for future optimizations and sends a transactional confirmation.
- Method:
POST - Content-Type:
application/json
{
"email": "user@example.com",
"reportId": "uuid-string-here",
"a_password": ""
}Note: a_password is a honeypot field. If populated, the server will silently discard the request to prevent bot spam.
{
"success": true
}{
"error": "Invalid email address"
}