Weekly win report
const url = 'https://api.ultimateteam.ai/api/v1/dashboard/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/dashboard/weekly-win \ --header 'X-API-Key: <X-API-Key>'Structured weekly win report for the authenticated tenant. Optionally pass ?week=
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”Responses
Section titled “ Responses ”Successful Response
Wrapper response for GET /dashboard/weekly-win.
Attributes: data: The weekly win report payload.
object
Weekly win report payload.
Attributes: week_number: ISO week number. period_start: Start of the reporting period (ISO date string). period_end: End of the reporting period (ISO date string). highlight: The top emotional highlight of the week. revenue_total: Total revenue attributed this week. new_customers: Count of new customers acquired. costs_saved: Total costs saved by AI this week. total_actions: Total agent actions performed. estimated_hours_saved: Hours of work saved by the team. value_multiple: Overall value multiple (value delivered / platform cost). closing_message: Motivational closing sentence.
object
Example
{ "data": { "closing_message": "", "costs_saved": 0, "estimated_hours_saved": 0, "highlight": "", "new_customers": 0, "period_end": "", "period_start": "", "revenue_total": 0, "total_actions": 0, "value_multiple": 0, "week_number": 0 }}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}