Skip to content

Weekly agent performance (owner-only)

GET
/api/v1/chairman/weekly-performance
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.

week
Any of:
integer

ISO week number (defaults to current)

Successful Response

Media typeapplication/json
WeeklyPerformanceResponse

Wrapper for GET /chairman/weekly-performance.

Attributes: data: The weekly performance payload.

object
data
required
WeeklyPerformanceData

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
agent_summaries
Agent Summaries
Array<object>
AgentPerformanceSummary

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
agent_role
required
Agent Role
string
cost_usd
Cost Usd
number
0
success_rate
Success Rate
number
0
tasks_completed
Tasks Completed
integer
0
tasks_failed
Tasks Failed
integer
0
tokens_used
Tokens Used
integer
0
period_end
Period End
string
""
period_start
Period Start
string
""
team_health
Team Health
string
default: healthy
total_cost
Total Cost
number
0
total_tasks
Total Tasks
integer
0
week_number
Week Number
integer
0
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

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
ctx
Context
object
input
Input
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
Examplegenerated
{
"detail": [
{
"ctx": {},
"input": "example",
"loc": [
"example"
],
"msg": "example",
"type": "example"
}
]
}