Get Team Dashboard
Aggregate payload for the team dashboard page paint.
Pillar 2 of the pool-exhaustion fix (docs/plans/2026-05-04-permanent- pool-exhaustion-fix.md): replaces 5–7 parallel GETs (team, tasks,
activity, strategy/history, strategy/briefs, canvas/layout) with one
handler / one session. Sub-queries are issued via asyncio.gather so
the connection holds for the longest sub-query, not the sum.
Optimization (per pre-flight audit): team_service.get_team() is
called ONCE here and the loaded ORM row is the only authoritative
ownership check — the per-resource code paths re-fetch the team
today, which is wasted I/O on the hot path.
Documentation Index
Fetch the complete documentation index at: https://docs.aitasker.co/llms.txt
Use this file to discover all available pages before exploring further.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Response
Successful Response
Aggregate payload for the team dashboard page paint.
Replaces 5–7 parallel GETs with one handler/one session. Each sub-key matches the existing per-resource endpoint payload verbatim so the frontend can keep using its current types.