Weekly agent performance (owner-only)
const url = 'https://api.ultimateteam.ai/api/v1/chairman/weekly-performance';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/chairman/weekly-performance \ --header 'X-API-Key: <X-API-Key>'7-day agent performance summaries with team health assessment.
Authorizations
Section titled “Authorizations”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “Query Parameters”Responses
Section titled “ Responses ”Successful Response
Wrapper for GET /chairman/weekly-performance.
Attributes: data: The weekly performance payload.
object
Chairman’s weekly agent performance payload.
Attributes: week_number: ISO week number. period_start: ISO date string for period start. period_end: ISO date string for period end. agent_summaries: Per-agent performance summaries. total_tasks: Total tasks across all agents. total_cost: Total cost across all agents. team_health: Overall team health (healthy, degraded, critical).
object
Per-agent performance summary for chairman review endpoints.
Attributes: agent_role: C-suite role code. tasks_completed: Completed tasks in the period. tasks_failed: Failed tasks in the period. success_rate: Completion rate as a fraction. tokens_used: Total tokens consumed. cost_usd: Total cost in USD.
object
Example
{ "data": { "agent_summaries": [ { "cost_usd": 0, "success_rate": 0, "tasks_completed": 0, "tasks_failed": 0, "tokens_used": 0 } ], "period_end": "", "period_start": "", "team_health": "healthy", "total_cost": 0, "total_tasks": 0, "week_number": 0 }}Validation Error
object
object
object
Examplegenerated
{ "detail": [ { "ctx": {}, "input": "example", "loc": [ "example" ], "msg": "example", "type": "example" } ]}