What the team workspace spent this period (``?period=previous`` for the one before)
The team's Owner and Admins only: 403 workspace_role_required
below Admin, 404 outside the team. Lists hold at most 200 rows, by
cost then tokens. See :func:team_usage_body for the shape.
Not available to personal access tokens; call it from a signed-in session.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
team_id*stringSuccess
curl -X GET 'http://localhost:7091/api/teams/string/usage'What the team takes outside: its items shared with other teams, and its agents with outside access GET
Every member reads it (404 to anyone else): `outside_policy`, `can_set_outside_policy`, `shares` (see :func:`outside_share_rows`; `can_revoke` per the reader) and `published` (`{agent_id, name, outside_access}`, the agent page's block, read-only here). [Personal access token](/API/personal-access-tokens) scope: `teams:read`.
Team detail with members and the caller's role GET
Requires membership. [Personal access token](/API/personal-access-tokens) scope: `teams:read`.