Skip to content
gist.link ↗

teamWorkload

Query Teams API — POST https://teams.api.gist.link/graphql

Team workload: every card on the team’s boards grouped by assignee with open/overdue/due-soon counts, busiest member first; an “unassigned” bucket (member: null) trails when non-empty. Any caller who can see the team.

teams:query:teamWorkload

The calling IAM key must hold this permission (or a wildcard that covers it: teams:query:* or teams:*) and the access token must have been minted with audience=teams. See Permissions.

type Query {
teamWorkload(teamId: Int!): [WorkloadEntry!]!
}
Argument Type Required Description
teamId Int! Yes —

[WorkloadEntry!]! — see the Teams types reference.

Terminal window
curl https://teams.api.gist.link/graphql \
-H "Authorization: Bearer $ACCESS_TOKEN" \
-H 'Content-Type: application/json' \
-d @- <<'JSON'
{
"query": "query TeamWorkload($teamId: Int!) { teamWorkload(teamId: $teamId) { open_cards overdue_cards due_soon_cards } }",
"variables": {
"teamId": 10
}
}
JSON