Get latest weekly win report
const url = 'https://api.ultimateteam.ai/api/v1/reports/weekly-win';const options = {method: 'GET', headers: {'X-API-Key': '<X-API-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://api.ultimateteam.ai/api/v1/reports/weekly-win \ --header 'X-API-Key: <X-API-Key>'Returns the weekly win report with business metrics, team activity, focus areas, and cumulative value tracking.
Authorizations
Section titled “Authorizations”Responses
Section titled “ Responses ”Successful Response
Envelope response for the weekly win endpoint.
Attributes: data: The weekly win payload. meta: Standard response metadata.
object
Inner data payload for the weekly win response.
Attributes: week_number: ISO week number of the report. this_week: Weekly business metrics. team_activity: Summary of agent actions. next_week: Focus areas for the coming week. cumulative: All-time cumulative metrics. platform_cost: Total platform spend to date. value_delivered: Total value delivered to date. value_multiple: ROI multiple (value / cost).
object
All-time metrics since the tenant first joined the platform.
Attributes: weeks_active: Number of weeks the tenant has been active. total_revenue_attributed: Lifetime revenue attributed to the team. total_costs_saved: Lifetime costs the team identified as savings. total_hours_saved: Lifetime human-equivalent hours saved. total_value_delivered: Sum of revenue + savings + time value. roi_multiple: Total value divided by total platform cost.
object
object
Summary of all agent actions during the reporting period.
Attributes: total_actions: Total discrete actions taken by all agents. outreach_sent: Number of outreach messages dispatched. social_posts: Number of social media posts created. emails_handled: Number of emails processed or sent. support_tickets: Number of support interactions handled. reports_generated: Number of internal reports produced. competitive_alerts: Number of competitive intelligence alerts. estimated_hours_saved: Estimated human-equivalent hours saved.
object
Key business metrics for a single week.
Attributes: revenue_total: Total revenue attributed to the AI team this week. revenue_change_pct: Percentage change from the previous week. new_customers: Count of new customers acquired. reactivated_customers: Count of dormant customers won back. costs_saved: Estimated costs saved by the AI team. highlight: The most emotionally impactful moment of the week.
object
Standard metadata included in every API response.
Attributes: request_id: Unique identifier for this request. timestamp: When the response was generated.
object
Unique identifier for this request
When the response was generated
Example
{ "data": { "cumulative": { "roi_multiple": 0, "total_costs_saved": 0, "total_hours_saved": 0, "total_revenue_attributed": 0, "total_value_delivered": 0, "weeks_active": 0 }, "platform_cost": 0, "team_activity": { "competitive_alerts": 0, "emails_handled": 0, "estimated_hours_saved": 0, "outreach_sent": 0, "reports_generated": 0, "social_posts": 0, "support_tickets": 0, "total_actions": 0 }, "this_week": { "costs_saved": 0, "highlight": "", "new_customers": 0, "reactivated_customers": 0, "revenue_change_pct": 0, "revenue_total": 0 }, "value_delivered": 0, "value_multiple": 0 }}