What the team takes outside: its items shared with other teams, and its agents with outside access
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 scope: teams:read.
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/outside'List members GET
Requires membership. Optional query args: `q` (case-insensitive substring over email and user id), `page` (1-based) and `page_size` (1..100; paginates only when given). `total` is the row count after the `q` filter. For the team's Owner and Admins each row also has `pays_for` (`{schedules, outside_access}`): the running schedules the member set on the team's agents and the team agents whose outside access they pay for, which pause when they leave or lose the role; and `custom_models`: how many of the team's custom models they added, whose keys stay in use after they leave. [Personal access token](/API/personal-access-tokens) scope: `teams:read`.
What the team workspace spent this period (``?period=previous`` for the one before) GET
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](/API/personal-access-tokens); call it from a signed-in session.